enpeizhao / CVprojects

computer vision projects | 计算机视觉相关好玩的AI项目(Python、C++、embedded system)
2.23k stars 675 forks source link

结印代码希望在 mac 下运行 #5

Open fanxy1 opened 2 years ago

enpeizhao commented 2 years ago

MAC没有CUDA环境,暂时不好移植

lulurelax commented 2 years ago

MAC已经跑起来了,但是不建议。CPU只能跑1fps

fanxy1 commented 2 years ago

MAC已经跑起来了,但是不建议。CPU只能跑1fps

怎么跑呢,求操作步骤

enpeizhao commented 2 years ago

@bill1997603 可以看一下另一个分支, @lewisgit 贡献了macOS的运行方式,但受硬件限制帧率比较低

fanxy1 commented 2 years ago

@bill1997603 可以看一下另一个分支, @lewisgit 贡献了macOS的运行方式,但受硬件限制帧率比较低

👌

fanxy1 commented 2 years ago

python3 codes/8.结印识别/main/train.py

Traceback (most recent call last): File "/Users/fxy/PycharmProjects/CVprojects/codes/8.结印识别/main/train.py", line 84, in main() File "/Users/fxy/PycharmProjects/CVprojects/codes/8.结印识别/main/train.py", line 34, in main args = parse_args() File "/Users/fxy/PycharmProjects/CVprojects/codes/8.结印识别/main/train.py", line 21, in parse_args assert 0, "Please set propoer gpu ids" AssertionError: Please set propoer gpu ids

这个怎么指定 gpu ids 呢? @lewisgit