jiangxiluning / FOTS.PyTorch

FOTS Pytorch Implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loss: Nan

MiTeng0215 opened this issue · comments

用的是SynthText数据集,训练时出现:

RankWarning: Polyfit may be poorly conditioned 
edge = fit_line([p0[0], p1[0]], [p0[1], p1[1]])

上面的警告不影响训练,训练一段时间后loss出现Nan值。我并没有执行build.sh这个程序,因为学校集群环境中没有NVCC。看其他问题中提到好像也不需要编译它。
希望问题能得到解决。

WX20200116-193151@2x

Loss:Nan

@MiTeng0215 i have the same problem!
Could you solve it? and how if yes?

@MiTeng0215 i have the same problem!
Could you solve it? and how if yes?

No, I'm looking at the code details of this project. You can add my WeChat and let's discuss it together.

@MiTeng0215 i have the same problem!
Could you solve it? and how if yes?

No, I'm looking at the code details of this project. You can add my WeChat and let's discuss it together.

My WeChat is Mteng215.

Maybe CRNN's ctcloss function problem.
You can use pytorch==1.1.0 and warp-ctc or refer to this link.

@MiTeng0215 你好,请问你解决这个问题了吗

@MiTeng0215 i have the same problem!
Could you solve it? and how if yes?

No, I'm looking at the code details of this project. You can add my WeChat and let's discuss it together.

My WeChat is Mteng215.

问题太久了,大概是因为ctc引起的问题,google一下ctc引起loss nan的问题,应该很好找到答案.这个项目我没有继续做下去,最终效果我也没有呈现.所以,我准备关闭问题了,也不要加我微信了,谢谢.