votchallenge / toolkit

The official VOT Challenge evaluation and analysis toolkit
http://www.votchallenge.net/
GNU General Public License v3.0
159 stars 46 forks source link

Help in trackers.ini #22

Closed gd1925 closed 4 years ago

gd1925 commented 4 years ago

Hi Sir, I have been getting this error when I am trying to test the tracker using this command - vot test D3S

Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'vot_wrapper' Error during tracker execution: Unable to connect to tracker Terminate

My trackers.ini looks as follows:

[D3S] # label = D3S protocol = traxpython

command = vot_wrapper

Specify a path to trax python wrapper if it is not visible (separate by ; if using multiple paths)

paths = /media/imi/HDD Data/Trackers/D3S/pytracking;/media/imi/HDD Data/Trackers/vot-toolkit-python-bk/vot/native/trax/support/python

Additional environment paths

env_PATH = /home/imi/anaconda3/envs/pytracking/bin/python;${PATH}

Could you please telling me if I am missing something? Thank you.

xiaozai commented 4 years ago

hi, did you try :

paths = /media/imi/HDD Data/Trackers/D3S/pytracking/ ???

gd1925 commented 4 years ago

Hi @xiaozai , Thank you so much for your response. I did try it. When I run the command you mentioned, it gives me following error:

Checking for new version Scanning registry /media/imi/HDD Data/Trackers/vot-workspace/trackers.ini Found 1 trackers Generating dummy sequence Obtaining runtime for tracker D3S Initializing tracker (1/3) Running process: /home/imi/anaconda3/envs/pytracking/bin/python -c "import sys;sys.path.insert(0, '/home/imi/D3S/pytracking/'); import vot_wrapper" Traceback (most recent call last): File "", line 1, in File "/home/imi/D3S/pytracking/vot_wrapper.py", line 8, in from pytracking.tracker.segm import Segm ModuleNotFoundError: No module named 'pytracking' Error during tracker execution: Unable to connect to tracker Terminate

When I give multiple paths like so -

paths = /home/imi/D3S/pytracking/ ; /home/imi/D3S/

I get this error -

Checking for new version Scanning registry /media/imi/HDD Data/Trackers/vot-workspace/trackers.ini Found 1 trackers Generating dummy sequence Obtaining runtime for tracker D3S Initializing tracker (1/3) Running process: /home/imi/anaconda3/envs/pytracking/bin/python -c "import sys;sys.path.insert(0, '/home/imi/D3S/pytracking/ ; /home/imi/D3S/'); import vot_wrapper" Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'vot_wrapper' Error during tracker execution: Unable to connect to tracker Terminate

So, I am not able to give multiple paths.

xiaozai commented 4 years ago

hi,

For the first problem, when pytracking is not found, you may try

import sys
sys.path.append(path to pytracking )
gd1925 commented 4 years ago

Hi, Yes the code is running now. Thank you so much.


From: Yan Song notifications@github.com Sent: Wednesday, August 26, 2020 9:06 PM To: votchallenge/vot-toolkit-python vot-toolkit-python@noreply.github.com Cc: Tulsulkar Gauri Ravindra grtulsulkar@ntu.edu.sg; Author author@noreply.github.com Subject: Re: [votchallenge/vot-toolkit-python] Help in trackers.ini (#22)

hi,

For the first problem, when pytracking is not found, you may try

import sys sys.path.append(path to pytracking )

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/votchallenge/vot-toolkit-python/issues/22#issuecomment-680866642, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMDX6EFZUOMQF7OAFKHG5GDSCUCD5ANCNFSM4QKTXRJQ.


CONFIDENTIALITY: This email is intended solely for the person(s) named and may be confidential and/or privileged. If you are not the intended recipient, please delete it, notify us and do not copy, use, or disclose its contents. Towards a sustainable earth: Print only when necessary. Thank you.

gd1925 commented 4 years ago

On running the code, I got the following error. Could you telling me possible reason. Screenshot from 2020-08-26 21-40-03

lukacu commented 4 years ago

The most likely reason is that the tracker does not support reinitialization. This is the default mode for VOT wrapper, but somehow it was not picked up by the toolkit (it should be). Can you try adding the following line to your ini config: "restart = true". Also, can you paste the first lines of the debug output after you run the CLI, I am interested in TraX handshake.

gd1925 commented 4 years ago

Hi @lukacu ,

Thank you so much for your reply. It works! Here is the screenshot -

Thank you once again. Screenshot from 2020-08-27 00-10-35

gd1925 commented 4 years ago

Hi @lukacu Sir,

I do not mean to be bothersome but I have been running into another error. The vot test runs successfully. But on running the evaluation command, I encounter following error :

raise AttributeError("Missing arguments: {}".format(", ".join(unspecified))) AttributeError: Missing arguments: skip_tags

I found the same error in the Google Support Group on this link - https://groups.google.com/g/votchallenge-help/c/wUOVxJ16qyE/m/PQax7hC1BwAJ?pli=1 . I could not figure out the solution for this error. I am using stack 2018, is that why the problem exists, as it is not vot2020? Could you please suggest to me what I could do to solve it?

Thank you once again.

iraadit commented 4 years ago

Hi @gd1925 , I get the same _skiptags error. Did you find how to proceed from there? Thanks

gd1925 commented 4 years ago

Hi @iraadit, No actually. Not yet. But fortunately, I could make the Matlab toolkit work by downgrading the version from Matlab 2020a to 2017b. So I am now using the VOT Matlab toolkit. But I do wish to make the Python Toolkit work.

iraadit commented 4 years ago

I would prefer to get the Python version working too, I have no access to Matlab. Hope someone will see our problem and have the solution.

xiaozai commented 4 years ago

@gd1925 Hi, could you please show the log info or the screenshot of the outputs? I guess it is because of the vot2018 stack file.

lukacu commented 4 years ago

The error should be fixed in dev branch for some time, now I have merged it with master. I have used VOT2018 stack in dev branch in the past. Can you test it?

gd1925 commented 4 years ago

Hi @lukacu and @xiaozai, Thank you so much for your response. The updated code is working perfectly fine now. I was waiting for the evaluations to finish before updating you here but looks like it may take a while on my machine. Thank you so much once again.

lukacu commented 4 years ago

Great, I am closing the issue now because it is offtopic anyway. Please open a new one if there are more problems.

laisimiao commented 3 years ago

The most likely reason is that the tracker does not support reinitialization. This is the default mode for VOT wrapper, but somehow it was not picked up by the toolkit (it should be). Can you try adding the following line to your ini config: "restart = true". Also, can you paste the first lines of the debug output after you run the CLI, I am interested in TraX handshake.

@lukacu Hi, could I ask a question in your this reply? For my understanding so far, when using vot toolkit, we just provide an interface in which we need call function like tracker.initialize(img, init_gt) and tracker.track(img), so I don't really understand what you said "The most likely reason is that the tracker does not support reinitialization". Because considering above, there are no differences of writing such an interface? And I'm appreciate if you could explain where the command "restart=true" it influence or work?

LearnByDoingXW commented 3 years ago

Hi, @gd1925 I have the same problem as yours,something like 'Unable to connect to tracker'.could you tell me how you solved this problem. I would appreciate it if you could reply to me.

gd1925 commented 3 years ago

Hi, if I remember correctly, I think I had added the "/" at the end of each path.


From: LearnByDoingXW @.> Sent: Thursday, October 21, 2021 10:07 PM To: votchallenge/toolkit @.> Cc: Tulsulkar Gauri Ravindra @.>; Mention @.> Subject: Re: [votchallenge/toolkit] Help in trackers.ini (#22)

Hi, @gd1925https://github.com/gd1925 I have the same problem as yours,something like 'Unable to connect to tracker'.could you tell me how you solved this problem. I would appreciate it if you could reply to me.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/votchallenge/toolkit/issues/22#issuecomment-948653851, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMDX6EGXC726KQRP7IVVHKTUIANBBANCNFSM4QKTXRJQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


CONFIDENTIALITY: This email is intended solely for the person(s) named and may be confidential and/or privileged. If you are not the intended recipient, please delete it, notify us and do not copy, use, or disclose its contents. Towards a sustainable earth: Print only when necessary. Thank you.

gd1925 commented 3 years ago

Maybe, try following the same steps/solutions in this thread.


From: Tulsulkar Gauri Ravindra @.> Sent: Thursday, October 21, 2021 10:18 PM To: votchallenge/toolkit @.> Subject: Re: [votchallenge/toolkit] Help in trackers.ini (#22)

Hi, if I remember correctly, I think I had added the "/" at the end of each path.


From: LearnByDoingXW @.> Sent: Thursday, October 21, 2021 10:07 PM To: votchallenge/toolkit @.> Cc: Tulsulkar Gauri Ravindra @.>; Mention @.> Subject: Re: [votchallenge/toolkit] Help in trackers.ini (#22)

Hi, @gd1925https://github.com/gd1925 I have the same problem as yours,something like 'Unable to connect to tracker'.could you tell me how you solved this problem. I would appreciate it if you could reply to me.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/votchallenge/toolkit/issues/22#issuecomment-948653851, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMDX6EGXC726KQRP7IVVHKTUIANBBANCNFSM4QKTXRJQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


CONFIDENTIALITY: This email is intended solely for the person(s) named and may be confidential and/or privileged. If you are not the intended recipient, please delete it, notify us and do not copy, use, or disclose its contents. Towards a sustainable earth: Print only when necessary. Thank you.

LearnByDoingXW commented 3 years ago

Thank you so much @gd1925 I have solved this problem.