deepmask-pytorch icon indicating copy to clipboard operation
deepmask-pytorch copied to clipboard

Dasiamese+DeepMask

Open zhangyanabc opened this issue 5 years ago • 2 comments

When I ran Dasiamese+DeepMask,I met a problem that shows: File "tools/dasiamrpn_deepmask.py", line 1, in from tracker.net import SiamRPNvot ImportError: No module named 'tracker' How can I solve it?Thank you!

zhangyanabc avatar May 06 '19 08:05 zhangyanabc

git clone https://github.com/foolwood/DaSiamRPN.git
mkdir tracker && mv DaSiamRPN/code/* ./tracker/ && rm -rf ./DaSiamRPN
touch tracker/__init__.py
sed -i 's/utils/.utils/g' tracker/run_SiamRPN.py
cd $DEEPMASK
wget www.robots.ox.ac.uk/~qwang/SiamRPNVOT.model
python tools/dasiamrpn_deepmask.py

please add __init__.py file in tracker fold. touch tracker/__init__.py

foolwood avatar May 06 '19 09:05 foolwood

Thanks for your reply,I didn't download the Dasiamese in the DeepMask folder,and now I've solved the problem!

zhangyanabc avatar May 06 '19 09:05 zhangyanabc