ValueError: some of the strides of a given numpy array are negative.
解决方法: link.
RuntimeError: a leaf Variable that requires grad is being used in an in-place operation.
原因:link.
解决方法:在报错行前面加上
torch.set_grad_enabled(False)
pip install package 报错: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
证书问题:
解决方法:pip install package-name --trusted-host pypi.tuna.tsinghua.edu.cn --trusted-host pypi.python.org
TypeError: can’t pickle cv2.VideoCapture objects
解决办法是:https://github.com/MVIG-SJTU/AlphaPose/issues/185
python demo.py --indir examples/demo/ --outdir examples/results/ --save_img --sp
最后一个加入–sp
cv2没有函数提示
解决办法:site-packages/cv2/cv2.pyd 这个 cv2.pyd 复制一份到 site-packages 中去