You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> python main.py --data_test MyImage --noise_g 1 --model RIDNET --n_feats 64 --pre_train ../experiment/ridnet.pt --test_only --save_results --save RIDNET_RNI15 --testpath ../LR/LRBI/ --testset RNI15
Making model...
Loading model from ../experiment/ridnet.pt
Evaluation:
0it [00:00, ?it/s]
Traceback (most recent call last):
File "main.py", line 20, in <module>
while not t.terminate():
File "D:\scripts\python\RIDNet\TestCode\code\trainer.py", line 139, in terminate
self.test()
File "D:\scripts\python\RIDNet\TestCode\code\trainer.py", line 110, in test
self.ckp.log[-1, idx_scale] = eval_acc / len(self.loader_test)
ZeroDivisionError: division by zero
There is something went wrong with current code in branch master.
Is there anyone who can help me solve this problem.
Thank you very much.
trainer.py:110
The text was updated successfully, but these errors were encountered: