-
Prerequisite
🐞 Describe the bugWhen 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! EnvironmentThe bug is not related to the environment because the inference is running well. Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We set filename template to load datasets, like BasicVSR_PlusPlus/mmedit/datasets/pipelines/augmentations.py, line 1074. I think you can set this parameter to meet your need, like |
Beta Was this translation helpful? Give feedback.
We set filename template to load datasets, like BasicVSR_PlusPlus/mmedit/datasets/pipelines/augmentations.py, line 1074. I think you can set this parameter to meet your need, like
filename_tmpl='{:08d}.jpg'