You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for sharing the code. Please tell me what the path refers to the Causal-VidQA (which I got ['data/visual_feature'], ['data/text_feature'], ['data/split'] and ['data/QA'] in https://github.com/bcmi/Causal-VidQA/tree/master)
class VideoQADataset(Dataset):
def init(self, split, n_query=5, obj_num=1, sample_list_path="/data/vqa/causal/anno",
video_feature_path="/region_feat_aln" ):
super(VideoQADataset, self).init()
# 读取dataset
self.sample_list_file = osp.join(sample_list_path, "{}.csv".format(split))
self.sample_list = load_file(self.sample_list_file)
self.split = split
self.mc = n_query
self.obj_num = obj_num
# 读取video feature
Hello, thank you for sharing the code. Please tell me what the path refers to the Causal-VidQA (which I got ['data/visual_feature'], ['data/text_feature'], ['data/split'] and ['data/QA'] in https://github.com/bcmi/Causal-VidQA/tree/master)
class VideoQADataset(Dataset):
def init(self, split, n_query=5, obj_num=1, sample_list_path="/data/vqa/causal/anno",
video_feature_path="/region_feat_aln" ):
super(VideoQADataset, self).init()
# 读取dataset
self.sample_list_file = osp.join(sample_list_path, "{}.csv".format(split))
self.sample_list = load_file(self.sample_list_file)
self.split = split
self.mc = n_query
self.obj_num = obj_num
# 读取video feature
The text was updated successfully, but these errors were encountered: