-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
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
怎么保存输出的图片 #28
Comments
目前在我的环境下可以正常保存,由于环境配置可能不完全一样,问题不太好定位。 可以尝试换个路径保存,或者尝试插入断点查看是否保存有问题,保存图片所用的function在:https://github.com/huawei-noah/Pretrained-IPT/blob/0700327c7bac18e13e322bb35e687d440e60a23a/utility.py#L151。 |
想问一下读不到数据路径怎么办 |
作者把cache 放在root目录里的😂😂 |
我使用放大两倍的功能 命令:
python main.py --dir_data cache/data --pretrain pretrained_model/IPT_sr2.pt --data_test Set5 --scale 2 --save cache/results/ipt --save_results --save_gt --test_only
结果[Set5 x2] PSNR: 38.391 (Best: 38.391 @epoch 1)
Forward: 116.60s
Saving...
Total: 117.04s
只有一个PSNR 在cache/results/ipt路径下什么也没有
The text was updated successfully, but these errors were encountered: