DALLE-models icon indicating copy to clipboard operation
DALLE-models copied to clipboard

No outputs folder in Colab

Open hocermanc opened this issue 4 years ago • 6 comments

Using the simplified colab results in the code running properly (generating an image with the default parameters in 34s, though I don't have a reference as to if that's functioning properly or not) but the generated image does not appear. I'm not sure if "attempting to display results" means the image should appear in the colab output, but it does not in this case. No "outputs" folder is generated, and locating the directory through the code gives "Could not fetch /content/outputs/ from the backend". Creating an outputs folder still results in no image being saved there after refreshing.

Apologies if this is a rookie mistake, I'm fairly new with using Colabs

hocermanc avatar Jul 30 '21 22:07 hocermanc

I have the same issue.
AttributeError: module 'triton' has no attribute 'kernel'

If we look upstream to the DALLE-pytorch repo there was a commit to change to bind to a strict version. triton version commit

$ pip install triton==0.4.2

rhinojosa avatar Aug 01 '21 13:08 rhinojosa

I was able to get it working by changing cell 1 in the notebook, but this is likely a hack. I just re-installed the single package after installing dalle-pytorch.

!nvidia-smi
!pip install git+https://github.com/afiaka87/CLIP.git
!pip install taming-transformers
!pip install dalle-pytorch
!pip install triton==0.4.2
...
%cd dalle-pytorch-pretrained

rhinojosa avatar Aug 03 '21 13:08 rhinojosa

How would I do this inside the colab notebook?

hocermanc avatar Aug 05 '21 00:08 hocermanc

How would I do this inside the colab notebook?

Quick walkthrough

rhinojosa avatar Aug 05 '21 15:08 rhinojosa

That worked, thanks. (Though the results are often incomprehensible and do not resemble the prompt, I'm assuming this is just because of the limited training in this model)

hocermanc avatar Aug 06 '21 22:08 hocermanc

Fixed, thanks! (sorry for the wait..)

johnpaulbin avatar Aug 20 '21 14:08 johnpaulbin