Giter Site home page Giter Site logo

bismex / rlt-dimp Goto Github PK

View Code? Open in Web Editor NEW
43.0 4.0 13.0 23.9 MB

[ECCVW2020] Robust Long-Term Object Tracking via Improved Discriminative Model Prediction (RLT-DiMP)

License: GNU General Public License v3.0

Shell 0.66% Python 98.66% MATLAB 0.09% Jupyter Notebook 0.58%

rlt-dimp's Issues

Error during tracker execution: Server terminated the session

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?

raw results

Hi! Could you please provide the evalution raw results of lasot?

Question about score penalty

How does this new score penalty works ?

  1. Why "This temporal constraint allows objects to be detected at relatively far locations." ?
  2. Why multiply by the previous score penalty, Snew ?

rlt-dimp_score_penalty

ModuleNotFoundError: No module named 'run_vot'

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.