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

Missing requirements.txt #5

Open
AntonioGiovanniSchiavone opened this issue Aug 3, 2024 · 2 comments
Open

Missing requirements.txt #5

AntonioGiovanniSchiavone opened this issue Aug 3, 2024 · 2 comments

Comments

@AntonioGiovanniSchiavone

Here is the translated text:

"The requirements.txt file is missing, so it is necessary to inspect each file to understand which libraries are required."

@uPeppe
Copy link
Owner

uPeppe commented Aug 4, 2024

It's mostly libraries that get pre-installed with Anaconda environment (https://www.anaconda.com/), a popular distribution for Python, useful for data science and machine learning

Tensorflow, Numpy, Pandas, BeautifulSoap, ... Basic libraries, really

@AndreaCovelli
Copy link

@uPeppe The code doesn't work with Keras 3 which is the last version of keras. To make the code executing without any errors I needed to downgrade to keras 2.

The error was:

ValueError: A KerasTensor cannot be used as input to a TensorFlow function. A KerasTensor is a symbolic placeholder for a shape and dtype, used when constructing Keras Functional models or Keras Functions. You can only use it as input to a Keras layer or a Keras operation (from the namespaces keras.layers and keras.operations).

Reference link.

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