Traceback (most recent call last): File "/home/meow/ACE-Step/trainer.py", line 853, in…
- User
Traceback (most recent call last): File "/home/meow/ACE-Step/trainer.py", line 853, in main(args) File "/home/meow/ACE-Step/trainer.py", line 786, in main model = Pipeline( File "/home/meow/ACE-Step/trainer.py", line 93, in init self.mert_model = AutoModel.from_pretrained( File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 568, in from_pretrained return model_class.from_pretrained( File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/modeling_utils.py", line 272, in _wrapper return func(*args, **kwargs) File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4401, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/home/meow/.cache/huggingface/modules/transformers_modules/m-a-p/MERT-v1-330M/0e06c986db0527c0fd1b47181c40f006805e3de0/modeling_MERT.py", line 92, in init self.encoder = HubertEncoderStableLayerNorm(config) File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/models/hubert/modeling_hubert.py", line 1023, in init self.pos_conv_embed = HubertPositionalConvEmbedding(config) File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/models/hubert/modeling_hubert.py", line 275, in init if config.conv_pos_batch_norm: File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/configuration_utils.py", line 214, in getattribute return super().getattribute(key) AttributeError: 'MERTConfig' object has no attribute 'conv_pos_batch_norm'
- Assistant
- User
where is the mert config located in wsl
- Assistant
- User
- Assistant
- User
I cannot find the config anywhere
- Assistant
- User
could it be because I don't have transformers set for offline?
- Assistant
- User
remove folder wsl?
- Assistant
If you want to remove a folder inside WSL (Windows Subsystem for Linux), you can do it using Linux command line tools inside your WSL terminal.
How to remove a folder (directory) in WSL
-
Open your WSL terminal (e.g., Ubuntu, Debian, etc.).
-
To delete a folder and all its contents recursively, use the
rm -rfcommand:
rm -rf /path/to/the/folderWarning: Be very careful with
rm -rf! If you specify the wrong path, you can delete important files or system folders.
Example: Remove the MERT cache folder
For example, to remove the Hugging Face cache folder for MERT-v1-330M:
rm -rf ~/.cache/huggingface/modules/transformers_modules/m-a-p/MERT-v1-330MOr if your cache is stored somewhere else, replace the path accordingly.
-
- User
is this path right? python trainer.py --dataset_path "home\meow\ACE-Step\Zen\dataset.json" --checkpoint_dir "home\meow.cache\ace-step\checkpoints" --exp_name "your_experiment_name"
- Assistant
The paths you used in your command look like Windows-style paths (
home\meow\ACE-Step\Zen\dataset.json), but inside WSL (Linux environment), paths should use forward slashes/instead of backslashes\.
Correct path format in WSL:
Assuming your files are under your Linux home directory
/home/meow/, the correct paths should be:python trainer.py --dataset_path "/home/meow/ACE-Step/Zen/dataset.json" --checkpoint_dir "/home/meow/.cache/ace-step/checkpoints" --exp_name "your_experiment_name"
Additional tips:
- Always make sure the absolute paths start with
/home/..., not justhome/... - Using quotes around paths with special characters or spaces is good practice.
- You can verify the path exists with
ls /home/meow/ACE-Step/Zen/dataset.jsonbefore running the command.
Summary
Incorrect:
- Always make sure the absolute paths start with
- User
- Assistant
- User
- Assistant