Code Monkey home page Code Monkey logo

Comments (9)

lxj0276 avatar lxj0276 commented on August 16, 2024

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

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

from scenereco.

10183308 avatar 10183308 commented on August 16, 2024

@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?

from scenereco.

10183308 avatar 10183308 commented on August 16, 2024

I have resolved it ,thank you.

from scenereco.

lxj0276 avatar lxj0276 commented on August 16, 2024

@10183308 pleasure

from scenereco.

pranerd avatar pranerd commented on August 16, 2024

@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?

from scenereco.

lxj0276 avatar lxj0276 commented on August 16, 2024

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

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

from scenereco.

szbach avatar szbach commented on August 16, 2024

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.

from scenereco.

yunyinghan avatar yunyinghan commented on August 16, 2024

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

from scenereco.

KyrieHee avatar KyrieHee commented on August 16, 2024

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
`

from scenereco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.