To run Docker:
Run this command in your terminal to spin up the container and run your code.
assume data path is "my/dataset/path"
If you are using Command Prompt (CMD):
docker run -v "my\dataset\path:/app/test_data" my_acoustic_model python infer.py --test_dir /app/test_data
If you are using PowerShell:
docker run -v 'my\dataset\path:/app/test_data' my_acoustic_model python infer.py
To run infer.py:
run infer.py in terminal from the path of the folder (cd folder/path) using:
python infer.py --test_dir test/dataset/path
Note:
Running through docker generates the files in the folder of the DATASET.
Directly running infer.py generates the files both in the DATASET and in the same folder.