mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +00:00
Merge commit '71e7a5ca27' into add-support-for-custom-api-servers
This commit is contained in:
commit
96be544228
45 changed files with 1605 additions and 494 deletions
|
|
@ -8,7 +8,8 @@ from dotenv import load_dotenv
|
|||
|
||||
from atroposlib.envs.base import APIServerConfig
|
||||
from atroposlib.envs.reward_fns import registry
|
||||
from atroposlib.utils.config_handler import ConfigHandler
|
||||
|
||||
# from atroposlib.utils.config_handler import ConfigHandler
|
||||
from environments.dataset_environment.dataset_env import DatasetEnv, DatasetEnvConfig
|
||||
|
||||
load_dotenv()
|
||||
|
|
@ -23,7 +24,8 @@ def parse_arguments():
|
|||
"--config",
|
||||
type=str,
|
||||
default="dataset_local",
|
||||
help="Configuration file name (without .yaml extension) relative to environments/dataset_environment/configs/, or full path to a YAML file.",
|
||||
help="Configuration file name (without .yaml extension) relative to environments/dataset_environment/configs/,"
|
||||
" or full path to a YAML file.",
|
||||
)
|
||||
return parser.parse_args()
|
||||
|
||||
|
|
@ -35,7 +37,7 @@ async def main():
|
|||
args = parse_arguments()
|
||||
|
||||
# Initialize config handler
|
||||
config_handler = ConfigHandler()
|
||||
# config_handler = ConfigHandler()
|
||||
|
||||
# Determine config path
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue