bismex / RLT-DIMP

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error during tracker execution: Server terminated the session

tahiira opened this issue · comments

commented

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?