Ubuntu LabelMe AI 识别

1.创建虚拟环境

conda create -n labelme python=3.9

2.激活虚拟环境

conda activate labelme

3.安装labelme

pip install pyqt5 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install pillow -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install labelme -i https://pypi.tuna.tsinghua.edu.cn/simple

4.开启AI辅助识别(需要特殊网络环境下载模型)

# 特殊环境,启动labelme
all_proxy=socks5://127.0.0.1:1080 labelme

5.解决AI辅助识别中发生的一些错误

ValueError: This ORT build has ['AzureExecutionProvider', 
'CPUExecutionProvider'] enabled. Since ORT 1.9, 
you are required to explicitly set the providers parameter when instantiating InferenceSession. 
For example, onnxruntime.InferenceSession(..., providers=['AzureExecutionProvider', 'CPUExecutionProvider'], ...)
Aborted (core dumped)

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值