mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #167] no response with the gradio page(app_januspro.py) ,but there is no error log #131
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#131
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 @Alexhendar on GitHub (Feb 13, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/167
Run the service with command: 【python3 app_januspro.py】
Python version is above 3.10, patching the collections module.
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/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(
Using a slow image processor as
use_fastis unset and a slow processor was saved with this model.use_fast=Truewill be the default behavior in v4.48, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor withuse_fast=False.You are using the default legacy behaviour of the <class 'transformers.models.llama.tokenization_llama_fast.LlamaTokenizerFast'>. This is expected, and simply means that the
legacy(previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, setlegacy=False. This should only be set if you understand what it means, and thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565 - if you loaded a llama tokenizer from a GGUF file you can ignore this message.Some kwargs in processor config are unused and will not have any effect: ignore_id, mask_prompt, image_tag, num_image_tokens, sft_format, add_special_token.
使用python3 app_januspro.py命令启动程序后,访问Gradio页面测试文生图功能,页面一直loading,没有图片生成,没有错误日志,哪位大佬指导一下,感谢了
@packyzhou commented on GitHub (Feb 17, 2025):
我也一样,看后台报错信息好像是代码错了,报输入模型 参数跟代码 参数类型不一致导致
@Latentnaut commented on GitHub (Feb 20, 2025):
I'm in ComfyUI and got this:
Loading model from: C:\AI\ComfyUI_windows_portable\ComfyUI\models\Janus-Pro
Some kwargs in processor config are unused and will not have any effect: sft_format, ignore_id, mask_prompt, num_image_tokens, image_tag, add_special_token.