mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 17:54:20 +01:00
relax learning rate constraint, as @rom1504 wants to try a higher one
This commit is contained in:
@@ -473,7 +473,7 @@ class DecoderTrainer(nn.Module):
|
|||||||
|
|
||||||
lr, wd, eps, warmup_steps = map(partial(cast_tuple, length = self.num_unets), (lr, wd, eps, warmup_steps))
|
lr, wd, eps, warmup_steps = map(partial(cast_tuple, length = self.num_unets), (lr, wd, eps, warmup_steps))
|
||||||
|
|
||||||
assert all([unet_lr < 1e-3 for unet_lr in lr]), 'your learning rate is too high, recommend sticking with 1e-4, at most 5e-4'
|
assert all([unet_lr <= 1e-2 for unet_lr in lr]), 'your learning rate is too high, recommend sticking with 1e-4, at most 5e-4'
|
||||||
|
|
||||||
optimizers = []
|
optimizers = []
|
||||||
schedulers = []
|
schedulers = []
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '0.16.12'
|
__version__ = '0.16.13'
|
||||||
|
|||||||
Reference in New Issue
Block a user