Comments (4)
@Eromera thank you. I was doing it right. My mistake was that i didn't unomment lines
-gencode arch=compute_50,code=sm_50
-gencode arch=compute_50,code=compute_50
in Makefile.config. Because of this build script didn't generate code for new gpu architecture and i had error while running on gpu
from crfasrnn.
I am using CUDA 7.5 without trouble on a GTX Titan X. Is your GPU compatible? Did you correctly set the device id to use on gpu mode?
from crfasrnn.
@Eromera sorry for dumb questions, but could you give me instructions how to run python demo in gpu mode. I cloned this repo, compiled in gpu mode with cudnn, in python demo file I added strings
net.set_mode_gpu()
net.set_device(0)
But while performing net.predict([im]) I still got error:
F1104 21:28:48.601645 9549 im2col.cu:59] Check failed: error == cudaSuccess (8 vs. 0) invalid device function
What am I doing wrong?
P.S Sorry for my English
from crfasrnn.
To activate GPU mode you can just change the line in demo file:
net = caffe.Segmenter(MODEL_FILE, PRETRAINED)
With:
net = caffe.Segmenter(MODEL_FILE, PRETRAINED, True)
If you check the segmenter.py file in the caffe-crfrnn root you will find that the init function has that bool parameter and by default (false) it activates cpu mode unless you pass a True.
from crfasrnn.
Related Issues (20)
- Cannot align apparently disconnected blobs. HOT 1
- Dense InfogainLoss Function
- Feature extraction from CRF-RNN vs FCN8s
- CRFasRNN output vs score_final (FCN)
- Identify only small set of classes
- cuDNN compile error on Tesla K80 GPU - error: too few arguments to function
- Mean vector
- Python demo script on Ubuntu 14.04: "Check failed: *ptr host allocation of size 282240000 failed" HOT 1
- This implementation has not been tested batch size > 1 HOT 2
- Error while building the custom caffe repo HOT 1
- Performance!!!
- Training with my own data : Multiple problems arising HOT 1
- Training on Pascal VOC
- Processing multiple images in parallel
- How to select the theta_alpha, theta_beta and theta_gamma?
- AttributeError: 'dict' object has no attribute 'itervalues' in /caffe/python/caffe/pycaffe.py line 260 HOT 1
- how to change the image size? HOT 1
- prototext sample- weight initialization HOT 1
- eltwise_layer.cpp:34] Check failed: bottom[0]->shape() == bottom[i]->shape() bottom[0]: 1 21 333 500 (3496500), bottom[1]: 1 21 375 500 (3937500) HOT 2
- FCN pretrained weights on COCO data
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 crfasrnn.