k-farruh / speech-accent-detection

The human speaks a language with an accent. A particular accent necessarily reflects a person's linguistic background. The model defines accent based audio record. The result of the model could be used to determine accents and help decrease accents to English learning students and improve accents by training.
MIT License
54 stars 12 forks source link

Pkl file not found #1

Open himanshu03vsk opened 2 years ago

himanshu03vsk commented 2 years ago

hey i was trying to run the code locally and it throwed me the error accent_df = CombineAndCreateDF(dir_external, dir_interim) File "c:\Users\Asus\Desktop\speech-accent-detection-master\src\data\make_dataset.py", line 221, in init with open(path_df_audioaccent, 'rb') as input: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Asus\Desktop\speech-accent-detection-master\data\interim\df_accent_gmu.pkl'

can you help me please?

k-farruh commented 2 years ago

Hi, you need to define the location where to save the model. First, you need to train the model, then you can read from the saved location

Best regards, Kushnazarov Farruh Wednesday, 11 May 2022, 05:48PM +08:00 from himanshu03vsk @.*** :

hey i was trying to run the code locally and it throwed me the error accent_df = CombineAndCreateDF(dir_external, dir_interim) File "c:\Users\Asus\Desktop\speech-accent-detection-master\src\data\make_dataset.py", line 221, in init with open(path_df_audioaccent, 'rb') as input: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Asus\Desktop\speech-accent-detection-master\data\interim\df_accent_gmu.pkl' can you help me please? — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you are subscribed to this thread. Message ID: @ github . com>