Open zhangclaire opened 5 years ago
If you use the REDS dataste, it will use the default REDS_trainval_keys.pkl
in the codes.
Did you use your own data?
You can also print the key for debugging.
In the import torch.utils.data.Dataset
class, we pass the index
to the def __getitem__(self, index):
function. And the dataset will return the corresponding data to the index. So that you can control your data loader.
Hello, thanks for your great work. The error occurred when I started training and run the file run_scripts.sh.
File "/home/sggyqq/EDVR-master/codes/data/REDS_dataset.py", line 110, in __getitem__ name_a, name_b = key.split('_') ValueError: not enough values to unpack (expected 2, got 1)
I can't find the cause of the error. I think I created the _REDS_trainvalkeys.pkl file right,do I need to modifiy the code below in REDS_dataset.py? By the way,what does the parameter index represent?
`
`
Wishing for your reply!