Skip to content

Commit

Permalink
tetst new hp types
Browse files Browse the repository at this point in the history
  • Loading branch information
denniswittich committed Jan 12, 2025
1 parent c007777 commit 6423b3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions learning_loop_node/tests/trainer/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ async def test_initialized_trainer_node():
'model_variant': '',
'hyperparameters': {
'resolution': 800,
'flip_rl': False,
'flip_ud': False}
'fliplr': 0.5,
'flipud': 0.5}
})
await node._on_startup()
yield node
Expand All @@ -59,8 +59,8 @@ async def test_initialized_trainer():
'model_variant': '',
'hyperparameters': {
'resolution': 800,
'flip_rl': False,
'flip_ud': False}
'fliplr': 0.5,
'flipud': 0.5}
})
yield trainer
try:
Expand Down
5 changes: 2 additions & 3 deletions mock_trainer/app_code/tests/test_detections.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# pylint: disable=protected-access,redefined-outer-name,unused-argument
import pytest
from fastapi.encoders import jsonable_encoder

from learning_loop_node.data_classes import Category, Context
from learning_loop_node.globals import GLOBALS
from learning_loop_node.tests import test_helper
Expand All @@ -29,8 +28,8 @@ async def test_all():
'model_variant': '',
'hyperparameters': {
'resolution': 800,
'flip_rl': False,
'flip_ud': False}
'fliplr': 0.5,
'flipud': 0.5}
}
# await asyncio.sleep(100)

Expand Down

0 comments on commit 6423b3c

Please sign in to comment.