Relative Content

Tag Archive for pythontensorflowkeras

Package Version Errors

These are the packages I am trying to work with Python 3.10 and Keras Version 3.3.2 and Tensorflow version 2.16.1. I am getting errors naming that some of the modules are not present. How do I make the modules work without upgrading or degrading the versions?

How can I install tensorflow and keras for Python 3.10.2?

I tried to install the tensorflow and keras with anaconda, but I did not succeed. The advice given at this link text did not help. Could you describe in detail how to install the library for Python 3.10.2. Additional info: Windows 10, x64, Intel(R) Pentium(R) Gold G6400 CPU.
Thank you!

Why is my test accuracy always 0 when I am training my model with keras?

I am generating a model to read QR codes. I figured that I kept receiving a test accuracy of 0 and a training accuracy of 1.0 due to overfitting. Once I reduced the layers in my CNN, I got a training accuracy of 98% and training loss of 3, while a testing accuracy of 0% and a testing loss of 6.

Tensorflow ragged tensor tiling

I’m using Tensorflow 2.16.1. Ultimately, for each training sample, I need to create hidden and cell tensors for use with LSTM. Different training samples require different sized hidden/cell tensors.