mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-26 11:16:00 +00:00
refactor(wandb): differentiate tags for reward model and policy training in cfg_to_group function
This commit is contained in:
@@ -41,8 +41,12 @@ def cfg_to_group(
|
|||||||
return tag
|
return tag
|
||||||
return tag[:max_tag_length]
|
return tag[:max_tag_length]
|
||||||
|
|
||||||
|
if cfg.is_reward_model_training:
|
||||||
|
trainable_tag = f"reward_model:{cfg.reward_model.type}"
|
||||||
|
else:
|
||||||
|
trainable_tag = f"policy:{cfg.policy.type}"
|
||||||
lst = [
|
lst = [
|
||||||
f"policy:{cfg.policy.type}",
|
trainable_tag,
|
||||||
f"seed:{cfg.seed}",
|
f"seed:{cfg.seed}",
|
||||||
]
|
]
|
||||||
if cfg.dataset is not None:
|
if cfg.dataset is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user