mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
853703ffc5
commit
623dadc5cd
1 changed files with 6 additions and 2 deletions
|
|
@ -478,10 +478,14 @@ class ReasoningGymEnv(BaseEnv):
|
|||
# This specific task must exist and be loadable in reasoning_gym.
|
||||
try:
|
||||
_ = rg_package_or_none.create_dataset("leg_counting", size=1, seed=0)
|
||||
self.logger.warning("Falling back to absolute minimal task: 'leg_counting'")
|
||||
self.logger.warning(
|
||||
"Falling back to absolute minimal task: 'leg_counting'"
|
||||
)
|
||||
return ["leg_counting"]
|
||||
except Exception:
|
||||
self.logger.error("Absolute fallback 'leg_counting' also failed to load.")
|
||||
self.logger.error(
|
||||
"Absolute fallback 'leg_counting' also failed to load."
|
||||
)
|
||||
return []
|
||||
|
||||
self.logger.info(f"Validated {len(valid_tasks)} tasks for use.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue