ByteDance-Seed / ByteDance-Seed/Bagel

update_context_image 之前为什么加vae_transform.resize_transform

Open
#258 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.2k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

https://github.com/ByteDance-Seed/Bagel/blob/main/inferencer.py#L249
为什么在图像更新上下文时需要按照vae_transform进行resize

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with inferencer.py around line 249 and trace the update-context image path, including where vae_transform.resize_transform is applied. Compare the image shapes before and after this step and explain the rationale in the issue or relevant documentation; done means the purpose and expected behavior are clearly recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.