SwanLab
SwanLab copied to clipboard
[ADVICE] 增加针对Hydra分层配置文件云端显示的展开折叠功能
🤪 Features description [Please make everyone to understand it]
集成Hydra的分层配置文件时, 只有单变量会显示美观, 内部的字典变量还是按原始格式显示. 希望在云端能增加针对字典的展开折叠功能.
👍 What problem does this feature solve
🚑 Any additional [like screenshots]
以下是我参考文档写的入口脚本. 看了下issues没有查到这个问题, 如果是我忽视了解决方案请提醒我~感谢
@hydra.main(version_base=None, config_path="configs", config_name="config")
def main(cfg: DictConfig):
# swanlab init
run = swanlab.init(
project=cfg.swanlab.project,
experiment_name=cfg.swanlab.experiment_name,
config=omegaconf.OmegaConf.to_container(
cfg, resolve=True, throw_on_missing=True))