Jigsaw-VAD
Jigsaw-VAD copied to clipboard
gen_patches.py
Hello, I processed the data set according to the steps you gave, but I came across the following problem. Could you please tell me the specific reason?
Load 194 videos 157179 frames, 82144 objects, in 0.14162135124206543 s.
0%| | 0/82144 [00:00<?, ?it/s]
Traceback (most recent call last):
File "D:/python/pycharm/Jigsaw-VAD-main/gen_patches.py", line 185, in
@35454652 You may check the correct dataset you downloaded. It seems that the dataset you used has different numbers of frames or objects. You could check https://github.com/gdwang08/Jigsaw-VAD/issues/2 for reference.
Hi @gdwang08 ,
Thank you for your excellent work. Currently, I try processed the data set according to the steps you gave. The code worked well, but when it ran to object 12695/79988 that failed. Could you please tell me the specific reason?
/content/drive/MyDrive/Anomrly_Detection/Jigsaw-VAD/Jigsaw-VAD
Load 21 videos 15324 frames, 79988 objects, in 0.2845275402069092 s.
16% 12695/79988 [06:10<32:43, 34.27it/s]
Traceback (most recent call last):
File "/content/drive/MyDrive/Anomrly_Detection/Jigsaw-VAD/Jigsaw-VAD/gen_patches.py", line 181, in
@harveyzoka It seems that you do not have '0000.jpg', you may doule check your dataset directory. In case of incomplete Avenue dataset, I have uploaded a copy of the dataset I used for your reference. Hope it helps!
Hi, @harveyzoka Have you solved this problem? I also encountered the same problem. About “ValueError: invalid literal for int() with base 10: '0000.jpg'”