Bash Error with New inference_tts.ipynb
Hello, I was going through the readme, and everything seemed to be working fine, until I got an error on cell 2. I'm not sure if it's an environment error, so apologies if that's the case.
Platform: Windows WSL2 File: inference_tts.ipynb Code:
# install MFA models and dictionaries if you haven't done so already
!source ~/.bashrc && \
conda activate voicecraft && \
mfa model download dictionary english_us_arpa && \
mfa model download acoustic english_us_arpa
Error: Output:
/bin/bash: line 1: /home/zak/.bashrc: No such file or directory
I ran into this same issue. A temporary work around is to type 'docker exec -it jupyter /bin/bash' in PowerShell or CMD and type the shell commands into the shell instead of running them in the notebook. After entering the shell be sure to navigate to the 'work' directory. Comment the following out of the notebook:
!source ~/.bashrc &&
conda activate voicecraft &&
mfa model download dictionary english_us_arpa &&
mfa model download acoustic english_us_arpa
Run the following in PowerShell or Cmd Prompt.
conda activate voicecraft &&
mfa model download dictionary english_us_arpa &&
mfa model download acoustic english_us_arpa
In block 7 of the notebook comment out the following and run that section of notebook.
!source ~/.bashrc &&
conda activate voicecraft &&
mfa align -v --clean -j 1 --output_format csv {temp_folder}
english_us_arpa english_us_arpa {align_temp}
and then run the following in the PowerShell or CMD Prompt: mfa align -v --clean -j 1 --output_format csv ./demo/temp english_us_arpa english_us_arpa ./demo/temp/mfa_alignments
The remainder of the notebook should work. It did for me. Good luck.