sceneReco icon indicating copy to clipboard operation
sceneReco copied to clipboard

run the demo.py ,show the wrong ..

Open 10183308 opened this issue 8 years ago • 9 comments

PC:/media/media_share/linkfile/sceneReco$ python demo.py Traceback (most recent call last): File "demo.py", line 3, in from crnnport import * File "/media/media_share/linkfile/sceneReco/crnnport.py", line 6, in import torch File "/usr/local/lib/python2.7/dist-packages/torch/init.py", line 53, in from torch._C import * ImportError: dlopen: cannot load any more object with static TLS

could you how to do that?

10183308 avatar Jul 17 '17 01:07 10183308

change the import oder of from ctpnport import * from crnnport import *

you shuold import like: from crnnport import * from ctpnport import *

lxj0276 avatar Jul 17 '17 01:07 lxj0276

@lxj0276
thank you . I do that follow your tips.

it show anthoer error.

hc@hc-PC:/media/media_share/linkfile/sceneReco$ python demo.py Traceback (most recent call last): File "demo.py", line 2, in from crnnport import * File "/media/media_share/linkfile/sceneReco/crnnport.py", line 19, in import mahotas ImportError: No module named mahotas

could you tell me how to do that ?

thank you very much?

10183308 avatar Jul 17 '17 02:07 10183308

I have resolved it ,thank you.

10183308 avatar Jul 17 '17 02:07 10183308

@10183308 pleasure

lxj0276 avatar Jul 17 '17 02:07 lxj0276

@lxj0276 I met the some similar problem when running the demo.py in https://github.com/longcw/faster_rcnn_pytorch, the problem is also from torch._C import * ImportError: dlopen: cannot load any more object with static TLS, why to solve it? why this error happen?

pranerd avatar Sep 20 '17 13:09 pranerd

@pranerd change the import oder of from ctpnport import * from crnnport import *

you shuold import like: from crnnport import * from ctpnport import *

lxj0276 avatar Sep 20 '17 16:09 lxj0276

i also met a similar error: Traceback (most recent call last): File "demo.py", line 3, in from crnnport import * File "/home/benson/projects/sceneReco/crnnport.py", line 6, in import torch ImportError: No module named torch

any advice? many thanks.

szbach avatar Nov 17 '17 02:11 szbach

xiaomingli15:sceneReco yyh$ python demo.py objc[2455]: Class CaptureDelegate is implemented in both /Library/Python/2.7/site-packages/cv2/cv2.so (0x10ff5ddc0) and /usr/local/opt/opencv/lib/libopencv_videoio.3.3.dylib (0x11235a618). One of the two will be used. Which one is undefined. Traceback (most recent call last): File "demo.py", line 3, in from crnnport import * File "/Users/yyh/Documents/study/sceneReco/crnnport.py", line 6, in import torch ImportError: No module named torch

the same error . help me

yunyinghan avatar Nov 17 '17 07:11 yunyinghan

when I run python demo.py

`hy@hy-desktop:/devdata/AI/OCR/sceneReco$ python demo.py

Traceback (most recent call last): File "demo.py", line 2, in from ctpnport import * File "/devdata/AI/OCR/sceneReco/ctpnport.py", line 28, in from other import draw_boxes, resize_im, CaffeModel File "./CTPN/src/other.py", line 8, in import caffe File "/devdata/AI/OCR/caffe/python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer File "/devdata/AI/OCR/caffe/python/caffe/pycaffe.py", line 13, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver,
ImportError: No module named _caffe `

KyrieHee avatar Mar 22 '18 10:03 KyrieHee