LAION-AI / LAION-AI/CLAP

Import Model for tiny not found, or the audio cfg parameters are not enough.

Open
#83 9 comments 0 reactions 1 assignee View on GitHub

@lukewys is already working on this.

Since Mar 23, 2023.

Dominant language
Python
Stars
2.3k
Forks
213
PR merge metrics
No merged PRs in 30d

Description

Hello everyone, thanks for the great contribution that is CLAP!

I'm running into the following error when running CLAP:

Exception has occurred: RuntimeError
Import Model for tiny not found, or the audio cfg parameters are not enough.
SystemError: initialization of _internal failed without raising an exception

During handling of the above exception, another exception occurred:

  File "/home/aframires/CLAP/experiment.py", line 8, in <module>
    model = laion_clap.CLAP_Module(enable_fusion=True)
RuntimeError: Import Model for tiny not found, or the audio cfg parameters are not enough.

This happens on the line 8 (model = laion_clap.CLAP_Module(enable_fusion=True)) of:

import pickle
import laion_clap
from multiprocessing import Pool
import argparse
import glob
import os

model = laion_clap.CLAP_Module(enable_fusion=True)
model.load_ckpt()

I've installed CLAP by running

pip install laion_clap

and it is running on WSL2.

I've tried to find similar errors on the issue list but could not find any. Sorry if it is repeated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.