Rename test -> tests
这个提交包含在:
11
tests/utils.py
普通文件
11
tests/utils.py
普通文件
@ -0,0 +1,11 @@
|
||||
import hydra
|
||||
from hydra import compose, initialize
|
||||
|
||||
CONFIG_PATH = "../lerobot/configs"
|
||||
|
||||
|
||||
def init_config(config_name):
|
||||
hydra.core.global_hydra.GlobalHydra.instance().clear()
|
||||
initialize(config_path=CONFIG_PATH)
|
||||
cfg = compose(config_name=config_name)
|
||||
return cfg
|
||||
在新工单中引用
屏蔽一个用户