Can I run the code without GPU?
Hi Bertinetto,
I am trying to run your code but I don't have an GPU. Is there anyway that I can modify the code? I saw there are several pieces related to GPU and I am hesitating to make major changes.
Best Regards, Cong
Hi Bertinetto,
I simply modified the code and now it is running well on a single CPU. Thanks again for your excellent work! btw it is so tragic without a GPU ...
Best Regards, Cong
I also need to run the code without GPU, and I changed the following codes:
- "tracker.m"
(1)
p.gpus = 1;->p.gpus = [];(2)p.init_gpu = true;->p.init_gpu = false; - "tracker_step.m"
responseMapsUP = gpuArray(single(zeros(p.scoreSize*p.responseUp, p.scoreSize*p.responseUp, p.numScale)));->responseMapsUP = single(zeros(p.scoreSize*p.responseUp, p.scoreSize*p.responseUp, p.numScale));
Besides, if you want to visualize images, set p.visualization = true; in tracker.m.
If you want to test your own sequences, please set paths.eval_set_base = '...\cfnet\data\' as your path of dataset in "env_path_tracking.m", and put sequences into data/validation folder with the following structure:
sequence_name
|
----0001.jpg ~xxxx.jpg
|
----groundtruth.txt