-
运行crnn_main.py文件报错:
RuntimeError: cuda runtime error (38) : no CUDA-capable device is detected at /opt/conda/conda-bld/pytorch_1524586445097/work/aten/src/THC/THCGeneral.cpp:70
请大神解答。谢谢。
-
Hi @meijieru
I try to train with my custom train dataset with command:
`python train.py --trainroot data/train_lmdb --valroot data/val_lmdb`
LMDB file created by using `tool/create_dataset.py`…
-
I am running `demo.py` on a sample image like below:
and getting result that has an extra `s` in the end:
```
➜ crnn.pytorch git:(master) ✗ python demo.py data/demo8.png
loading pretraine…
-
ref https://github.com/lyuwenyu/RT-DETR @renboqi
-
请教一下,pytorch ocr crnn的resnet34 pth文件怎么转onnx?
-
您好,我这边也出现了loss变nan的问题,我网上搜了一下,发现有一种解决方法方法是添加hook函数(连接如下:https://discuss.pytorch.org/t/ctcloss-performance-of-pytorch-1-0-0/27524),我按照上述方法,定义backward_hook,并在倒数第二行添加crnn.register_backward_hook(backward_…
-
Corrupted image for 1
Traceback (most recent call last):
File "/home/wdj/mycode3/Lets_OCR/recognizer/crnn/lib/dataset.py", line 132, in __getitem__
img = Image.open(buf).convert('L')
File …
-
I have the model_crnn.t7 file. How to solve the problem?Thanks
![image](https://user-images.githubusercontent.com/19400072/55073368-89609400-50c8-11e9-9069-41ae581e8fe6.png)
-
对app.py进行了修改,用于视频中的文字检测与识别。对于一些视频,运行一段时间后,出现如下错误:
File "main_chineseocr.py", line 31, in TEXT
POST(img)
File "main_chineseocr.py", line 49, in POST
leftAdjust=True,rightAdjust=True,alp…
-
由于作者的代码train和validation是在一起的,我把validation的部分提出来单独用作者训练好的模型对360万数据集的36万多张图片做validation,但是效果并不好,val accuracy只有78.4%
![image](https://user-images.githubusercontent.com/48081275/63398740-1520e700-c401-11…