ph0316

Results 3 comments of ph0316

https://github.com/andreas128/SRFlow/issues/2#issuecomment-1080469157 Hello, I also encountered this problem. How can I solve it?

> @andreas128您好,我在optimize_parameters中添加了一个新的损失,我在 sr 和 gt 之间添加了 loss L2(将反向的值设置为 true),但是此函数返回的 nll 在大约 10k 个迭代时变为 nan,svd_cuda:SBDSDC 的更新过程没有汇合 (error:11)“错误出现。当我测试以iter 10k保存的模型时,大多数结果似乎都很好,但是在一两张图片上仍然有一些黑色块。 ![image](https://user-images.githubusercontent.com/91188768/160377791-e782eadb-1632-4651-ac85-cd3a986a8503.png) ![image](https://user-images.githubusercontent.com/91188768/160377958-b07bb867-6fc2-4622-92e8-5e315982536a.png) ![image](https://user-images.githubusercontent.com/91188768/160378040-c093a0bf-bc09-4f4a-b5a2-be5bd5e7baf2.png)我发现你关于optimize_parameters的代码: ![image](https://user-images.githubusercontent.com/91188768/160376459-d277c7bd-6d53-4f25-a1d1-dced85839cc7.png) .您的opt_get(self.opt,['train','weight_fl'])和weight_l1 = opt_get(self.opt,['train','weight_l1']))都没有在配置中定义,因此永远不会计算绿色的。因此,我担心是新增加的损失造成了这个结果吗?我该如何解决它。 > > 期待您的回复。 愿你安好!左 Hello, I...