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

Creation of the CNN and evaluation of the model on the spectograms - python CNN.py #12

Open
AkhilKR2105 opened this issue May 22, 2022 · 4 comments

Comments

@AkhilKR2105
Copy link

while running this code in google colab I am getting this error.


InvalidArgumentError Traceback (most recent call last)

in ()
311
312 if name == 'main':
--> 313 main()
314

3 frames

/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
53 ctx.ensure_initialized()
54 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 55 inputs, attrs, num_outputs)
56 except core._NotOkStatusException as e:
57 if name is not None:

InvalidArgumentError: Graph execution error:


![Capture](https://user-images.git

The full error is attached in the text file below. Please help me to understand this issue.

CNN_training_Error.txt
hubusercontent.com/100077429/169679398-ea893a4a-f382-43a0-a50c-5bd18c4573fa.PNG)

@SMorettini
Copy link
Owner

Do you have the same error outside Colab? I never tried running it in Colab so it is very difficult to help you.

@AkhilKR2105
Copy link
Author

I didn't tried it in any other IDEs. I will try to run the same code in some other IDEs
could you please tell me is there any dependency for tensorflow 1.10.0 for this code working. Now my tensorflow version is 2.8.0

@SMorettini
Copy link
Owner

As it is written in the README, the code was developed for tensorflow 1.10.0. I don't know if it work also for newer versions. If it works with newer versions feel free to create a pull request to update the README. But since the code is very old I think that it will not work with newer versions.

@AkhilKR2105
Copy link
Author

Thanks.

i will check and update

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

2 participants