CCPD
CCPD copied to clipboard
train error
Traceback (most recent call last):
File "rpnet.py", line 405, in
我也遇到了同样的问题,想问一下应该怎么解决
不知道,如果你解决了还望告知
我也遇到了同样的问题
我也遇到了同样的问题,想问一下应该怎么解决
都减一试一下 就是roi兴趣区域
I attended the ECCV conference several days ago, so I missed emails from you. I feel so sorry for that. There are problems training the model and I have verified that. The core problem lies on the dataloader. I will work on it today. All items on github page including dataset url will be updated these two days. In addition, a well trained rpnet model will also be available for test convenience.
Thank you for your concern.
Thank you very much for your open source and look forward to your update.
@zhuliqian Errors have been repaired. Please tell me the progress if you train the model successfully.
@xieqk Errors have been repaired. Please tell me the progress if you train the model successfully.
@shz1314 Errors have been repaired. Please tell me the progress if you train the model successfully.
I clone this repo, dowload .pth file and run flowing command but get error python3 demo.py -i ./demo -m ../fh02.pth
Traceback (most recent call last):
File "demo.py", line 275, in
Can you give me any suggestion?
@detectRecog
I meet the same problem as linhqhta's.How can I do?@detectRecog
I clone this repo, dowload .pth file and run flowing command but get error python3 demo.py -i ./demo -m ../fh02.pth
Traceback (most recent call last): File "demo.py", line 275, in fps_pred, y_pred = model_conv(x) File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 489, in call result = self.forward(*input, **kwargs) File "/usr/local/lib/python3.5/dist-packages/torch/nn/parallel/data_parallel.py", line 141, in forward return self.module(*inputs[0], **kwargs[0]) File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 489, in call result = self.forward(*input, **kwargs) File "demo.py", line 229, in forward roi1 = roi_pooling_ims(_x1, boxNew.mm(p1), size=(16, 8)) File "/home/linh/AI/anpr_ocr/trynew/CCPD/rpnet/roi_pooling.py", line 73, in roi_pooling_ims output.append(adaptive_max_pool(im, size)) File "/home/linh/AI/anpr_ocr/trynew/CCPD/rpnet/roi_pooling.py", line 35, in adaptive_max_pool return AdaptiveMaxPool2d(size[0], size[1])(input) File "/home/linh/AI/anpr_ocr/trynew/CCPD/rpnet/roi_pooling.py", line 18, in forward self._backend = type2backend[type(input)] File "/usr/local/lib/python3.5/dist-packages/torch/_thnn/init.py", line 15, in getitem return self.backends[name].load() KeyError: <class 'torch.Tensor'>
Can you give me any suggestion?
There is a problem with the Torch version, try replacing the File "/home/linh/AI/anpr_ocr/trynew/CCPD/rpnet/roi_pooling.py", line 18,
with
"self._backend = type2backend[input.type()]"