- 博客(3)
- 收藏
- 关注
原创 In PaddlePaddle 2.x, we turn on dynamic graph mode by default, and ‘load_inference_model()‘ is only
根据报错提示,我们只需要在前加上import paddle;paddle.enable_static()就可以解决了。
2023-05-15 15:11:17
233
1
原创 “module ‘cv2.cv2‘ has no attribute ‘face‘解决
重新安装命令:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ opencv-contrib-python。如果卸不干净的话根据cmd页面找到你的文件安装地址,找到cv2与opencv-contrib-python后将其删除,如果显示正在使用则把cmd页面关闭即可。这个是因为你的opencv-contrib-python没有安装好。卸载命令:pip uninstall opencv-contrib-python。
2023-05-15 13:47:14
673
1
原创 error: (-215:Assertion failed) !empty() in function ‘cv::CascadeClassifier::detectMultiScale‘
一般是这个错误出现的原因是路径错误,文件夹的名称不可以是中文只需要重命名其英文文件便可。
2023-05-15 13:40:23
914
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅