mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #153] 我可以正常运行deepseek-ai/Janus-1.3B模型,当我切换到Janus-Pro-1B模型,会报异常deepseek-ai/Janus-Pro-1B does not appear to have a file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt or flax_mode… #118
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/Janus#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @piterpig on GitHub (Feb 8, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/153
(myJanus) PS D:\project\Janus> python .\demo\app.py
Python version is above 3.10, patching the collections module.
D:\project\Janus\myJanus\lib\site-packages\transformers\models\auto\image_processing_auto.py:590: FutureWarning: The image_processor_class argument is deprecated and will be removed in v4.42. Please use
slow_image_processor_class, orfast_image_processor_classinsteadwarnings.warn(
Traceback (most recent call last):
File "D:\project\Janus\demo\app.py", line 18, in
vl_gpt = AutoModelForCausalLM.from_pretrained(model_path,
File "D:\project\Janus\myJanus\lib\site-packages\transformers\models\auto\auto_factory.py", line 564, in from_pretrained
return model_class.from_pretrained(
File "D:\project\Janus\myJanus\lib\site-packages\transformers\modeling_utils.py", line 3880, in from_pretrained
raise EnvironmentError(
OSError: deepseek-ai/Janus-Pro-1B does not appear to have a file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt or flax_model.msgpack.
@yanghui1-arch commented on GitHub (Feb 23, 2025):
估计模型文件没下载完整,如果是下载到本地,看下你的本地文件