alex04072000 / FuSta

Hybrid Neural Fusion for Full-frame Video Stabilization
https://alex04072000.github.io/FuSta/
550 stars 80 forks source link

"IndexError: list index out of range" when running 'FuSta.py' #27

Open zh-jp opened 11 months ago

zh-jp commented 11 months ago

When input this commend, the error happened.

python run_FuSta.py --load FuSta_model/checkpoint/model_epoch050.pth --input_frames_path Video_Stabilization_data --warping_field_path CVPR2020CODE_yulunliu_modified/CVPR2020_warping_field/ --output_path output/ --temporal_width 41 --temporal_step 4

Error:

Traceback (most recent call last):
  File "D:\workspace\FuSta\run_FuSta.py", line 195, in <module>
    tmp_img = cv2.imread(all_imgs[0])
                         ~~~~~~~~^^^
IndexError: list index out of range

Environment:

Windows 11
cupy==8.3.0
matplotlib==3.8.2
maxflow==0.0.1
numpy==1.19.2
Pillow==10.1.0
scipy==1.5.2
setuptools==49.6.0.post20210108
sync_batchnorm==0.0.1
torch==1.6.0
torchvision==0.7.0
4564sda commented 1 month ago

I also have the same problem,Do you have a method to solve it?But when I run the procedure main.py in CVPR2020CODE_yulunliu_modified.Are you have the same problem?