keras-team / keras-tuner

A Hyperparameter Tuning Library for Keras
https://keras.io/keras_tuner/
Apache License 2.0
2.86k stars 396 forks source link

Discrepancy between keras-tuner Release v1.4.7 in github and keras-tuner 1.4.7 on pypi #1005

Closed MbProg closed 7 months ago

MbProg commented 7 months ago

Describe the bug

The source code that is available on this GitHub repository of keras-tuner 1.4.7 (https://github.com/keras-team/keras-tuner/releases/tag/v1.4.7) is different than the code that is available for keras-tuner 1.4.7 on PyPi (https://pypi.org/project/keras-tuner/1.4.7/#files). For example, if you go to the source code in GitHub you have the model tuner_utils.py in the keras_tuner.engine folder. But this and many other files are missing in PyPi keras-tuner 1.4.7. In my code, I reference the module: from keras_tuner.engine import tuner_utils and this results in a bug with the version downloaded from PyPi: ImportError: cannot import name 'tuner_utils' from 'keras_tuner.engine' I am wondering why this difference exists between these two sources. I have to mention that our company downloads the source for our artifacts from PyPi and not from GitHub.

Expected behavior

I expected that the code in PyPi has the same source than the code provided in GitHub.