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
in the line 28 of T-T+X_instruction_dataset.py. The dataset would read the image_t2x.json, But there are no the key "mm_name". Do you forget to add the "mm_name" key ? Can you solve the problems, thank you very much!
with open(data_path, 'r', encoding='utf-8') as f:
res = json.load(f)
for instance in tqdm(res, total=len(res)):
self.instruction_list.append(instance['conversation'])
self.mm_path_list.append(instance['mm_name'])
self.dataset_type_list = [dataset_type for _ in range(len(self.instruction_list))]
The text was updated successfully, but these errors were encountered:
in the line 28 of T-T+X_instruction_dataset.py. The dataset would read the image_t2x.json, But there are no the key "mm_name". Do you forget to add the "mm_name" key ? Can you solve the problems, thank you very much!
with open(data_path, 'r', encoding='utf-8') as f:
res = json.load(f)
for instance in tqdm(res, total=len(res)):
self.instruction_list.append(instance['conversation'])
self.mm_path_list.append(instance['mm_name'])
self.dataset_type_list = [dataset_type for _ in range(len(self.instruction_list))]
The text was updated successfully, but these errors were encountered: