Open kazunosuke1108 opened 1 year ago
The error message is saying that your code did not load the flow images properly because it couldn't find them.
[ WARN:0@1.801] global loadsave.cpp:244 findDecoder imread_('dataset/images_flow/P05-R01-PastaSalad-160540-162131-F003848-F003896/u/0048.jpg'): can't open/read file: check file path/integrity
-> It says your code cannot find u/0048.jpg.
TypeError: 'NoneType' object is not subscriptable
-> It says fimgu
or fimg
is None because the code fails to load the files.
Are you sure you put the flow images into the correct directories (dataset/images_flow/clip_name/{u or v}
)?
Thank you for your advice.
Yes I checked that there're opticalflow images. However, there aren't enough images. For example, as for P05-R01-PastaSalad-160540-162131-F003848-F003896/u
, 0047.jpg is existing, but 0048.jpg is not although I just used denseflow. If there're someone who created opticalflow by hand and everything goes fine, I'd like to know how they do this.
Hello, I'm trying to reproduce your research results.
When I download EGTEA Gaze+ dataset, I found that it doesn't contain rgb images & flow images. So I created them by using denseflow, which is reccommended to use in another discussion.
After creating images in dataset/images_flow or images_rgb, I ran the code below as instructed.
python3 main.py --mode test
However, the error occured and failed to reproduce your result.
Please give me some advice to resolve this issue. Thanks,