update sample, and set default gradient clipping value for decoder training

This commit is contained in:
Phil Wang
2022-05-16 17:38:30 -07:00
parent ae056dd67c
commit bb86ab2404
4 changed files with 5 additions and 5 deletions

View File

@@ -18,11 +18,11 @@ There was enough interest for a <a href="https://github.com/lucidrains/dalle2-ja
- A research group has used the code in this repository to train a functional diffusion prior for their CLIP generations. Will share their work once they release their preprint. This, and <a href="https://github.com/crowsonkb">Katherine's</a> own experiments, validate OpenAI's finding that the extra prior increases variety of generations. - A research group has used the code in this repository to train a functional diffusion prior for their CLIP generations. Will share their work once they release their preprint. This, and <a href="https://github.com/crowsonkb">Katherine's</a> own experiments, validate OpenAI's finding that the extra prior increases variety of generations.
- Decoder is now verified working for unconditional generation on my experimental setup for Oxford flowers. <a href="https://github.com/egeozsoy">Another researcher</a> has also confirmed Decoder is working for him. - Decoder is now verified working for unconditional generation on my experimental setup for Oxford flowers. 2 researchers have also confirmed Decoder is working for them.
<img src="./samples/oxford.png" width="400px" /> <img src="./samples/oxford.png" width="600px" />
*ongoing at 12k steps* *ongoing at 21k steps*
## Install ## Install

View File

@@ -366,7 +366,7 @@ class DecoderTrainer(nn.Module):
lr = 1e-4, lr = 1e-4,
wd = 1e-2, wd = 1e-2,
eps = 1e-8, eps = 1e-8,
max_grad_norm = None, max_grad_norm = 0.5,
amp = False, amp = False,
**kwargs **kwargs
): ):

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 KiB

After

Width:  |  Height:  |  Size: 985 KiB

View File

@@ -10,7 +10,7 @@ setup(
'dream = dalle2_pytorch.cli:dream' 'dream = dalle2_pytorch.cli:dream'
], ],
}, },
version = '0.3.1', version = '0.3.2',
license='MIT', license='MIT',
description = 'DALL-E 2', description = 'DALL-E 2',
author = 'Phil Wang', author = 'Phil Wang',