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
not supported between instances of 'str' and 'int
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
@HarderThenHarder
Hi,看起来像是版本不同导致device格式不一致导致的。 您尝试下把 代码的这里 做如下修改:
device
... device=MODEL_CONFIG['device'] -> device=0
传入一个 int 类型的 GPU 索引,索引决定了模型在进行内容生成的时候具体使用哪块 GPU。
int
我打开平台,会出这个bug
NameError: name 'model' is not defined
No branches or pull requests
not supported between instances of 'str' and 'int
The text was updated successfully, but these errors were encountered: