Skip to content

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

Description

@Bradly-s

[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'

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions