foolwood / SiamMask

[CVPR2019] Fast Online Object Tracking and Segmentation: A Unifying Approach
http://www.robots.ox.ac.uk/~qwang/SiamMask
MIT License
3.47k stars 816 forks source link

Trying to run demo.py #127

Closed SamihaSara closed 4 years ago

SamihaSara commented 5 years ago

I am trying to run demo.py by following the steps written in the demo part. when I execute this command python ../../tools/demo.py --resume SiamMask_DAVIS.pth --config config_davis.json

only an image is the output without the mask and bounding box and the following shows. Please help me how to fix this-

[2019-11-30 18:24:53,146-rk0-features.py# 66] Current training 0 layers:

[2019-11-30 18:24:53,148-rk0-features.py# 66] Current training 1 layers:

[2019-11-30 18:24:53,279-rk0-load_helper.py# 31] load pretrained model from SiamMask_DAVIS.pth [2019-11-30 18:24:57,895-rk0-load_helper.py# 25] remove prefix 'module.' [2019-11-30 18:24:57,899-rk0-load_helper.py# 18] used keys:356

Conanmxy commented 4 years ago

I think you should select RoI on the image and press enter

SamihaSara commented 4 years ago

@Conanmxy thank you very much. your suggestion worked.