mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #24] Potential Bug Report: "do_normalize" setting in image preprocessor config #17
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#17
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 @Junction4Nako on GitHub (Oct 30, 2024).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/24
Thanks for the great work!
I find that the current setting for "do_normalize" in the image preprocessor config is set to False, which does not align with the original setting in SigLIP (https://huggingface.co/google/siglip-large-patch16-384/blob/main/preprocessor_config.json)
I conduct a simple test by inputting a red image into Janus with two settings:
Therefore, I think there might be a bug in the current config.
Could you please check it? Thank you and look forward to your reply.
@charlesCXK commented on GitHub (Nov 14, 2024):
@Junction4Nako
Sorry for the late reply. We have reviewed the corresponding files and found that
do_normalizeshould indeed be set to true. We've already updated the relevant files (huggingface.co/deepseek-ai/Janus-1.3B@98b20d076c). Thank you for your kind reminder!