Closed isyanan1024 closed 5 years ago
descide by your dataset and your augmentation and other train tricks.
this framework just put the east
and crnn
together.
fots
do not improve acc too much,but speedup the inference process.
feel free to try beyond ask.
@isyanan1024
Thank you. I will try and give my results for your reference.
welcome.
------------------ 原始邮件 ------------------ 发件人: "isyanan1024"notifications@github.com; 发送时间: 2019年8月28日(星期三) 中午11:34 收件人: "novioleo/FOTS"FOTS@noreply.github.com; 抄送: "北国枫叶。"744351893@qq.com; "Comment"comment@noreply.github.com; 主题: Re: [novioleo/FOTS] what about recognition of chinese? (#17)
Thank you. I will try and give my results for your reference.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
hello! I am coming again,when i do this "gpus": [].The model is ok.
Train Epoch: 1 [0/856 (0%)] Loss: 15.064854 Detection Loss: 0.023753 Recognition Loss:15.041101
Train Epoch: 1 [16/856 (2%)] Loss: 13.251626 Detection Loss: 0.023268 Recognition Loss:13.228358
Train Epoch: 1 [32/856 (4%)] Loss: 9.033509 Detection Loss: 0.023247 Recognition Loss:9.010262
But "gpus": [2] this,it does't work.I don't know how to put target data on gpu.
Traceback (most recent call last):
File "train.py", line 93, in
I have tried servel methods,but it doen't work.can you help me fix it!
@isyanan1024 convert targets
to cuda
tensor and parallelize targets
with data.parallel
method.
Why is there a negative value? Train Epoch: 1 [0/856 (0%)] Loss: 15.064854 Detection Loss: 0.023753 Recognition Loss:15.041101 Train Epoch: 1 [16/856 (2%)] Loss: 13.251626 Detection Loss: 0.023268 Recognition Loss:13.228358 Train Epoch: 1 [32/856 (4%)] Loss: 9.033509 Detection Loss: 0.023247 Recognition Loss:9.010262 Train Epoch: 1 [48/856 (6%)] Loss: 3.983241 Detection Loss: 0.024929 Recognition Loss:3.958312 Train Epoch: 1 [64/856 (7%)] Loss: -1.337442 Detection Loss: 0.035711 Recognition Loss:-1.373154 Train Epoch: 1 [80/856 (9%)] Loss: -2.451252 Detection Loss: 0.026129 Recognition Loss:-2.477382 Train Epoch: 1 [96/856 (11%)] Loss: -3.242201 Detection Loss: 0.052011 Recognition Loss:-3.294212
@nov
@isyanan1024 convert
targets
tocuda
tensor and parallelizetargets
withdata.parallel
method.
Thank you!Maybe you should change this in this repo,because most of us should be use cuda.
gt = (tensor([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], dtype=torch.int32), tensor([9, 8, 7, 6, 7, 5, 4, 4, 4, 5, 6, 4, 4, 5], dtype=torch.int32)) it's a tuple,how can i convert this to cuda tensor? like this? gt = torch.tensor(gt)
feel free to try instead ask for help first.
Yes,you are right. I am so shame to that. Thank you!
may i close this issue now? @isyanan1024
@novioleo yes . you can .
depend on your train dataset and tricks.
---原始邮件--- 发件人: "isyanan1024"<notifications@github.com> 发送时间: 2019年8月28日 10:12:31 收件人: "novioleo/FOTS"<FOTS@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [novioleo/FOTS] 你好,请问这个识别中文效果怎么样? (#17)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
as above.