open-mmlab / Amphion

Amphion (/æmˈfaɪən/) is a toolkit for Audio, Music, and Speech Generation. Its purpose is to support reproducible research and help junior researchers and engineers get started in the field of audio, music, and speech generation research and development.
https://openhlt.github.io/amphion/
MIT License
5.91k stars 452 forks source link

[Help]: calc_metrics.py: error: unrecognized arguments #245

Open SylviaZiyaZhou opened 3 months ago

SylviaZiyaZhou commented 3 months ago

Problem Overview

calc_metrics.py: error: unrecognized arguments

Steps Taken

(Detail your attempts to resolve the issue, including any relevant steps or processes.)

  1. Run command: 1721106135154
  2. See errors: please refer to the screenshots

    Expected Outcome

    The arguments can be passed successfully to run the calc_metrics.py

Screenshots

1721106026785 e0fd8e96c8aeda8de9c90d181d82967

Environment Information

Additional context

(Add any other context about the problem here.)

caigun commented 3 months ago

You can edit the commands in egs/metrics/run.sh as the following:

Screenshot 2024-07-19 at 4 30 02 PM for all params that are not included here in the script but available in the calc_metrics.py, you can do it like this. I hope this works for your case!