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

size mismatch for base model

Aperta
#39 3 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, pytorch

Direzione di ricerca

Start from the inference initialization path that loads the provided base_model checkpoint and inspect the keyboard_embed parameter shapes shown in the error. Check how the model configuration and checkpoint define the two extra dimensions, then verify that inference completes without the reported size mismatch.

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

Descrizione

Hi, when I use the provided base_model to make an inference, during initialization, it report an error

size mismatch for blocks.xx.action_model.keyboard_embed.0.weight: copying a param with shape torch.Size([128, 6]) from checkpoint, the shape in current model is torch.Size([128, 4]).

What do these two extra dimensions represent?

Could you please guide me on how to resolve this issue?
I truly appreciate your help.

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.