* fix bug with printing seed using rich tree
This commit is contained in:
Luke authored and GitHub committed 2021-03-01 15:43:13 +01:00
1 parent 036aec4914
commit 0d9b7383db
2 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ def print_config(config: DictConfig):
seed = config.get("seed", "None")
seed_branch = tree.add(f"Seed", style=style, guide_style=style)
seed_branch.add(seed, style=style, guide_style=style)
seed_branch.add(str(seed) + "\n")
print(tree)
+6 -3
View File
@@ -1,10 +1,13 @@
#####################################################
# export WANDB_START_METHOD=thread
# python hydra_wandb_test.py -m +some_param=1,2,3,4
#####################################################
# import os, sys
# sys.path.insert(1, os.path.join(sys.path[0], ".."))
# print(os.path.abspath(os.curdir))
#####################################################
# python hydra_wandb_test.py -m +some_param=1,2,3,4
#####################################################
import hydra
import wandb