Hi,
Thank you for sharing this great work! I have been following the provided instructions to fine-tune the AMT model, but I encountered issues when performing inference with the trained model. Specifically, the model does not generate a MIDI file correctly. Below are the details of my setup and observations:
My Setup:
- GPU: 1 × NVIDIA A100 (40GB) (instead of 2 × A100 as in the paper)
- Batch size: 2 (instead of 8 due to memory constraints)
- Followed all preprocessing steps as described in the README
- Used the default config.json without modifications
Issues Observed:
After fine-tuning the model, I attempted inference using my trained parameters. However, the model consistently fails to generate any notes in the MIDI output. Below are some key observations:
- Feature Extraction (wav2feature): The extracted feature tensors appear reasonable and match the paper’s expected shapes.
- Onset, Offset, Frame, and Velocity Predictions (transcript): The maximum values of the predicted matrices are significantly lower than those reported in the paper.
- My model’s output:
- onset max: 0.046
- offset max: 0.0079
- frame max: 0.318
- velocity max: 0 (no velocity information detected)
- Paper’s reported output:
- onset max: 0.766
- offset max: 0.704
- frame max: 0.998
- velocity max: 105
- MIDI Output (note2midi): Since all activation values are low, the model detects 0 notes and does not generate a MIDI file.
Possible Causes & Questions:
- Could the batch size reduction (from 8 to 2) be the reason for this degradation? If so, do you recommend adjusting the learning rate, batch normalization, or any other hyperparameters to compensate?
- Does training on a single GPU affect the results significantly due to different gradient accumulation behavior?
- Are there any additional hyperparameter adjustments that might help when training with a smaller batch size?
I’d really appreciate any insights or recommendations on how to improve the fine-tuning performance and MIDI output quality. Thanks in advance for your help!
Hi,
Thank you for sharing this great work! I have been following the provided instructions to fine-tune the AMT model, but I encountered issues when performing inference with the trained model. Specifically, the model does not generate a MIDI file correctly. Below are the details of my setup and observations:
My Setup:
Issues Observed:
After fine-tuning the model, I attempted inference using my trained parameters. However, the model consistently fails to generate any notes in the MIDI output. Below are some key observations:
Possible Causes & Questions:
I’d really appreciate any insights or recommendations on how to improve the fine-tuning performance and MIDI output quality. Thanks in advance for your help!