Comments (6)
This may help you.
from yolof.
This may help you.
my CUDA==11.1 and pytorch== 1.8.1+cu111
The problem is still not solved
from yolof.
You may provide more environmental details so that I can help.
from yolof.
You may provide more environmental details so that I can help.
sorry i check my environmental that cuda and pytorch not match.
when i reinstall cuda and torch,i found a new problem:
In file included from /home/hznu/.conda/envs/yolof/lib/python3.7/site-packages/torch/include/THC/THCGeneral.h:7:0,
from /home/hznu/.conda/envs/yolof/lib/python3.7/site-packages/torch/include/THC/THC.h:4,
from /home/hznu/mysoftware/pyproject/YOLOF/cvpods/layers/csrc/PSROIPool/psroi_pool_cuda.h:4,
from /home/hznu/mysoftware/pyproject/YOLOF/cvpods/layers/csrc/vision.cpp:14:
/home/hznu/.conda/envs/yolof/lib/python3.7/site-packages/torch/include/c10/cuda/CUDAStream.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
#include <cuda_runtime_api.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
python:3.7
cuda:11.1
pytorch: 1.8.1+cu111
torchvision:0.9.1+cu111
i just run 'python setup.py develop'
from yolof.
This may help you.
my CUDA==11.1 and pytorch== 1.8.1+cu111
The problem is still not solved
Hi, could you try pytorch<1.8?
from yolof.
You may provide more environmental details so that I can help.
sorry i check my environmental that cuda and pytorch not match. when i reinstall cuda and torch,i found a new problem:
In file included from /home/hznu/.conda/envs/yolof/lib/python3.7/site-packages/torch/include/THC/THCGeneral.h:7:0, from /home/hznu/.conda/envs/yolof/lib/python3.7/site-packages/torch/include/THC/THC.h:4, from /home/hznu/mysoftware/pyproject/YOLOF/cvpods/layers/csrc/PSROIPool/psroi_pool_cuda.h:4, from /home/hznu/mysoftware/pyproject/YOLOF/cvpods/layers/csrc/vision.cpp:14: /home/hznu/.conda/envs/yolof/lib/python3.7/site-packages/torch/include/c10/cuda/CUDAStream.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory #include <cuda_runtime_api.h> ^~~~~~~~~~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1
python:3.7 cuda:11.1 pytorch: 1.8.1+cu111 torchvision:0.9.1+cu111
i just run 'python setup.py develop'
Adding these paths to include_dirs in setup.py may solve your problem:
include_dirs = [os.path.realpath('../include'), '/usr/local/cuda/include/']
However, you may still encounter a new problem when using even if you can successfully setup.
Please use 'conda list | grep "cuda" ' to see if the version of conda's cudatoolkit is higer than that of cuda_driver_api(using 'nvidia-smi'), if so, that may be the reason.
BTW, I have also met this error:
"YOLOF/cvpods/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol : Z39tree_filter_refine_backward_edge_weightRKN2at6TensorES2_S2_S2_S2_S2_S2_S2_S2", and solved it by matching versions of these components. I wrote down the steps in https://zhuanlan.zhihu.com/p/446495433, I hope this will help you.
from yolof.
Related Issues (20)
- How can i run this project in a single gpu HOT 1
- How to convert your moder to onnx? HOT 3
- Save the file HOT 1
- Compatibility with anchor-free methods HOT 1
- label assignment problem HOT 1
- TypeError: __init__() missing 2 required positional arguments: 'cfg' and 'distributed' HOT 1
- How to understand the calculation process of normalized_cls_score? HOT 4
- PASCAL VOC results HOT 1
- How to get FLOPS and params of YOLOF? HOT 1
- Object detection w/ video HOT 1
- RuntimeError: Error compiling objects for extension HOT 1
- AssertionError: Box regression deltas become infinite or NaN! HOT 1
- about accuracy HOT 1
- About NAN during training HOT 1
- pods_train: command not found HOT 5
- there are some errors when I run pods_train HOT 1
- uniform matching how to choose k nearest anchors
- Small or occluded objects
- Question about loss function
- Can't download model HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolof.