Created
November 9, 2020 20:37
-
-
Save zubair-irshad/841d79cf33bbe60e57e3b3c470b76d4f to your computer and use it in GitHub Desktop.
This file contains 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
with warnings.catch_warnings(): | |
warnings.filterwarnings("ignore", category=FutureWarning) | |
import tensorflow as tf | |
# WandB – Login to your wandb account so you can log all your metrics | |
wandb.login() | |
wandb.init(project="hierarchical_cma", sync_tensorboard=True) | |
wb_config = wandb.config | |
wb_config.LR = 1e-4 | |
wb_config.EPOCHS = 20 | |
wb_config.BATCH_SIZE = 1 | |
with TensorboardWriter( | |
wandb.run.dir, flush_secs=self.flush_secs, purge_step=0 | |
) as writer: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment