Git Product home page Git Product logo

Comments (4)

AIFANLIN avatar AIFANLIN commented on May 19, 2024

[root@localhost AdelaiDet-master]# python demo/demo.py \

--config-file configs/FCOS-Detection/R_50_1x.yaml
--input input1.jpg input2.jpg
--opts MODEL.WEIGHTS fcos_R_50_1x.pth
Traceback (most recent call last):
File "demo/demo.py", line 10, in
from detectron2.data.detection_utils import read_image
File "/usr/local/anaconda3/envs/gpu/lib/python3.6/site-packages/detectron2/data/init.py", line 4, in
from .build import (
File "/usr/local/anaconda3/envs/gpu/lib/python3.6/site-packages/detectron2/data/build.py", line 14, in
from detectron2.structures import BoxMode
File "/usr/local/anaconda3/envs/gpu/lib/python3.6/site-packages/detectron2/structures/init.py", line 2, in
from .boxes import Boxes, BoxMode, pairwise_iou
File "/usr/local/anaconda3/envs/gpu/lib/python3.6/site-packages/detectron2/structures/boxes.py", line 8, in
from detectron2.layers import cat
File "/usr/local/anaconda3/envs/gpu/lib/python3.6/site-packages/detectron2/layers/init.py", line 3, in
from .deform_conv import DeformConv, ModulatedDeformConv
File "/usr/local/anaconda3/envs/gpu/lib/python3.6/site-packages/detectron2/layers/deform_conv.py", line 10, in
from detectron2 import _C
ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory

from adelaidet.

stan-haochen avatar stan-haochen commented on May 19, 2024

There's something wrong with your Detectron2 compilation.

facebookresearch/detectron2#724

from adelaidet.

maowayne123 avatar maowayne123 commented on May 19, 2024

download the source code of detectron2, and rebuild it

from adelaidet.

eeric avatar eeric commented on May 19, 2024

@AIFANLIN
Before installation,rm -rf build to clean the old build.
script as following:
python3 -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
from
https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md

from adelaidet.

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.