This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import Tuple | |
| import equinox as eqx | |
| import jax | |
| from jax import Array | |
| import jax.numpy as jnp | |
| from cl_agent.utils import tree_replace | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| device: cuda | |
| wandb: | |
| enabled: false | |
| project: minigrid_gvfs | |
| optimizer: | |
| type: sgd | |
| meta_lr: 0.01 | |
| #... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| import torch | |
| from torch.optim.optimizer import Optimizer | |
| from typing import Iterator, Optional | |
| class IDBD(Optimizer): | |
| """Incremental Delta-Bar-Delta optimizer. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from equinox import nn | |
| import jax | |
| import jax.numpy as jnp | |
| ######################################### | |
| # Test 1 # | |
| ######################################### | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.