mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2026-02-14 05:44:19 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6161b61c55 | ||
|
|
1ed0f9d80b |
@@ -21,8 +21,6 @@ def get_optimizer(
|
||||
if wd == 0:
|
||||
return Adam(params, lr = lr, betas = betas, eps = eps)
|
||||
|
||||
params = set(params)
|
||||
|
||||
if group_wd_params:
|
||||
wd_params, no_wd_params = separate_weight_decayable_params(params)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user