Rename test -> tests

This commit is contained in:
Cadene
2024-02-25 10:51:07 +00:00
parent 598bb496b0
commit 6f5c731936
4 changed files with 0 additions and 0 deletions

11
tests/utils.py Normal file
View File

@@ -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