Giter Site home page Giter Site logo

Comments (9)

KelvinHuang666 avatar KelvinHuang666 commented on June 17, 2024

I met the simple question...

Traceback (most recent call last):
File "demo.py", line 136, in
demo()
File "demo.py", line 82, in demo
from models.yolov3_baseline import YOLOv3
File "/asff/models/yolov3_baseline.py", line 5, in
from .network_blocks import *
File "/asff/models/network_blocks.py", line 5, in
from utils.DCN.modules.deform_conv2d import DeformConv2d
File "/asff/utils/DCN/modules/init.py", line 1, in
from .deform_conv2d import DeformConv2d, _DeformConv2d, DeformConv2dPack, DeformConv2dPackMore
File "/asff/utils/DCN/modules/deform_conv2d.py", line 12, in
from ..functions.deform_conv2d_func import DeformConv2dFunction
File "/asff/utils/DCN/functions/init.py", line 1, in
from .deform_conv2d_func import DeformConv2dFunction
File "/asff/utils/DCN/functions/deform_conv2d_func.py", line 13, in
import DCN
ImportError: /usr/local/lib/python3.6/dist-packages/DCN-1.0-py3.6-linux-x86_64.egg/DCN.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E
root@0ad4f68fc474:/asff#

from deformable-convolution-v2-pytorch.

WangZhaoxue000 avatar WangZhaoxue000 commented on June 17, 2024

the same problem...

from deformable-convolution-v2-pytorch.

KelvinHuang666 avatar KelvinHuang666 commented on June 17, 2024

change your torch version

from deformable-convolution-v2-pytorch.

WangZhaoxue000 avatar WangZhaoxue000 commented on June 17, 2024

torch.version ='1.3.1', torchvision.version='0.4.2'
still got the error

from deformable-convolution-v2-pytorch.

myselvess avatar myselvess commented on June 17, 2024

torch.version ='1.3.1', torchvision.version='0.4.2'
still got the error

same version, have you solve this problem?

from deformable-convolution-v2-pytorch.

XYZ-qiyh avatar XYZ-qiyh commented on June 17, 2024

change your torch version

Hello, which version of PyTorch do you use?
I met the same problem。 I' using Pytorch 1.0.1 and CUDA 10.0

from deformable-convolution-v2-pytorch.

WeixiongLin avatar WeixiongLin commented on June 17, 2024

Same here, I use torch 1.0.1. I tried CUDA 10.0 and 9.2, they don't work.

from deformable-convolution-v2-pytorch.

ted-chl avatar ted-chl commented on June 17, 2024

I also met error with using torch 1.0.0, CUDA 10.2 (also in torch 1.10.0)

from deformable-convolution-v2-pytorch.

yukistavailable avatar yukistavailable commented on June 17, 2024

I succeeded in installing DCN and importing it by the solution below. But I don't know if it works fine for other people.

  1. clone this repository
  2. install anaconda and create a conda environment: conda create -n my-env python=3.7
  3. install some packages: conda install pytorch=1.3.1 torchvision cudatoolkit=10.0 pillow=6.1
  4. sh make.sh

from deformable-convolution-v2-pytorch.

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.