Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [Errno 2] No such file or directory #707

Open
Bradly-s opened this issue Nov 10, 2024 · 0 comments
Open

FileNotFoundError: [Errno 2] No such file or directory #707

Bradly-s opened this issue Nov 10, 2024 · 0 comments
Assignees

Comments

@Bradly-s
Copy link

[11/10 20:22:10] fail to perform transform [<paddlevideo.loader.pipelines.sample.Sampler object at 0x7fb1a08d9510>] with error: [Errno 2] No such file or directory: '/mnt/sdb1/swf/data/4publicnew/hmdb51/frames/catch/Florian_Fromlowitz_beim_Training_der_U_21_Nationalmannschaft_catch_f_cm_np1_ri_med_2/img_00034.jpg' and stack:
Traceback (most recent call last):
File "/mnt/sdb1/swf/project/PaddleVideoNew/PaddleVideo/paddlevideo/loader/pipelines/compose.py", line 69, in call
data = p(data)
File "/mnt/sdb1/swf/project/PaddleVideoNew/PaddleVideo/paddlevideo/loader/pipelines/sample.py", line 268, in call
return self._get(frames_idx, results)
File "/mnt/sdb1/swf/project/PaddleVideoNew/PaddleVideo/paddlevideo/loader/pipelines/sample.py", line 78, in _get
results['suffix'].format(idx))).convert('RGB')
File "/home/pl/anaconda3/envs/swfpd/lib/python3.7/site-packages/PIL/Image.py", line 3236, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/sdb1/swf/data/4publicnew/hmdb51/frames/catch/Florian_Fromlowitz_beim_Training_der_U_21_Nationalmannschaft_catch_f_cm_np1_ri_med_2/img_00034.jpg'

确实没有这一张图片,每个文件夹下最后一张图片都报错找不到,在哪里将最后这一张图片的加载删去?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants