Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on Error of Invalid Instruction (core dumped) #11

Open
ashwinijha6 opened this issue Jan 26, 2021 · 5 comments
Open

Question on Error of Invalid Instruction (core dumped) #11

ashwinijha6 opened this issue Jan 26, 2021 · 5 comments

Comments

@ashwinijha6
Copy link

Hey @vbelz I had a question :
While running the python main.py --mode='data_creation' I get the error Invalid Instruction (core dumped)
I guess it because of the tensorflow version (1.15.2) as my cpu does not support AVX
But it would not give an error if I use tensorflow version (1.5)

If I want to use the same version of tensorflow that is 1.15.2 what could be an alternative?

@vbelz
Copy link
Owner

vbelz commented Jan 26, 2021 via email

@ashwinijha6
Copy link
Author

Hey Ashwini, Not sure why you get this error. You could switch to version 1.15 if it works. Thanks Vincent Le mar. 26 janv. 2021 à 07:59, Ashwini Jha [email protected] a écrit :

Hey @vbelz https://github.com/vbelz I had a question : While running the python main.py --mode='data_creation' I get the error Invalid Instruction (core dumped) I guess it because of the tensorflow version (1.15.2) as my cpu does not support AVX But it would not give an error if I use tensorflow version (1.5) If I want to use the same version of tensorflow that is 1.15.2 what could be an alternative? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#11>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHCRMFIV3V4UXRN24DIMNLS32OBBANCNFSM4WTIFG7Q .

Sorry @vbelz it is Illegal instruction (core dumped) & I guess it is because my cpu does not support avx.
Tensorflow version higher than 1.5 need support of avx. Check this out once
https://tech.amikelive.com/node-887/how-to-resolve-error-illegal-instruction-core-dumped-when-running-import-tensorflow-in-a-python-program/

@ashwinijha6
Copy link
Author

ashwinijha6 commented Jan 26, 2021

hey @vbelz I just resolved the error by downgrading the tensorflow version to 1.5 & librosa to 0.7.2 & numba to 0.48
Just wanted to know I have used .wav noise files (400 in number) & .flac voice files (402 in number) & after running python main.py --mode=='data_creation' I get the spectrograms in .npy format (as shown in the screenshots) would it be good for training. What do you recommend? Should I increase the number of frames to 40000 as you mentioned in the README.md
spectrogram

@jacktheripper-17
Copy link

@ashwinijha6 Hi, are you getting any issues in the prediction stage? Especially when giving your own file as an argument in the command line?

@ashwinijha6
Copy link
Author

@ashwinijha6 Hi, are you getting any issues in the prediction stage? Especially when giving your own file as an argument in the command line?

Hey @jacktheripper-17 I just used the command line for data creation using data creation mode but for training & prediction I used colab notebook which is available in the project here
taking the .npy files as data that was created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants