kkoutini / PaSST

Efficient Training of Audio Transformers with Patchout
Apache License 2.0
287 stars 48 forks source link

No module named 'ba3l.ingredients' #1

Closed kimsojeong1225 closed 2 years ago

kimsojeong1225 commented 2 years ago

hi, i want to train the PaSST with Audioset But when i runed "ex_audioset.py", i faced error: "No module named 'ba3l.ingredients" I already finished setting up the environment as follow the Readme how can i fix it

kkoutini commented 2 years ago

Hi, can you check if Ba3l is installed

pip list | grep ba3l 

if so can you post a full trace?

WangHelin1997 commented 2 years ago

The same error

kimsojeong1225 commented 2 years ago

Thanks, I attach my trace full code Passt_setting_code.txt

kkoutini commented 2 years ago

I couldn't reproduce the problem locally but I'm guessing it should be a problem with the missing __init__.py files which are fixed in the this commit https://github.com/kkoutini/ba3l/commit/936cdb15b0e81130e2549e9b013feed04bba9b42

I recommend trying to uninstall ba3l package, and reinstalling the updated version

pip uninstall ba3l
pip install -e 'git+https://github.com/kkoutini/ba3l@v0.0.2#egg=ba3l'

Let me know if the problem persists.

kimsojeong1225 commented 2 years ago

The error is done ! Thanks :+1: