ckkelvinchan / BasicVSR_PlusPlus

Official repository of "BasicVSR++: Improving Video Super-Resolution with Enhanced Propagation and Alignment"
Apache License 2.0
568 stars 63 forks source link

BasicVSR++ Denoise Train Error #19

Open mikolez opened 1 year ago

mikolez commented 1 year ago

When I try to run the training for denoising using the suggested script and configuration file, I get "ValueError: The input sequence is not long enough to support the current choice of [interval] or [num_input_frames]" at BasicVSR_PlusPlus/mmedit/datasets/pipelines/augmentations.py, line 1053. I investigated the code a bit and it seems that the problem is with the way data is loaded. It looks like there is a variable at some point of loading the data which is called sequence_length and it is always zero because it calculates number of png images. However, DAVIS dataset only consists of jpg images, so that's why the sequence_length is zero. I assume the data is preprocessed for denoising task in some way and saved in png format in the end. The data preprocessing step is unfortunately missing in this repo, so I am wondering could it be the reason for my error? Or there is no preprocessing when training for denoising? I am trying to run the training with the DAVIS dataset.

Curious if you have any clue why my error is occurring.

Thank you!

cailijing commented 1 year ago

@mikolez @ckkelvinchan Hello,I have met the same question. Are you solve the problem? Could you tell me how to solve it?

ckkelvinchan commented 1 year ago

Did you use filename_tmpl as shown here?

Estherisok666 commented 1 year ago

@mikolez @ckkelvinchan Hello,I have met the same question. Are you solve the problem? Could you tell me how to solve it?