Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the program has encountered a problem #27

Open
donggc opened this issue Mar 22, 2019 · 1 comment
Open

Running the program has encountered a problem #27

donggc opened this issue Mar 22, 2019 · 1 comment

Comments

@donggc
Copy link

donggc commented Mar 22, 2019

I use 'python run_tracker.py -s DragonBaby -d -f',but it is wrong.
This is the information printed by the terminal:
Traceback (most recent call last):
File "run_tracker.py", line 330, in
result, result_bb, fps = run_mdnet(img_list, init_bbox, gt=gt, savefig_dir=savefig_dir, display=display)
File "run_tracker.py", line 147, in run_mdnet
bbreg_feats = forward_samples(model, image, bbreg_examples)
File "run_tracker.py", line 35, in forward_samples
feat = model(regions, out_layer=out_layer)
File "/home/casic/.local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/usr/projects/ObjectTracking/single/py-MDNet-master/model.py", line 110, in forward
x = module(x)
File "/home/casic/.local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/cs/.local/lib/python2.7/site-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/home/cs/.local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/usr/projects/ObjectTracking/single/py-MDNet-master/model.py", line 40, in forward
torch.cat((pad,pad,pad,pad,x_sq),2)),1)
RuntimeError: CUDA out of memory. Tried to allocate 1.24 GiB (GPU 0; 3.95 GiB total capacity; 1.77 GiB already allocated; 1.15 GiB free; 242.18 MiB cached)

@hyseob
Copy link
Owner

hyseob commented Apr 12, 2019

Hi, @donggc You need ~3GB free GPU memory to run this software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants