Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

转换成mindir文件后想应用部署上线但一直部署失败,报错日志如下 #259

Closed
HwangYunJin opened this issue Jan 4, 2024 · 1 comment
Assignees

Comments

@HwangYunJin
Copy link

[2024-01-04 09:05:14 +0800] [46] [INFO] Starting gunicorn 20.1.0
[2024-01-04 09:05:14 +0800] [46] [INFO] Listening at: http://172.16.0.78:8443 (46)
[2024-01-04 09:05:14 +0800] [46] [INFO] Using worker: gthread
[2024-01-04 09:05:14 +0800] [49] [INFO] Booting worker with pid: 49
start. . .
2024-01-04 09:05:14 CST [MainThread ] - /home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/model_service/app.py[line:50] - INFO: args: Namespace(model_name='serve', model_path='/home/ma-user/infer/model/1', service_file='', tf_server_name='127.0.0.1')
[2024-01-04 09:05:14 +0800] [49] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
worker.init_process()
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/gunicorn/workers/gthread.py", line 92, in init_process
super().init_process()
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/site-packages/gunicorn/util.py", line 359, in import_appmod = importlib.import_module(module)
File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "

@zhanghuiyao
Copy link
Collaborator

可以尝试下 MSLite 方式部署,文档参考如下:
https://github.com/mindspore-lab/mindyolo/tree/master/deploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants