SwanLab icon indicating copy to clipboard operation
SwanLab copied to clipboard

[ADVICE] 增加针对Hydra分层配置文件云端显示的展开折叠功能

Open nxZhai opened this issue 8 months ago • 2 comments

🤪 Features description [Please make everyone to understand it]

集成Hydra的分层配置文件时, 只有单变量会显示美观, 内部的字典变量还是按原始格式显示. 希望在云端能增加针对字典的展开折叠功能.

👍 What problem does this feature solve

image

🚑 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))

nxZhai avatar Jun 14 '24 05:06 nxZhai