We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing RealCE... 0image [00:00, ?image/s] Traceback (most recent call last): File "/root/autodl-tmp/Real-CE/basicsr/test.py", line 46, in test_pipeline(root_path) File "/root/autodl-tmp/Real-CE/basicsr/test.py", line 40, in test_pipeline model.validation(test_loader, current_iter=opt['name'], tb_logger=None, save_img=opt['val']['save_img']) File "/root/autodl-tmp/Real-CE/basicsr/models/base_model.py", line 48, in validation self.nondist_validation(dataloader, current_iter, tb_logger, save_img) File "/root/autodl-tmp/Real-CE/basicsr/models/sr_model.py", line 691, in nondist_validation self.metric_results[metric] /= (idx + 1) UnboundLocalError: local variable 'idx' referenced before assignment
The text was updated successfully, but these errors were encountered:
请问你使用那个预训练模型跑的呀,作者好像没有公开net_g_100000.pth
Sorry, something went wrong.
No branches or pull requests
Testing RealCE...
0image [00:00, ?image/s]
Traceback (most recent call last):
File "/root/autodl-tmp/Real-CE/basicsr/test.py", line 46, in
test_pipeline(root_path)
File "/root/autodl-tmp/Real-CE/basicsr/test.py", line 40, in test_pipeline
model.validation(test_loader, current_iter=opt['name'], tb_logger=None, save_img=opt['val']['save_img'])
File "/root/autodl-tmp/Real-CE/basicsr/models/base_model.py", line 48, in validation
self.nondist_validation(dataloader, current_iter, tb_logger, save_img)
File "/root/autodl-tmp/Real-CE/basicsr/models/sr_model.py", line 691, in nondist_validation
self.metric_results[metric] /= (idx + 1)
UnboundLocalError: local variable 'idx' referenced before assignment
The text was updated successfully, but these errors were encountered: