Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

size mismatch for base model

オープン
#39 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python, pytorch

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
2.3k
フォーク
256
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SkyworkAI/Matrix-Game のほかの issue

SkyworkAI/Matrix-Game の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。