-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'qa_mdt' #21
Comments
cd .. |
i get same error even after renaming main folder, running command from within qa_mdt folder where i cloned the repo: Traceback (most recent call last): Later edit: i also renamed folder openmusic from withing the repo folder, but getting same error Later edit 2:
to
|
For the first question, i recommond you to add: sys.path.append('path/to/father_folder_of_qa_mdt')` For the second, you are right, you can pull a request~ |
i tried with sys.path.append('~/OpenMusic'), but got same error Traceback (most recent call last): Later edit: this new error seems related to huggingface/huggingface-inference-toolkit#92 what gradio version should i use? |
trying sys.path.append('/home/user/OpenMusic') is correct for the new error, so sorry i have forgot the gradio version, but you can also try to see this video for specific details Youtube video on how to run this project locally Any problems feel free here |
was able to pinpoint to this working gradio version also along the way i had to fix many many conflicts and dependency issues in requirements files using python 3.10 in the end i was able to get the local server to run in http://127.0.0.1:7860/, by running but now i get another error and generation doesn't work:
Later edit: i think i have to download the models. sorry i'm new to this project. just setting it up |
these are the steps I followed so far:
|
in the readme is specified "Down the main checkpoint of our QA-MDT model from https://huggingface.co/lichang0928/QA-MDT" also "Before training, you need to download extra ckpts needed in ./audioldm_train/config/mos_as_token/qa_mdt.yaml and offset_pretrained_checkpoints.json where should i put these checkpoint files? also do i need to edit those yaml and json, how? thank you later edit: i found that main checkpoint (13504339928 B checkpoint_389999.ckpt) is already in the openmusic folder and qa_mdt (renamed) folders, which are actually duplicate folders, occupying a lot of space >64GB. the python script gradio_app.py shouldn't download it again after renaming into qa_mdt |
i modified in script gradio/gradio_app.py, so that it goes into folder qa_mdt directly (to prevent duplication) os.system('git clone https://huggingface.co/jadechoghari/openmusic') |
REF #9 |
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sentence-transformers 3.3.1 requires transformers<5.0.0,>=4.41.0, but you have transformers 4.30.2 which is incompatible.
Successfully installed torch-2.3.0+cu121 torchvision-0.18.0+cu121
Traceback (most recent call last):
File "/content/AudioLDM2/OpenMusic/gradio/gradio_app.py", line 19, in
from qa_mdt.pipeline import MOSDiffusionPipeline
ModuleNotFoundError: No module named 'qa_mdt'
The text was updated successfully, but these errors were encountered: