MIVRC / MSRN-PyTorch

This repository is a PyTorch version of the paper "Multi-scale Residual Network for Image Super-Resolution" (ECCV 2018).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Something wrong about self.loader_test

Sunny-Yu opened this issue · comments

Hello, firstly, thank you for your test code.
But I get some errors about self.loader_test when I run the demo code.
At 'MSRN/Test/code/trainer.py' line 111, self.ckp.log[-1, idx_scale] = eval_acc / len(self.loader_test), I get the error which reports that the len(self.loader_test) is zero. I check the self.loader_test which is dataloader.MSDataLoader object, and its length should be zero in python3.6. Maybe the version of something is still different, or the path to somewhere has not been modified. I hope that you can make some suggestions. Thanks.

The root of the problem is the version of scipy. The version of scipy should be < 1.2.0, otherwise some functions can not be used.