huggingface / huggingface/diffusers
Generated image is cropped when using smaller output size to reduce VRAM and processing time in Flux Kontext
- Lingua principale
- Python
- Stelle
- 34.5k
- Fork
- 7.3k
- Merge medio
- 3g 3h
- PR unite (30g)
- 91
Descrizione
Use `max_area` in FluxKontextPipeline, default `max_area=1024**2`. I set `max_area=768**2`, and output is cropped
Original image:

Output with `max_area=1024**2`:
Output with `max_area=768**2`:
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with FluxKontextPipeline and reproduce the reported behavior using max_area=1024**2 and max_area=768**2. Compare the generated outputs with the original image and trace how the smaller max_area is applied; done means the reduced-size output is not unexpectedly cropped.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python, pytorch
- Ambito
- computer-vision, machine-learning
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100