kuprel / min-dalle

min(DALL·E) is a fast, minimal port of DALL·E Mini to PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use a virtual environment to install dependecies

atoav opened this issue · comments

A short gaze at setup.sh told me that this script installs the dependencies in requirements.txt directly to the systems python installation. This is typically not considered good practise (as far as I know), so it might be a good idea to prompt users for permission first.

Alternatively installing everything to a venv might be a different solution that keeps the system python "clean".

The script works though if you first initialize and activate a virtual env before running the script.

I like @toabi 's suggestion