You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of doing pip freeze > requirements.txt to get all requirements in a virtual environment, you probably want to make the requirements as minimalistic as possible.
Normally, I set the dependencies myself. For instance, tensorflow likely covers half of the requirements and then you only need to write tensorflow-gpu==1.13.1.
Instead of doing
pip freeze > requirements.txt
to get all requirements in a virtual environment, you probably want to make the requirements as minimalistic as possible.Normally, I set the dependencies myself. For instance,
tensorflow
likely covers half of the requirements and then you only need to writetensorflow-gpu==1.13.1
.However, there are alternatives to
pip freeze
. I remember reading aboutpipreqs
once. Have not tried it yet, but perhaps you could?https://towardsdatascience.com/stop-using-pip-freeze-for-your-python-projects-9c37181730f9
The text was updated successfully, but these errors were encountered: