Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Quality degradation after many frames with no action conditioning

Aperta
#35 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by reproducing the degradation with inference.py and inference_streaming.py using configs/inference_yaml/inference_universal.yaml, the listed checkpoint and demo_images/universal/0011.png. Compare long runs with zero mouse and keyboard conditioning against the reported outputs, then trace the relevant generation path to determine whether the behavior is expected. Done means the cause is documented and the quality degradation is resolved or an evidence-backed mitigation is identified.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I observed that after generating many blocks of frames without action conditioning (i.e. mouse input = "u", keyboard input = "q") the frames show the same scene but there is quality degradation (eg distortion, visual artifacts) over time.

This can be reproduced with both inference.py and inference_streaming.py using this branch which contains a small change to generate mouse and keyboard condition tensors with all zeros (i.e. no mouse or keyboard input).

For inference.py, I used this command:

python inference.py \                                                
 --config_path configs/inference_yaml/inference_universal.yaml \                                                                              
 --checkpoint_path Matrix-Game-2.0/base_distilled_model/base_distill.safetensors \                                                            
 --img_path demo_images/universal/0011.png \                                                                                                  
 --output_folder outputs \                                                                                                                    
 --num_output_frames 150 \                                                                                                                    
 --seed 42 \                                                                                                                                  
 --pretrained_model_path Matrix-Game-2.0     

This is the resulting video:

https://github.com/user-attachments/assets/45960183-82d8-499d-863f-ad2888d49764

For inference_streaming.py, I used this command:

python inference_streaming.py \
 --config_path configs/inference_yaml/inference_universal.yaml \
 --checkpoint_path Matrix-Game-2.0/base_distilled_model/base_distill.safetensors \
 --output_folder outputs \
 --seed 42 \
 --pretrained_model_path Matrix-Game-2.0                                        

And also used demo_images/universal/0011.png as the input image and repeatedly entered "u" for mouse input and "q" for keyboard input.

This is the resulting video:

https://github.com/user-attachments/assets/cd6da561-ae44-46b5-8dbd-ac1c966bfaef

Is this known/expected behavior? If so, I'm wondering if anyone has thoughts on the best way to avoid the quality degradation because as-is any pause in action resulting in a static scene would cause the quality to degrade. A workaround might be to skip frame generation when there are no actions, but I think the downside of that you would lose the ability to get frames for the same scene with minor animation details eg changes in the water for the demo image used above.

Lingua principale
Python
Stelle
2.3k
Fork
256
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SkyworkAI/Matrix-Game

Tutte le issue di SkyworkAI/Matrix-Game

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.