mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2026-01-29 12:54:22 +01:00
last tweak of readme
This commit is contained in:
@@ -485,6 +485,10 @@ with decoder.one_unet_in_gpu(2):
|
||||
loss = decoder(images, unet_number = 2)
|
||||
loss.backward()
|
||||
|
||||
with decoder.one_unet_in_gpu(3):
|
||||
loss = decoder(images, unet_number = 3)
|
||||
loss.backward()
|
||||
|
||||
# do the above for many steps for both unets
|
||||
|
||||
# then it will learn to generate images based on the CLIP image embeddings
|
||||
|
||||
Reference in New Issue
Block a user