Comments (5)
Hi, currently it is only available for CUDA version.
It should not be too difficult to transform the model to work on CPU (just change all the cudnn/cunn.* modules to nn.*), but it would be frustratingly slow
from deepmask.
I'll close thus issue. You can re-open it if you need anything else.
from deepmask.
I am running deepmask on a Macbook with CPU-only. I edited the lua files to remove dependancies on cudnn/cunn as suggested.
On running
th computeProposals.lua pretrained/deepmask/
I am getting the following error.
"...code/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <torch.CudaTensor>"
Do I need to do anything further in order to get this running without a GPU?
Thanks.
from deepmask.
Yes. The pretrained models have cudnn/cunn everywhere, so you will need to transform all the cunn/cudnn layers into CPU layers (though keeping the same trained weights/biases).
Unfortunately, you will need a cuda compatible version of torch to be able to change it...
from deepmask.
Thank you for the response.
Are the CPU compatible models publicly available too? If not, will they be available shortly?
from deepmask.
Related Issues (20)
- Crash for grayscale images
- Passing -np 1 (number of proposal) causes an error HOT 1
- What are two arrays in segmentation key of annotations?
- DataSampler.lua:230: bad argument #3 to 'narrow' HOT 2
- use deepmask/sharpmask to create mask only for person
- Can not run Quick Start on Ubuntu16.04 with GTX 965m HOT 2
- Deepmask as siamese networks for visual search of template object
- ***[thread 2 callback] torch.*Tensor expected, got nil*** Training on own dataset. HOT 1
- Custom pretrained resnet-50 model
- How to train in my own dataset? HOT 2
- how to get refinement result?
- Accuracy reaching 99.51% in DeepMask during training
- Failed to train the model by following the instructions given with the command "th train.lua" HOT 1
- HOW TO USE SPECIFIC CLASSES OF COCO DATASET
- oser
- Coco module not found HOT 1
- "[email protected]: Permission denied (publickey)."
- Success at 0.7
- the training data of pretrained model
- ERROR: We're doing an SSH key audit. legacy key automatically unverified Please visit https://github.com/settings/keys to approve this key so we know it's safe. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
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 deepmask.