Creation of the CNN and evaluation of the model on the spectograms - python CNN.py
AkhilKR2105 opened this issue · 4 comments
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)
Do you have the same error outside Colab? I never tried running it in Colab so it is very difficult to help you.
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
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.
Thanks.
i will check and update