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

【本地运行错误】AssertionError [12700] Failed to execute script 'inference' due to unhandled exception! #569

Open
heibar119 opened this issue Jan 17, 2024 · 2 comments

Comments

@heibar119
Copy link

Traceback (most recent call last):
File "inference.py", line 97, in
File "utils.py", line 19, in load_checkpoint
AssertionError
[12700] Failed to execute script 'inference' due to unhandled exception!

@hzy102332
Copy link

Loading model cost 0.390 seconds.
DEBUG:jieba:Loading model cost 0.390 seconds.
Prefix dict has been built successfully.
DEBUG:jieba:Prefix dict has been built successfully.
INFO:root:Loaded checkpoint './G_latest.pth' (iteration 184)
Traceback (most recent call last):
File "inference.py", line 99, in
AttributeError: 'list' object has no attribute 'keys'
[19728] Failed to execute script 'inference' due to unhandled exception!

@daoyuanzhai
Copy link

Traceback (most recent call last): File "inference.py", line 97, in File "utils.py", line 19, in load_checkpoint AssertionError [12700] Failed to execute script 'inference' due to unhandled exception!

I got exactly the same error, did you figure out how to solve it?

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

3 participants