Comments (6)
For those who are still solving this issues, here are the steps you should consider to follow:
- Change SM_# (at places listed below) that suits your current GPU cards (see this for your reference)
- lib/lstm/highway_lstm_cuda/make.sh (line 15)
- lib/fpn/roi_align/src/cuda/Makefile (line 2)
- lib/fpn/nms/src/cuda/Makefile (line 2)
- Afterwards, you should also delete *.o files (at places listed below) before you try recompiling nms, roi_align and highway_lstm)
- lib/lstm/highway_lstm_cuda/src/highway_lstm_kernel.cu.o
- lib/fpn/roi_align/src/cuda/roi_align.cu.o
- lib/fpn/nms/src/cuda/nms.cu.o
- Run 'make' in your home directory.
That's all you need to do to change your faulty SM setup to the correct one.
from neural-motifs.
what GPU do you have? I think you might have to change the compilation flags; I hardcoded them for my Titan X setup.
from neural-motifs.
Thanks for your kind answering.
My GPU is Tesla P100, so I tried to make the cuda file with /usr/local/cuda/bin/nvcc -c -o file.cu.o file.cu --compiler-options -fPIC -gencode arch=compute_60,code=sm_60
, but it still fails with error cudaCheckError() failed : no kernel image is available for execution on the device
. I think it might be compilation problem. Except for changing all sm_61
and compute_60
to *_61
, do I need to change other places? I've replaced nms
and roi_align
with other's codes and it works. Thank you a lot!
from neural-motifs.
Yeah, you'll need to change the LSTM compilation: https://github.com/rowanz/neural-motifs/blob/master/lib/lstm/highway_lstm_cuda/make.sh
I believe that should be everything. Also, have you verified that pytorch usually runs on your machine?
from neural-motifs.
I use pytorch 0.3.1. Now I can run your code, thank you!
from neural-motifs.
Hi, I've met the same problem using Tesla P100. So did you solve your problem only changing from _61 to _60 in 3 files (nms, roi_align and highway_lstm_cuda)?
And you said "replaced nms and roi_align with other's codes", could you please tell what "other's codes" did you use to solve the problem? Thanks. :D
from neural-motifs.
Related Issues (20)
- 108072 HOT 2
- Who has the Scene Graph of coco dataset , can you publish it,thanks a lot HOT 3
- ModuleNotFoundError: No module named 'torch.utils.cpp_extension' HOT 2
- undefined symbol: __cudaPopCallConfiguration
- PROPOSAL_FN = stanford_path('proposals.h5') HOT 1
- Some file can't attain when only evaluating
- Could you help me extend object 150 classes to 1370 classes?
- Decoding object context HOT 3
- TypeError: _AlternatingHighwayLSTMFunction.forward: 'ctx' is not present. Could you give me some suggestions on this peoblem? HOT 3
- Who has the Scene Graph of Flickr30K dataset , can you publish it,thanks a lot HOT 1
- Inference using Pretrained models HOT 1
- What's the difference between roi_fmaps and roi_fmaps_obj?
- Executing this project on windows
- scene graph generation for external image dataset
- SGCls evaluation HOT 1
- RuntimeError: CUDNN_STATUS_EXECUTION_FAILED HOT 4
- pretrain_detector HOT 3
- Confused about SGDet HOT 1
- Is mini-vg available for neural-motifs? HOT 1
- list index out of range
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 neural-motifs.