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
Traceback (most recent call last):
File "/home/sunxiaowei/djq/HardNet_M/ftrain.py", line 128, in
main(train_loader=get_train_dataset(args, data_name).init(args.model_dir, save_name, args=args),
File "/home/sunxiaowei/djq/HardNet_M/datasets.py", line 333, in init
self.prepare_epoch(gen_tuples=False)
File "/home/sunxiaowei/djq/HardNet_M/datasets.py", line 288, in prepare_epoch
Npositives=self.Npositives,
File "", line 44, in init
File "/home/sunxiaowei/djq/HardNet_M/Utils/AMOS_dataset.py", line 73, in post_init
self.prepare_dataset(self.Npatch_sets, overwrite=self.overwrite)
File "/home/sunxiaowei/djq/HardNet_M/Utils/AMOS_dataset.py", line 644, in prepare_dataset
new_tracks, new_lafs, new_patches_mask = self.generate_LAFs_and_patches_from_dir(img_dir, Nnew_tracks)
File "/home/sunxiaowei/djq/HardNet_M/Utils/AMOS_dataset.py", line 478, in generate_LAFs_and_patches_from_dir
mask = Image.open(pjoin(self.masks_dir, dir_name.split('_')[0]) + '.png')
File "/home/sunxiaowei/miniconda3/envs/pytorch/lib/python3.7/site-packages/PIL/Image.py", line 2809, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'Datasets/AMOS-views/AMOS-masks/00000118.png'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/sunxiaowei/djq/HardNet_M/ftrain.py", line 128, in
main(train_loader=get_train_dataset(args, data_name).init(args.model_dir, save_name, args=args),
File "/home/sunxiaowei/djq/HardNet_M/datasets.py", line 333, in init
self.prepare_epoch(gen_tuples=False)
File "/home/sunxiaowei/djq/HardNet_M/datasets.py", line 288, in prepare_epoch
Npositives=self.Npositives,
File "", line 44, in init
File "/home/sunxiaowei/djq/HardNet_M/Utils/AMOS_dataset.py", line 73, in post_init
self.prepare_dataset(self.Npatch_sets, overwrite=self.overwrite)
File "/home/sunxiaowei/djq/HardNet_M/Utils/AMOS_dataset.py", line 644, in prepare_dataset
new_tracks, new_lafs, new_patches_mask = self.generate_LAFs_and_patches_from_dir(img_dir, Nnew_tracks)
File "/home/sunxiaowei/djq/HardNet_M/Utils/AMOS_dataset.py", line 478, in generate_LAFs_and_patches_from_dir
mask = Image.open(pjoin(self.masks_dir, dir_name.split('_')[0]) + '.png')
File "/home/sunxiaowei/miniconda3/envs/pytorch/lib/python3.7/site-packages/PIL/Image.py", line 2809, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'Datasets/AMOS-views/AMOS-masks/00000118.png'
The text was updated successfully, but these errors were encountered: