SthPhoenix / InsightFace-REST

InsightFace REST API for easy deployment of face recognition services with TensorRT in Docker.
Apache License 2.0
488 stars 118 forks source link

Can I use it on CPU only? #90

Closed martinenkoEduard closed 2 years ago

martinenkoEduard commented 2 years ago

Can I use it on CPU only?

SthPhoenix commented 2 years ago

Yes, just run it with deploy_cpu.sh

leruge commented 2 years ago

我使用cpu启动提示我 ModuleNotFoundError: No module named 'onnxruntime' 是需要自己安装'onnxruntime'?

SthPhoenix commented 2 years ago

Previously onnxruntime was a dependency of onnx-simplifier and was installed with it, looks like now it should be specified in requirements.txt directly. I'll fix it right now.