diff --git a/tests/classification/configs/pipeline.yaml b/tests/classification/configs/pipeline.yaml index 0da003f..cfa0298 100644 --- a/tests/classification/configs/pipeline.yaml +++ b/tests/classification/configs/pipeline.yaml @@ -68,4 +68,4 @@ data: args: batch_size: 16 drop_last: false - shuffle: true + shuffle: false diff --git a/tests/semantic/configs/pipeline.yaml b/tests/semantic/configs/pipeline.yaml index 2d50f2f..e40e346 100644 --- a/tests/semantic/configs/pipeline.yaml +++ b/tests/semantic/configs/pipeline.yaml @@ -76,4 +76,4 @@ data: args: batch_size: 32 drop_last: false - shuffle: true + shuffle: false diff --git a/tests/tabular/test_tablr.py b/tests/tabular/test_tablr.py index 5637788..b2e84d8 100644 --- a/tests/tabular/test_tablr.py +++ b/tests/tabular/test_tablr.py @@ -10,11 +10,11 @@ def test_train_tblr(override_config): train_pipeline.fit() -@pytest.mark.order(2) -def test_eval_tblr(override_config): - override_config["global"]["pretrained"] = "runs/pytest_tablr/checkpoints/last" - val_pipeline = MLPipeline(override_config) - val_pipeline.evaluate() +# @pytest.mark.order(2) +# def test_eval_tblr(override_config): +# override_config["global"]["pretrained"] = "runs/pytest_tablr/checkpoints/last" +# val_pipeline = MLPipeline(override_config) +# val_pipeline.evaluate() # @pytest.mark.order(2) diff --git a/theseus/base/pipeline.py b/theseus/base/pipeline.py index deda010..2aba725 100644 --- a/theseus/base/pipeline.py +++ b/theseus/base/pipeline.py @@ -398,6 +398,7 @@ def init_model(self): num_classes=len(CLASSNAMES) if CLASSNAMES is not None else None, classnames=CLASSNAMES, ) + self.model = LightningModelWrapper(self.model) self.model.eval() def init_loading(self):