KeyError: 'biwi_eth.txt:Zone'
I encountered this problem when I reproduced your code:
Traceback (most recent call last): File "trainval.py", line 29, in
trainer = ModelTrainer(base_model=PredictorModel, model=SingularTrajectory, hook_func=hook_func, File "/home/github_repo/SingularTrajectory/utils/trainer.py", line 256, in init super().init(args, hyper_params) File "/home/github_repo/SingularTrajectory/utils/trainer.py", line 192, in init self.loader_train = get_dataloader(self.dataset_dir, 'train', obs_len, pred_len, batch_size=batch_size, skip=skip) File "/home/github_repo/SingularTrajectory/utils/dataloader.py", line 32, in get_dataloader dataset_phase = TrajectoryDataset(data_set, obs_len=obs_len, pred_len=pred_len, skip=skip) File "/home/github_repo/SingularTrajectory/utils/dataloader.py", line 210, in init self.vector_field[scene_name] = np.load(os.path.join(parent_dir, "vectorfield", scene_img_map[scene_name] + "_vector_field.npy")) KeyError: 'biwi_eth.txt:Zone' And similarly KeyError: 'biwi_hotel.txt:Zone'
Hi @iMissZzz,
Thanks for your interest in my work! It looks like you're referring to the Zone.Identifier. The Windows system automatically generates this alternate data stream file if you download files from the internet. You can safely remove it using the following command:
find . -name "*:Zone.Identifier" -type f -delete
Hope this helps you!
So much thanks! the problem sloved!
I'm closing this issue for now. Feel free to open another issue if you have any further questions!