kkoutini / PaSST

Efficient Training of Audio Transformers with Patchout
Apache License 2.0
305 stars 50 forks source link

Installation issues #17

Open p4vlos opened 2 years ago

p4vlos commented 2 years ago

Hi, I am trying to install and run the PaSST-S method on my own data but I get this error when I run python ex_audioset.py help

File "ex_audioset.py", line 16, in <module>
    from helpers.mixup import my_mixup
ModuleNotFoundError: No module named 'helpers.mixup'
kkoutini commented 2 years ago

Hi, make sure you are in the correct path. if you are in the project path, you should be able to do:

$ python                                                                      
Python 3.8.5 (default, Sep  4 2020, 07:30:14) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from helpers.mixup import my_mixup