bismex / rlt-dimp Goto Github PK
View Code? Open in Web Editor NEW[ECCVW2020] Robust Long-Term Object Tracking via Improved Discriminative Model Prediction (RLT-DiMP)
License: GNU General Public License v3.0
[ECCVW2020] Robust Long-Term Object Tracking via Improved Discriminative Model Prediction (RLT-DiMP)
License: GNU General Public License v3.0
Hi,
when I run vot test DiMP, I faced with this error:
`
"@@TRAX:frame "file:///tmp/vot_dummy_50_640_480/color/00000002.jpg"
/tmp/vot_dummy_50_640_480/color/00000001.jpg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/user/RLT-DIMP-master/pytracking/run_vot.py", line 48, in run_vot2020_LT
tracker.run_vot2020_LT(debug, visdom_info, final_path)
File "/home/user/RLT-DIMP-master/pytracking/evaluation/tracker.py", line 738, in run_vot2020_LT
out = tracker.initialize(image, {'init_mask': vot_anno_mask, 'init_bbox': bbox})
File "/home/user/RLT-DIMP-master/pytracking/tracker/dimp/dimp.py", line 98, in initialize
init_backbone_feat = self.generate_init_samples(im) # augmented samples
File "/home/user/RLT-DIMP-master/pytracking/tracker/dimp/dimp.py", line 805, in generate_init_samples
im_patches = sample_patch_transformed(im, self.init_sample_pos, self.init_sample_scale, aug_expansion_sz, self.transforms)
File "/home/user/RLT-DIMP-master/pytracking/features/preprocessing.py", line 25, in sample_patch_transformed
im_patch, _ = sample_patch(im, pos, scale*image_sz, image_sz, is_mask=is_mask) # 1 patch
File "/home/user/RLT-DIMP-master/pytracking/features/preprocessing.py", line 129, in sample_patch
im_patch = F.pad(im2, (-tl[1].item(), br[1].item() - im2.shape[3], -tl[0].item(), br[0].item() - im2.shape[2]), pad_mode)
File "/home/user/pytracking_env/lib/python3.6/site-packages/torch/nn/functional.py", line 3572, in _pad
return torch._C._nn.replication_pad2d(input, pad)
TypeError: replication_pad2d(): argument 'padding' must be tuple of ints, but found element of type float at pos 1
@@TRAX:quit
Error during tracker execution: Server terminated the session
"
`
and when I run evaluate it, this error was occured:
@@TRAX:hello "[trax.name](http://trax.name/)=" "trax.family=" "trax.image=path;" "trax.region=rectangle;" "trax.description=" "trax.version=3" "vot=python" "trax.channels=color;"
@@TRAX:initialize "file:///home/theydari/VOT/VOT2020lt/sequences/ballet/color/00000001.jpg" "360.9900,325.1100,25.7140,111.7600"
@@TRAX:state "360.9900,325.1100,25.7140,111.7600"
@@TRAX:frame "file:///home/theydari/VOT/VOT2020lt/sequences/ballet/color/00000002.jpg"
/home/user/VOT/VOT2020lt/sequences/ballet/color/00000001.jpg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/user/RLT-DIMP-master/pytracking/run_vot.py", line 48, in run_vot2020_LT
tracker.run_vot2020_LT(debug, visdom_info, final_path)
File "/home/user/RLT-DIMP-master/pytracking/evaluation/tracker.py", line 738, in run_vot2020_LT
out = tracker.initialize(image, {'init_mask': vot_anno_mask, 'init_bbox': bbox})
File "/home/user/RLT-DIMP-master/pytracking/tracker/dimp/dimp.py", line 98, in initialize
init_backbone_feat = self.generate_init_samples(im) # augmented samples
File "/home/user/RLT-DIMP-master/pytracking/tracker/dimp/dimp.py", line 805, in generate_init_samples
im_patches = sample_patch_transformed(im, self.init_sample_pos, self.init_sample_scale, aug_expansion_sz, self.transforms)
File "/home/user/RLT-DIMP-master/pytracking/features/preprocessing.py", line 25, in sample_patch_transformed
im_patch, _ = sample_patch(im, pos, scale*image_sz, image_sz, is_mask=is_mask) # 1 patch
File "/home/user/RLT-DIMP-master/pytracking/features/preprocessing.py", line 129, in sample_patch
im_patch = F.pad(im2, (-tl[1].item(), br[1].item() - im2.shape[3], -tl[0].item(), br[0].item() - im2.shape[2]), pad_mode)
File "/home/user/pytracking_env/lib/python3.6/site-packages/torch/nn/functional.py", line 3572, in _pad
return torch._C._nn.replication_pad2d(input, pad)
TypeError: replication_pad2d(): argument 'padding' must be tuple of ints, but found element of type float at pos 1
@@TRAX:quit
Process exited with code (1)
How can I resolve them?
Hi! Could you please provide the evalution raw results of lasot?
How does this new score penalty works ?
My machine:
Ubuntu 20.04
RTX 3090 GPU
CUDA 11
pytorch 1.7.1
I installed your tracker using the install.sh just changing the pytorch line to the following, since my gpu does only support cuda 11:
conda install pytorch torchvision torchaudio cudatoolkit=11.0 -c pytorch
There were no errors during the installation. Now, running the vot test RLT_DiMP command, im facing the error:
Checking for new version
Scanning registry /home/linx123-rtx/vot-workspace/trackers.ini
Found 12 trackers
Generating dummy sequence
Obtaining runtime for tracker RLT_DiMP
Initializing tracker (1/3)
Running process: /home/linx123-rtx/anaconda3/envs/RLT_DiMP/bin/python -c "import sys;sys.path.insert(0, '/home/linx123-rtx/vot-workspace/RLT_DiMP/atom/pytracking # you should change directory'); import run_vot; run_vot.run_vot2020_LT('RLT_dimp', 'new', None, 0) # 0 means gpu_id"
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'run_vot'
Error during tracker execution: Unable to connect to tracker
I tried python 3.6,3.7 and 3.8. I also tried other gcc versions (e.g. the 7.5 which was suggested by you) but nothing worked. Could you please help me with this?
Kind regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.