Real-time-voice-cloning: demo_cly.py : TypeError("argument of type 'WindowsPath' is not iterable")

Created on 12 Jul 2019  路  9Comments  路  Source: CorentinJ/Real-Time-Voice-Cloning

Every time I try a filepath in demo_cli.py I get the same error:
Caught exception: TypeError("argument of type 'WindowsPath' is not iterable")

I don't know what am I doing wrong.
How should be the filepath formatted?

PS -> demo_toolbox.py is 100% working.

All 9 comments

What do you give as input?

I tried every type of path.
From windows like to unix like.

Absolut filepath
c:\path\to\file
/path/to/file
also a mixture:
c:/path/to/file

also local file path
path/to/file
file
to/file

(btw great job, congrats!!!!!!)

Thanks. What's your python version? Do your packages meet the minimum requirements in the requirements.txt?

Yes, also installed ffmpeg. Python 3.7

I am having the same issue. Did you ever figure out the problem?

I'd be great if one of you guys could hop into a debugger and see where it happens.

I had the same problem and the error for me was fixed by only using .wav files.

I had the same problem and the error for me was fixed by only using .wav files.

Fine, closing the Issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hnjiakai picture hnjiakai  路  4Comments

giorgionanfa picture giorgionanfa  路  5Comments

willshion picture willshion  路  9Comments

nav1-code picture nav1-code  路  16Comments

fazlekarim picture fazlekarim  路  3Comments