Recipes are a standard, well supported set of blueprints for machine learning engineers to rapidly train models using the latest research techniques without significant engineering overhead.Specifically, recipes aims to provide- Consistent access to pre-trained SOTA models ready for production- Reference implementations for SOTA research reproducibility, and infrastructure to guarantee correctness, efficiency, and interoperability.
BSD 3-Clause "New" or "Revised" License
284
stars
35
forks
source link
[easy] fix pytest error related to test name conflict #13
to reproduce the error, run pytest at "recipes/torchrecipes" and will get error like:
import file mismatch:
imported module 'test_train_app' has this file attribute:
/Users/stevenliu/workspace/torchrecipes/recipes/torchrecipes/audio/source_separation/tests/test_train_app.py
which is not the same as the test file we want to collect:
/Users/stevenliu/workspace/torchrecipes/recipes/torchrecipes/vision/image_classification/tests/test_train_app.py
to reproduce the error, run
pytest
at "recipes/torchrecipes" and will get error like:Adding
__init__.py
fixed the issue