wangkebin / personalvoice

0 stars 0 forks source link

modelmaker fails at spec = audio_classifier.BrowserFftSpec() #2

Open wangkebin opened 4 months ago

wangkebin commented 4 months ago

Env: running modelmaker with WSL@, Python3.9, and Jupyter Notebook. ISsue: The stepspec = audio_classifier.BrowserFftSpec() failed with permission denied on files and folders at /.keras/model_maker/

Cause: JupyterNotebook used a different user to create these files and did not give proper permission to current user.

Workaround -- add x permission to folders and r, w permission to files sudo chmod a+x folder

Solution: Update script to use current user when generating files.