Skip to content

Commit

Permalink
Chnage the paths to configs
Browse files Browse the repository at this point in the history
  • Loading branch information
KorenMary committed Jan 16, 2024
1 parent 432d874 commit d6d6e05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/server/test/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

def test_eval_rf_not_fitted():

model_config = read_config('model', config_path='test/test_config_RF.cfg')
train_config = read_config('train', config_path='test/test_config_RF.cfg')
eval_config = read_config('eval', config_path='test/test_config_RF.cfg')
model_config = read_config('model', config_path='test/configs/test_config_RF.cfg')
train_config = read_config('train', config_path='test/configs/test_config_RF.cfg')
eval_config = read_config('eval', config_path='test/configs/test_config_RF.cfg')

model_rf = models.CellClassifierShallowModel(model_config,train_config,eval_config)

Expand All @@ -28,9 +28,9 @@ def test_eval_rf_not_fitted():

def test_update_configs():

model_config = read_config('model', config_path='test/test_config_RF.cfg')
train_config = read_config('train', config_path='test/test_config_RF.cfg')
eval_config = read_config('eval', config_path='test/test_config_RF.cfg')
model_config = read_config('model', config_path='test/configs/test_config_RF.cfg')
train_config = read_config('train', config_path='test/configs/test_config_RF.cfg')
eval_config = read_config('eval', config_path='test/configs/test_config_RF.cfg')

model = models.CustomCellposeModel(model_config,train_config,eval_config)

Expand Down

0 comments on commit d6d6e05

Please sign in to comment.