Skip to content

sam-audio-judge sam_audio branch still has mismatched config and weights #87

@Curry959

Description

@Curry959

Description

I followed the instructions from #46 and #23 to download the sam-audio-judge model from the sam_audio branch, but I'm still getting errors.

First, I encountered:

TypeError: SAMAudioJudgeConfig.__init__() got an unexpected keyword argument 'dac_vae_encoder'

After adding **kwargs to SAMAudioJudgeConfig.__init__() to bypass this, I now get:

RuntimeError: Error(s) in loading state_dict for SAMAudioJudgeModel:
Missing key(s) in state_dict: "data_proj.weight", "data_proj.bias", "audio_codec.encoder.block.0.bias", ...

Steps to Reproduce

  1. Clone the sam-audio repo (main branch)
  2. Download facebook/sam-audio-judge with --revision sam_audio
  3. Run inference with sam-audio-large

Environment

  • Python: 3.11
  • sam-audio: Installed from source (main branch)
  • Model: facebook/sam-audio-judge (sam_audio branch, downloaded on Feb 3, 2026)

Question

It seems the sam_audio branch of facebook/sam-audio-judge has been updated and is no longer compatible with the current codebase.

  1. Is there an older version of the sam-audio-judge weights that works with the current code?
  2. Or is there an updated version of the code that works with the new weights?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions