Open xiatutu opened 3 years ago
if load_path: state_dict = OrderedDict() for k, v in torch.load(load_path).items(): k = k.replace('moduleBasic', 'basic_module') state_dict[k] = v self.load_state_dict(state_dict)
- You should install the old version of BasicSR and add the vid_test_dataset.py file.
- Modify the implementation of model loading in spynet
if load_path: state_dict = OrderedDict() for k, v in torch.load(load_path).items(): k = k.replace('moduleBasic', 'basic_module') state_dict[k] = v self.load_state_dict(state_dict)
the old version is no longer available, how to solve that problem
whats the version of basicsr?
I have installed the BasicSR by :
but there are some problems: 1.the function : create_dataloader, create_dataset and so on are not in the BasicSR framework, then I found that these functions have been modified to build_dataloader,build_dataset in the BasicSR framework,so I modified the code/basicsr/test.py
from basicsr.data import create_dataloader, create_dataset
tofrom basicsr.data import build_dataloader, build_dataset
.But then there came a second problem:
How to solve these Thank you for your help