installation steps
– download the project file
https://github.com/STVIR/pysot.git
– create conda environment
https://github.com/STVIR/pysot/blob/master/INSTALL.md
the second installation, manual configuration environment, the command is as follows, to add tsinghua source https://pypi.tuna.tsinghua.edu.cn/simple p>
conda create --name pysot python=3.7
conda activate pysot
conda install numpy
conda install pytorch=0.4.1 torchvision cuda90 -c pytorch
pip install opencv-python
pip install pyyaml yacs tqdm colorama matplotlib cython tensorboardX
# change dir to project
python setup.py build_ext --inplace
download model file
the baidu cloud https://github.com/STVIR/pysot/blob/master/MODEL_ZOO.md file download, only copy pysot/experiments in the file mode, PTH, not to replace the corresponding congfig. Yaml p>
configure the environment variable
export PYTHONPATH=/path/to/pysot:$PYTHONPATH
to export PYTHONPATH =/home/Cody/PycharmProjects/pysot: $PYTHONPATH p>
or use pycharm to configure
https://blog.csdn.net/sements/article/details/105495812/
demo run strong> p>
Reference
strong> https://blog.csdn.net/sements/article/details/105495812/ p>
here use pycharm to run, select the corresponding Python compiler, and run -> Edit Configurations, set and select the running demo.py file, and add the running parameter
in paramters
–config .. /experiments/siamrpn_r50_l234_dwxcorr/config.yaml
–snapshot .. /experiments/siamrpn_r50_l234_dwxcorr/model.pth
–video ../demo/bag. Avi
p>
effect display
Run demo.py, pop up the display box, select the area with the left mouse button and press enter to
Read More:
- Error in testing keras
- ModuleNotFoundError: No module named ‘numpy.testing.nosetester‘
- Resolve the error raise importerror, str (MSG) + ‘, please install the python TK package’ (valid for personal testing)
- Completely solve install_ FAILED_ UPDATE_ Incompatible installation error, the installation package is not consistent with the previous installation package signature on the device
- Solve the problem of testing redis cluster“ java.lang.NumberFormatException : For input string: “ [email protected]@17002 “And so on
- QT learning 3: configuration and testing of QT creator 2.4.1 development environment
- Win10 installation PostgreSQL error running… And installation process
- Android studio installation virtual machine error ® HAXM installation failed.
- Another installation will pop up when Windows installs the application inprogress.you must complete that installation before continu
- The installation of docker desktop failed. After successful installation, the docker can not be started
- [Solved] JMeter Save Testing File Error: Error loading results file – see file log
- chatbot error: [E941] Can‘t find model ‘en‘
- R learning notes (1) — ARIMA model
- The difference of. Pt,. PTH,. Pkl and the way to save the model
- After the model is instantiated by keras, the result returns nonetype
- Error 1500. Another program is in progress. You must complete another installation before continuing with this installation.
- MySQL installation error. Netframeword installation failed
- Non 7z achieve. Error reported during CUDA installation. Solution: the installation file is damaged
- Error in tensorflow loading model valueerror: unknown layer: functional
- Keras Model AttributeError:’str‘ object has no attribute ’call‘