Comments (5)
I've been getting the exact same error, I was using the nvidia gtx 960M of my laptop which has 2gb of memory, looks like 2gb is simply not enough for this. It'd be nice to know how much gpu memory we do require for running MDNet
from pymdnet.
I have also tested the code via 4 Gb GPU, but I got the below error:
File "../modules/model.py", line 40, in forward
torch.cat((pad,pad,pad,pad,x_sq),2)),1)
RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1512386481460/work/torch/lib/THC/generic/THCStorage.cu:58
from pymdnet.
Hi,
You can change parameter opts['batch_test'] = 256
in [options.py] file, and modify it into (for example) opts['batch_test'] = 25
to run the code via ~ 2GB GPU.
from pymdnet.
the default parameters needs ~ 5.5 Gb GPU memory.
from pymdnet.
python run_tracker.py -s DragonBaby -d -f
THCudaCheck FAIL file=/pytorch/aten/src/THC/generic/THCStorage.cu line=58 error=2 : out of memory
Traceback (most recent call last):
File "run_tracker.py", line 329, in <module>
result, result_bb, fps = run_mdnet(img_list, init_bbox, gt=gt, savefig_dir=savefig_dir, display=display)
File "run_tracker.py", line 146, in run_mdnet
bbreg_feats = forward_samples(model, image, bbreg_examples)
File "run_tracker.py", line 33, in forward_samples
regions = regions.cuda()
RuntimeError: cuda runtime error (2) : out of memory at /pytorch/aten/src/THC/generic/THCStorage.cu:58
Titan X 12GB - the vcard goes to 20% on memory then this error pops out. Any ideas?
from pymdnet.
Related Issues (20)
- ImageNet-VID dataset HOT 7
- How long do you take training on ImageVid? HOT 1
- where is lr_decay in the options_vot.yaml? HOT 1
- the success is different from what you show HOT 1
- precision plots and success plots
- No such file or directory:
- Missing ImageNet-VID pickle file HOT 1
- init_bbox for a sequence with multiple targets
- Tracking Part
- Model training randomness problem!
- input image size during the training process
- Problem during tracking HOT 1
- Why performance on TB100/TB50 worse than matlab repo(as paper display)?
- code error in generate canditates when update HOT 1
- Problem on training and tracking
- What should be the approach if the object enters frame a bit late and disappears sometimes?
- args.seq or args.json
- Downloading the VGG-M model HOT 1
- Is it possible to track multiple objects?
- 缺少imagenet_vid.pkl文件
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 pymdnet.