SiamMask icon indicating copy to clipboard operation
SiamMask copied to clipboard

get_test_data.sh

Open Leon924 opened this issue 5 years ago • 6 comments

(siammask) [liqiang@inspur trackdat]$ VOT_YEAR=2016 bash scripts/download_vot.sh dl/vot2016 --2019-03-14 16:18:38-- http://data.votchallenge.net/vot2016/main/description.json Resolving data.votchallenge.net (data.votchallenge.net)... 194.249.1.179 Connecting to data.votchallenge.net (data.votchallenge.net)|194.249.1.179|:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

scripts/download_vot.sh: line 19: jq: command not found scripts/download_vot.sh: line 20: jq: command not found scripts/download_vot.sh: line 21: jq: command not found

@foolwood where is this problem come from? anybody please help me to locate it

Leon924 avatar Mar 14 '19 08:03 Leon924

You should install jq first. You can try sudo apt-get install jq, it works for me on Ubuntu 16.04.

czla avatar Mar 15 '19 02:03 czla

thank you for your instruction, but when I run demo,another error come out, can you tell me how ot fix it ? (siammask) [liqiang@inspur siammask]$ python ../../tools/demo.py --resume SiamMask_DAVIS.pth --config config_davis.json [2019-03-15 11:03:58,220-rk0-load_helper.py# 31] load pretrained model from SiamMask_DAVIS.pth [2019-03-15 11:04:01,525-rk0-load_helper.py# 25] remove prefix 'module.' [2019-03-15 11:04:01,527-rk0-load_helper.py# 18] used keys:356 QObject::moveToThread: Current thread (0x5619f6b19670) is not the object's thread (0x5619f652de70). Cannot move to target thread (0x5619f6b19670)

QObject::moveToThread: Current thread (0x5619f6b19670) is not the object's thread (0x5619f652de70). Cannot move to target thread (0x5619f6b19670)

QPixmap: Must construct a QApplication before a QPaintDevice Aborted (core dumped)

@czla did you finish running all the readme.md in this work, and successfully saw the result?I came across another problem when I was test model. could you please check that for me? https://github.com/foolwood/SiamMask/issues/13

Leon924 avatar Mar 15 '19 03:03 Leon924

@petit-ami sorry, i didn't meet this error, maybe it comes with environment configuration. I just run the demo and download the model successfully , haven't tested on these datasets yet.

czla avatar Mar 15 '19 03:03 czla

@czla @foolwood Thank you for your reply whatever. I think it's problem about pyqt, but I dont know how to set up it correctly

Leon924 avatar Mar 15 '19 03:03 Leon924

You should install jq first. You can try sudo apt-get install jq, it works for me on Ubuntu 16.04.

Hi @czla , I installed "jq", but when I run "VOT_YEAR=2018 bash scripts/download_vot.sh dl/vot2018", it is awaiting response... all the time. I think it can not receive the data resource from server.

The log is following: "(siammask) root@aiserver-desktop:/home/aiserver/fangyang/SiamMask/SiamMask-master/data/trackdat# VOT_YEAR=2018 bash scripts/download_vot.sh dl/vot2018 --2019-07-22 23:21:33-- http://data.votchallenge.net/vot2018/main/description.json Resolving data.votchallenge.net (data.votchallenge.net)... 194.249.1.179 Connecting to data.votchallenge.net (data.votchallenge.net)|194.249.1.179|:80... connected. HTTP request sent, awaiting response... No data received. Retrying.

--2019-07-22 23:22:35-- (try: 2) http://data.votchallenge.net/vot2018/main/description.json Connecting to data.votchallenge.net (data.votchallenge.net)|194.249.1.179|:80... connected. HTTP request sent, awaiting response... No data received. Retrying.

--2019-07-22 23:23:37-- (try: 3) http://data.votchallenge.net/vot2018/main/description.json Connecting to data.votchallenge.net (data.votchallenge.net)|194.249.1.179|:80... connected. HTTP request sent, awaiting response... No data received. Retrying."

I tried the whole day, it didn't work for me. Would you mind sharing the VOT2016, VOT2018 and VOT2019 datasets, which is exactly same format with SiameseMask settings? Many thanks!

fyaft2012 avatar Jul 22 '19 14:07 fyaft2012

who can help me? I meet this problem below:

File "/home/huangpan/git_download/SiamMask/SiamMask-master/data/trackdat/scripts/unzip_vot.py", line 41, in main() File "/home/huangpan/git_download/SiamMask/SiamMask-master/data/trackdat/scripts/unzip_vot.py", line 18, in main dataset = json.load(f) File "/home/huangpan/anaconda3/envs/siammask/lib/python3.6/json/init.py", line 296, in load return loads(fp.read(), File "/home/huangpan/anaconda3/envs/siammask/lib/python3.6/codecs.py", line 321, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 264: invalid start byte Traceback (most recent call last): File "/home/huangpan/git_download/SiamMask/SiamMask-master/data/trackdat/scripts/unzip_vot.py", line 41, in main() File "/home/huangpan/git_download/SiamMask/SiamMask-master/data/trackdat/scripts/unzip_vot.py", line 18, in main dataset = json.load(f) File "/home/huangpan/anaconda3/envs/siammask/lib/python3.6/json/init.py", line 296, in load return loads(fp.read(), File "/home/huangpan/anaconda3/envs/siammask/lib/python3.6/codecs.py", line 321, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 264: invalid start byte

huangpan2507 avatar Dec 14 '19 12:12 huangpan2507