├── .gitignore ├── LICENSE ├── README.md ├── experiment.py ├── models ├── __init__.py ├── architectures │ ├── __init__.py │ ├── bn_inception.py │ └── resnet.py ├── base_model.py └── ingredient.py ├── prepare_data.py ├── requirements.txt └── utils ├── __init__.py ├── data ├── __init__.py ├── dataset_ingredient.py ├── image_dataset.py └── utils.py ├── metrics.py ├── training.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/README.md -------------------------------------------------------------------------------- /experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/experiment.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/architectures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/models/architectures/__init__.py -------------------------------------------------------------------------------- /models/architectures/bn_inception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/models/architectures/bn_inception.py -------------------------------------------------------------------------------- /models/architectures/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/models/architectures/resnet.py -------------------------------------------------------------------------------- /models/base_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/models/base_model.py -------------------------------------------------------------------------------- /models/ingredient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/models/ingredient.py -------------------------------------------------------------------------------- /prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/prepare_data.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/requirements.txt -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .utils import state_dict_to_cpu, SmoothCrossEntropy 2 | -------------------------------------------------------------------------------- /utils/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/data/dataset_ingredient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/utils/data/dataset_ingredient.py -------------------------------------------------------------------------------- /utils/data/image_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/utils/data/image_dataset.py -------------------------------------------------------------------------------- /utils/data/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/utils/data/utils.py -------------------------------------------------------------------------------- /utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/utils/metrics.py -------------------------------------------------------------------------------- /utils/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/utils/training.py -------------------------------------------------------------------------------- /utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeromerony/dml_cross_entropy/HEAD/utils/utils.py --------------------------------------------------------------------------------