You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running pytest currently gives the following warnings:
============================================================================================================================================================================== test session starts ==============================================================================================================================================================================
platform linux -- Python 3.12.3, pytest-8.0.2, pluggy-1.4.0
rootdir: /home/jefflim/EpochProjects/epochalyst
plugins: cov-4.1.0
collected 156 items
tests/_core/_caching/test__cacher.py .......................................................... [ 37%]
tests/_core/_logging/test__logger.py ....... [ 41%]
tests/pipeline/model/test_model.py ...... [ 45%]
tests/pipeline/model/training/augmentation/test_image_augmentations.py .. [ 46%]
tests/pipeline/model/training/augmentation/test_time_series_augmentations.py ....... [ 51%]
tests/pipeline/model/training/augmentation/test_utils.py ... [ 53%]
tests/pipeline/model/training/models/test_timm.py .. [ 54%]
tests/pipeline/model/training/test_pretrain_block.py .... [ 57%]
tests/pipeline/model/training/test_torch_trainer.py ............................. [ 75%]
tests/pipeline/model/training/test_training.py ........ [ 80%]
tests/pipeline/model/training/test_training_block.py ..... [ 83%]
tests/pipeline/model/transformation/test_transformation.py ....... [ 88%]
tests/pipeline/model/transformation/test_transformation_block.py .......... [ 94%]
tests/pipeline/test_ensemble.py ........ [100%]
=============================================================================================================================================================================== warnings summary ================================================================================================================================================================================
tests/pipeline/model/test_model.py::TestModel::test_model_get_x_y_cache_exists_true
tests/pipeline/model/transformation/test_transformation.py::TestTransformationPipeline::test_transformation_pipeline_with_steps
tests/pipeline/model/transformation/test_transformation.py::TestTransformationPipeline::test_transformation_pipeline_with_cache
tests/pipeline/model/transformation/test_transformation.py::TestTransformationPipeline::test_transformation_pipeline_with_halfway_cache_not_instance_cacher
tests/pipeline/test_ensemble.py::TestEnsemble::test_ensemble_get_cache_exists_true
/home/jefflim/EpochProjects/epochalyst/venv/lib/python3.12/site-packages/agogos/transforming.py:120: UserWarning: The following steps do not exist but were given in the kwargs: set()
warnings.warn(
tests/pipeline/model/training/test_torch_trainer.py::TestTorchTrainer::test_train_with_scheduler
/home/jefflim/EpochProjects/epochalyst/venv/lib/python3.12/site-packages/torch/optim/lr_scheduler.py:143: UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`. In PyTorch 1.1.0 and later, you should call them in the opposite order: `optimizer.step()` before `lr_scheduler.step()`. Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
warnings.warn("Detected call of `lr_scheduler.step()` before `optimizer.step()`. "
tests/pipeline/model/training/test_torch_trainer.py::TestTorchTrainer::test_train_with_scheduler
/home/jefflim/EpochProjects/epochalyst/venv/lib/python3.12/site-packages/torch/optim/lr_scheduler.py:156: UserWarning: The epoch parameter in `scheduler.step()` was not necessary and is being deprecated where possible. Please use `scheduler.step()` to step the scheduler. During the deprecation, if epoch is different from None, the closed form is used instead of the new chainable form, where available. Please open an issue if you are unable to replicate your use case: https://github.com/pytorch/pytorch/issues/new/choose.
warnings.warn(EPOCH_DEPRECATION_WARNING, UserWarning)
tests/pipeline/model/training/test_training.py::TestTrainingPipeline::test_training_pipeline_with_steps
tests/pipeline/model/training/test_training.py::TestTrainingPipeline::test_training_pipeline_with_cache
tests/pipeline/model/training/test_training.py::TestTrainingPipeline::test_training_pipeline_with_halfway_cache_not_instance_cacher
/home/jefflim/EpochProjects/epochalyst/venv/lib/python3.12/site-packages/agogos/training.py:147: UserWarning: The following steps do not exist but were given in the kwargs: set()
warnings.warn(
tests/pipeline/model/training/test_training.py::TestTrainingPipeline::test_training_pipeline_with_cache
tests/pipeline/model/training/test_training.py::TestTrainingPipeline::test_training_pipeline_with_halfway_cache_not_instance_cacher
/home/jefflim/EpochProjects/epochalyst/venv/lib/python3.12/site-packages/agogos/training.py:178: UserWarning: The following steps do not exist but were given in the kwargs: set()
warnings.warn(
tests/pipeline/model/training/test_training.py::TestTrainingPipeline::test_training_pipeline_with_halfway_cache_not_instance_cacher
/home/jefflim/EpochProjects/epochalyst/venv/lib/python3.12/site-packages/agogos/training.py:178: UserWarning: The following steps do not exist but were given in the kwargs: {'ExampleTrainingBlock'}
warnings.warn(
tests/pipeline/model/transformation/test_transformation.py::TestTransformationPipeline::test_transformation_pipeline_transform
/home/jefflim/EpochProjects/epochalyst/venv/lib/python3.12/site-packages/agogos/transforming.py:120: UserWarning: The following steps do not exist but were given in the kwargs: {'transform_args'}
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================================================================================================================= 156 passed, 14 warnings in 27.75s =======================================================================================================================================================================
The text was updated successfully, but these errors were encountered:
Running pytest currently gives the following warnings:
The text was updated successfully, but these errors were encountered: