votchallenge / toolkit

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

Unable to connect to tracker error #36

Closed LearnByDoingXW closed 2 years ago

LearnByDoingXW commented 2 years ago

When I use vot evaluate base_train_e20 to evaluate the model, I encounter '‘Tracker base_train encountered an error: Unable to connect to tracker '. The complete error information is as follows: Loading dataset |███████████████100% [00:00<00:00] Loaded workspace in '/home/disk2/xiaowei/datasets/vot2018/' Scanning registry /home/disk2/xiaowei/datasets/vot2018/trackers.ini Found 1 trackers Found data for 1 trackers Evaluating tracker base_train_e20 | | 0% [00:00<?]Running process: /home/xw/.conda/envs/siamban/bin/python -m vot_siamban Tracker base_train_e20 encountered an error: Unable to connect to tracker Unable to connect to tracker Traceback (most recent call last): File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/vot/tracker/trax.py", line 422, in initialize self._connect() File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/vot/tracker/trax.py", line 376, in _connect self._process = TrackerProcess(self._command, self._envvars, log=log, socket=self._socket, timeout=self._timeout) File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/vot/tracker/trax.py", line 194, in init raise e File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/vot/tracker/trax.py", line 189, in init stream=(self._process.stdin.fileno(), self._process.stdout.fileno()), log=log File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/trax/client.py", line 81, in init raise TraxException("Unable to connect to tracker") trax.TraxException: Unable to connect to tracker

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/vot/experiment/init.py", line 147, in runexperiment experiment.execute(tracker, sequence, force=force, callback=progress) File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/vot/experiment/multirun.py", line 124, in execute , properties, elapsed = runtime.initialize(sequence.frame(frame), self._get_initialization(sequence, frame)) File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/vot/tracker/trax.py", line 431, in initialize self._error(e) File "/home/xw/.conda/envs/siamban/lib/python3.7/site-packages/vot/tracker/trax.py", line 409, in _error tracker_log=log if not self._output is None else None) vot.tracker.TrackerException: Unable to connect to tracker

This is the first time I use vot toolkit .I would appreciate it if you could reply to me.

LearnByDoingXW commented 2 years ago

Reference to #22, the problem has been solved.