Comments (7)
验证集的PSNR是正常的吗?
在多进程的情况下图像可能会互相覆盖,建议单独写一个保存图像的方法。或者保存模型后单独运行test文件进行测试。
这里是我在blind_model.py中添加的图像保存代码:
import torchvision.utils as tvutils
...
...
def optimize_parameters(self, step):
#optimization codes
...
balabala
...
# save tmp images
name = 'tmp_images'
os.makedirs(name, exist_ok=True)
if step % 100 == 0 and self.rank == 0:
tvutils.save_image(self.var_L.data, f'{name}/lr.png', normalize=True)
tvutils.save_image(sr.data, f'{name}/sr.png', normalize=True)
tvutils.save_image(self.real_H.data, f'{name}/hr.png', normalize=True)
from dcls-sr.
第2000,8000的psnr结果挺正常,4000,6000,基本上psnr都=7。。。。
from dcls-sr.
这结果好诡异啊。。。
from dcls-sr.
那应该是程序训练不稳定崩掉了,一般这种最好kill掉再从上一次PSNR正常的模型接着训练,或者可以修改learning rate等重新训。
这应该是程序本身有些问题,我们目前也还没有找到真正的原因,具体的可以参考这里和这里。
from dcls-sr.
您好,注意到warmup_iter=-1,您是不想更新学习率吗。综合我上面描述的情况,会不会因为学习率太大,跳出最优了呢
from dcls-sr.
学习率是通过lr_steps来递减的,每200k和400k次迭代时乘以0.5。使用小学习率训或许会稍微好一些。
from dcls-sr.
您好,按照setting1中设置训练50,0000。在每隔2000个迭代会进行一次验证,这些验证保存的结果让我满脸问号???以set5中的‘baby’为例,下面是每次验证保存的结果分别是lr,2000iter,4000iter,6000iter,8000iter,10000iter。10000iter后的图片和10000iter结果差不多,都是黑屏: 原始lr: 2000iter: 4000iter: 6000iter: 8000iter: 10000iter: 后面从第10000iter到20,0000的结果都是全黑图片。这是在第8000iter后过拟合了吗。第4000iter和6000iter结果也很离谱。求救,您认为为什么会这样
我也遇到类似的问题了,兄弟你是怎么解决的,我也是psnr崩掉,图片有时候黑色红色这样。。
from dcls-sr.
Related Issues (20)
- mismatch size of tensor HOT 1
- 关于feature的问题 HOT 4
- 关于Deep Constrained Least Squares理论问题 HOT 2
- 關於train時發生的錯誤問題 HOT 12
- 关于公式9的问题 HOT 6
- 训练效果越来越差 HOT 2
- 拉普拉斯算子p HOT 1
- 关于怎么给图片添加噪声的问题 HOT 2
- 为什么训练时的模糊核,X2 、X3、X4的方差设置为[0.2,2] [0.2,3] [0.2,4] HOT 2
- 去模糊特徵圖R的可視化圖 HOT 7
- 关于训练时psnr提高不多的问题 HOT 13
- 复现相关问题 HOT 2
- 训练时程序卡住不动,显存没有也没有占满,请问您了解是什么问题吗? HOT 2
- datasets HOT 4
- 请问这项工作没有提供训练好的模型吗? HOT 1
- deg_util中的高斯模糊和高斯噪声问题 HOT 1
- 关于数据集的一些问题 HOT 2
- 您好,以上的問題已解決,並且沒有出錯,但卻出現以下狀況 HOT 3
- 您好,想實現各項異性高斯核的相關問題 HOT 1
- 在运行codes/scripts/generate_mod_blur_LR_bic.py中报的错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcls-sr.