-
import torch
import torchvision
from crnn import cnn
# An instance of your model.
model = cnn.CRNN(32, 1, 3343, 256)
model.load_state_dict(torch.load('pytorch-crnn.pth'))
model.eval()
# An exam…
-
-
Hi! When I was trying your demo program, I got this error:
loading pretrained model from ./data/crnn.pth
Traceback (most recent call last):
File "demo.py", line 27, in
preds = model(image…
-
Hello,
I've created a LMDB file with Caffe but i have some issues while reading it with six.BytesIO() so i can't get the names of my images. It tells me that my images are corrupted (but the name i…
-
```sh
Traceback (most recent call last):
File "/data/zj/crnn.pytorch-pytorch-0.4/train.py", line 175, in
cost = trainBatch(crnn, criterion, optimizer)
File "/data/zj/crnn.pytorch-pytorch-…
-
Traceback (most recent call last):
File "crnn_main.py", line 204, in
cost = trainBatch(crnn, criterion, optimizer)
File "crnn_main.py", line 183, in trainBatch
t, l = converter.encode…
-
Now I have read in my lmdb datesets ,but occurs errors at here:
Traceback (most recent call last):
File "/home/rice/PycharmProjects/crnn.pytorch-master/crnn_main.py", line 203, in
cost = tra…
-
作者你好,我正在做crnn中文识别,有一套自己的中文数据集,但是不太清楚要怎么训练,要把训练数据按照长度排序吗,还是随机训练就可以了,可以放一下中文训练的代码吗
-
运行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 @xiaofengShi
为什么crnn 显示了网络结构之后 ,一直卡住不动?请问你的用Python3能训练吗?