m-tassano / fastdvdnet

FastDVDnet: A Very Fast Deep Video Denoising algorithm
MIT License
586 stars 125 forks source link

AssertionError #60

Closed Dorale closed 1 year ago

Dorale commented 1 year ago

Hello,

I am trying to denoise a sequence of 277 png frames and am obtaining the following AssertionError:

Traceback (most recent call last): File "test_fastdvdnet.py", line 166, in <module> test_fastdvdnet(**vars(argspar)) File "test_fastdvdnet.py", line 128, in test_fastdvdnet int(args['noise_sigma']*255), args['suffix'], args['save_noisy']) File "test_fastdvdnet.py", line 43, in save_out_seq outimg = variable_to_cv2_image(seqclean[idx].unsqueeze(dim=0)) File "/home/scro4298/Documents/projects/video_denoising/tests/fastdvdnet/fastdvdnet/utils.py", line 216, in variable_to_cv2_image assert torch.max(invar) <= 1.0 AssertionError I used the following command to run the test_fastdvdnet.py script:

python test_fastdvdnet.py --test_path path_to_frames --save_path path_to_results --max_num_fr_per_seq 277

Do you have any idea of what could cause such an error?

Thanks!