We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
通过python cli.py start api --ip localhost --port 8001 命令调用api时,抛出: AttributeError: 'NoneType' object has no attribute 'get'错误
python cli.py start api --ip localhost --port 8001
AttributeError: 'NoneType' object has no attribute 'get'
The text was updated successfully, but these errors were encountered:
这个错误是由于在调用 api_start之前需要先调用LoaderCheckPoint加载模型检查点,并传入加载检查点的参数, 理论上可以用click包进行包装,但过于繁琐,改动较大, 此处仍用parser包,并以models.loader.args.DEFAULT_ARGS的参数为默认参数 如有改动需要可以更改models.loader.args.DEFAULT_ARGS
Sorry, something went wrong.
Merge pull request #599 from hzg0601/dev
ff3fc48
修复[bug] #598 #601,解决通过cli.py启动api、cli失败的问题 修改cli_demo启动顺序的问题
No branches or pull requests
通过
python cli.py start api --ip localhost --port 8001
命令调用api时,抛出:AttributeError: 'NoneType' object has no attribute 'get'
错误The text was updated successfully, but these errors were encountered: