guided-diffusion icon indicating copy to clipboard operation
guided-diffusion copied to clipboard

Make package available globally when installed

Open tnwei opened this issue 4 years ago • 0 comments

Hi! Made a little edit in setup.py such that the package is available globally when installed.

Instead of doing this in the diffusion notebooks:

!git clone https://github.com/crowsonkb/guided-diffusion
!pip install -e ./guided-diffusion
sys.path.append('./guided-diffusion')

You can do without manually adding the folder to path, simplifying to just this:

!pip install git+https://github.com/crowsonkb/guided-diffusion

tnwei avatar Nov 04 '21 07:11 tnwei