Linux系统中运行pysot-toolkit的OTB评价结果注意事项

1.数据集中Human4改为Human4-2,Jogging改为Jogging-1并复制一份命名为Jogging-2,Skating2改为Skating2-1和Skating2-2
2.cannot import name ‘region’ from ‘pysot.utils’ (./pysot/utils/init.py)
找到setup.py文件的目录(本代码在pysot/utils中),并输入python setup.py build_ext --inplace
3.command ‘gcc’ failed with exit status 1
缺少gcc
sudo apt-get gcc
博主用的Ubuntu20系统,开始报错有的文件没有找到,执行apt-get update更新以下后成功。
4.Failed to process string with tex because latex could not be found
尝试解决:
pip install latex
仍有错误,
继续依次执行:
conda install -c conda-forge jupyter_latex_envs
conda install -c conda-forge/label/cf201901 jupyter_latex_envs
conda install -c conda-forge/label/cf202003 jupyter_latex_envs
仍然报错,
参考另一篇文章:

pip install latex
sudo apt-get install dvipng
sudo apt-get install -y texlive texlive-latex-extra texlive-latex-recommended

后成功。
5.LaTeX Error: File ‘type1ec.sty’ not found.
sudo apt install cm-super

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值