Comments (2)
Hey Shang,
To fix this I needed to change lines 10 and 25 of lib/make.sh. Specifically I needed to change the -arch sm_52
flag to -arch sm_37
because I'm using a Telsa K80 to match the compute of my GPU architecture. You can find the compute of your GPU at this page: https://developer.nvidia.com/cuda-gpus . Remember to re-make
in your lib directory after making the change.
from tffrcnn.
So for those who are still lost. Here are a few clean steps to resolve the issue (you need to recompile your CUDA):
- Got to the following page https://developer.nvidia.com/cuda-gpus and find your GPU
- Find the number (the "Compute Capability") next to your GPU name, e.g. for 680 it is 3.0
- Remove the dot from it so it becomes 30
- In the make_cuda.sh file required for compiling, change the number after "arch" flag in the nvcc command to the one you found above. Example:
nvcc -c -o corr_cuda_kernel.cu.o corr_cuda_kernel.cu -x cu -Xcompiler -fPIC -arch=sm_52
nvcc -c -o corr_cuda_kernel.cu.o corr_cuda_kernel.cu -x cu -Xcompiler -fPIC -arch=sm_30 - Delete the folder of built files if you have already compiled it before
- Run the make_cuda.sh and continue as usual
from tffrcnn.
Related Issues (20)
- Error compiling Cython file
- My GPU card doesn't support cuda,can I use your code?
- easydict HOT 1
- How to load tensorflow's new v2 format checkpoint? HOT 1
- Meet some problems when training on my own data. See below. HOT 3
- ZF_imagenet.npy file
- nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified HOT 2
- NameError: name 'xrange' is not defined HOT 1
- AttributeError: 'NoneType' object has no attribute 'model_checkpoint_path'
- demo.py HOT 2
- Nontype error when run demo and train HOT 4
- A question about anchors HOT 1
- How to load half of the trained model, then go to that point to train
- About BachNorm Layer
- deform_conv.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringB5cxx11Ev HOT 1
- Compile Error
- I want to ask how i can get the model when i run the demo.py
- TypeError: 'NoneType' object is not subscriptable
- For getting more accuracy in faster rcnn , which parameters i have to tune (tuning parameters)
- potential bug in __init__.py
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 tffrcnn.