Closed Varuzhan97 closed 4 years ago
did you install all requirements with pip install -r requirements.txt
or did you install things by yourself?
I have installed somethings by me somethings by requirements.
On Thu, 16 Jan 2020 at 14:45, Christian Bartz notifications@github.com wrote:
did you install all requirements with pip install -r requirements.txt or did you install things by yourself?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HPI-DeepLearning/crnn-lid/issues/17?email_source=notifications&email_token=AIR4WNT3DPPEELKODBGDRFLQ6A3EVA5CNFSM4KHHOYEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJDTVWA#issuecomment-575093464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIR4WNWD7A4ISTBGQ2Y4IJLQ6A3EVANCNFSM4KHHOYEA .
you get this error, because your version of scipy is too new. So, either you install the correct version, or you fix the problem yourself.
which one is the correct version?
the one in the file requirements.txt
:wink:
ok. thanks
I have done how you said. I have installed all requirements. Now error is:
('SpectrogramGenerator Exception: ', IOError(2, 'No such file or directory'), '/home/varuzhan/Desktop/crnn-lid-master/keras/aaa.mp3')
Traceback (most recent call last):
File "/home/varuzhan/Desktop/crnn-lid-master/keras/predict.py", line 41, in
are you sure the file /home/varuzhan/Desktop/crnn-lid-master/keras/aaa.mp3
exists? The program can not find this file.
Problem was with requirements. I have solved it.
@Varuzhan97 How did you solve the problem of requirements.txt? Can you please add to your repo?
command: python3 predict.py --model 2017-01-31-14-29-14.CRNN_EN_DE_FR_ES_CN_RU.model --input aaa.wav
error: Traceback (most recent call last): File "predict.py", line 7, in
from data_loaders.SpectrogramGenerator import SpectrogramGenerator
File "/home/varuzhan/Desktop/crnn-lid-master/keras/data_loaders/init.py", line 2, in
from .image_loader import ImageLoader
File "/home/varuzhan/Desktop/crnn-lid-master/keras/data_loaders/image_loader.py", line 2, in
from scipy.misc import imread
ImportError: cannot import name 'imread'