Open gbliao opened 1 year ago
if phase == "train": with open('./list_keyframes_train.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_train.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close() if phase == "val": with open('./list_keyframes_val.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_val.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close() if phase == "test": with open('./list_keyframes_test.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_test.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close() if phase == "parametrizing": with open('./list_keyframes_parametrizing.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_parametrizing.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close() elif phase == "verifying": with open('./list_keyframes_verifying.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_verifying.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close()
Can you help me obtain the list_keyframes_train.json file? Thanks!
Please refer to the code "CLIP2Scene/pretrain/dataloader_nuscenes.py" in loading the nuScenes dataset. We will update the code soon. Thanks!
However, we finetuned the pretrained SPVCNN with 1% of the labeled data and only obtained 27.1 mIoU, which differs significantly from the results reported in the original paper.
Could your help me solve this problem?
if phase == "train": with open('./list_keyframes_train.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_train.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close() if phase == "val": with open('./list_keyframes_val.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_val.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close() if phase == "test": with open('./list_keyframes_test.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_test.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close() if phase == "parametrizing": with open('./list_keyframes_parametrizing.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_parametrizing.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close() elif phase == "verifying": with open('./list_keyframes_verifying.json', 'r') as f: self.list_keyframes = json.load(f) f1 = open('./save_dict_verifying.json', 'r') content = f1.read() self.frames_corrs_info = json.loads(content) f1.close()
Can you help me obtain the list_keyframes_train.json file? Thanks!
Hi! @runnanchen @gbliao
I am also facing this same problem.
Could you please tell me how to get list_keyframes_train.json and save_dict_train.json? Thanks!
Same question, has anyone got it?
I solved this by replacing the file linked below:
https://github.com/valeoai/SLidR/blob/main/downstream/dataloader_nuscenes.py
Can you help me obtain the list_keyframes_train.json file? Thanks!