tsn-pytorch
tsn-pytorch copied to clipboard
some strange problem with file not found error
File "/home/pytorchVersion/tsn-pytorch/dataset.py", line 108, in get seg_imgs = self._load_image(record.path, p) File "/home/pytorchVersion/tsn-pytorch/dataset.py", line 50, in _load_image return [Image.open(os.path.join(directory, self.image_tmpl.format(idx))).convert('RGB')] File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/PIL/Image.py", line 2477, in open fp = builtins.open(filename, "rb") FileNotFoundError: [Errno 2] No such file or directory: '/data1/Optical-Flows/v_PlayingFlute_g23_c03.mp4/img_00001.jpg' a few images loaded and then this question arise can you help me ?
i met the same issue as you ,have you solved it .ths
It is probably the number of flow frames is minus one of the rgb frames. You can check the split files and actual number of frames in the directories.