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

running time error: Error occurred when executing LoadFlorence2Model: source code string cannot contain null bytes #6

Open
gogo7707 opened this issue Jun 25, 2024 · 1 comment

Comments

@gogo7707
Copy link

Error occurred when executing LoadFlorence2Model:
source code string cannot contain null bytes
...............................
File "F:\ComfyUI\python_embeded\Lib\site-packages\transformers\dynamic_module_utils.py", line 209, in get_class_in_module
module_spec.loader.exec_module(module)
File "", line 936, in exec_module
File "", line 1074, in get_code
File "", line 1004, in source_to_code
File "", line 241, in _call_with_frames_removed
the .cache fold can be find 2 files, C:\Users\Administrator.cache\huggingface\modules\transformers_modules\microsoft\Florence-2-base\a2f0be72f9e50b3183c8c2c28ff481bd837320f5
init.py 0KB
configuration_florence2.py 15KB
How can I solve the problem?

@spacepxl
Copy link
Owner

Try deleting the cached model to force it to re-download?

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

2 participants