Practical overview
When it fits
Use it when you want a code-based CIFAR-10 experiment for training and evaluating models that estimate predictive uncertainty.
Who it is for
- Researchers studying uncertainty estimation in deep-learning models.
- Students and educators building CIFAR-10 examples of uncertainty-aware model training and evaluation.
- Python practitioners comparing documented evaluation variants, including Monte Carlo dropout and ADF models.
Documented uses
- Train a ResNet-18 model on CIFAR-10.
- Resume a training run.
- Evaluate a selected checkpoint with a chosen test-model variant.
- Enable Monte Carlo dropout at test time or select an ADF variant.
Requirements & limits
The public GitHub repository is identified as open source and licensed under MIT. The README lists PyTorch 1.4.0 and torchvision 0.5.0 as prerequisites.
- The documented dataset is CIFAR-10, not a general-purpose data pipeline.
- The README specifies particular PyTorch and torchvision versions.
- Pretrained models with and without dropout are linked, and the README says to place them in ./checkpoint.
- The README requests citation of the associated RA-L 2020 paper when the code is used in an academic context.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train and evaluate a CIFAR-10 model
Use the repository's documented workflow to train a ResNet-18 model and evaluate a selected checkpoint.
Before you start
- Python 3.6 is shown for the optional virtual-environment setup.
- PyTorch 1.4.0 and torchvision 0.5.0.
- The repository and its requirements file.
- CIFAR-10, which the README says is downloaded through torchvision with download=True.
Steps
Optionally create and activate a Python 3.6 virtual environment, then install dependencies with pip install -r requirements.txt.
Start training with python train.py --model_name resnet18; use -r with the same command to resume training.
Run eval.py with the documented checkpoint and test-model options, including --load_model_name and --test_model_name.
For Monte Carlo dropout at test time, add -m to the evaluation command.
Expected outcome
A documented CIFAR-10 training and evaluation workflow, with Monte Carlo dropout available as an evaluation option.
Guide limitations
- The documented dataset workflow is CIFAR-10; support for other datasets is not established.
- Evaluation requires model names and parameter values appropriate to the chosen experiment.
Evaluate a model with an ADF variant
Select an ADF test-model variant in the repository's evaluation workflow.
Before you start
- PyTorch 1.4.0 and torchvision 0.5.0.
- A model checkpoint and the required evaluation parameter values.
Steps
Choose the checkpoint to load with --load_model_name.
Set --test_model_name to a model name ending in adf.
Run eval.py with the documented evaluation options; add -m as well if using Monte Carlo dropout at test time.
Expected outcome
Evaluation configured to use an ADF test-model variant, with Monte Carlo dropout optionally enabled.
Guide limitations
- The README describes model-name selection but does not establish compatibility with datasets beyond CIFAR-10.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- mattiasegu/uncertainty_estimation_deep_learning · Official homepage title · retained in its source language

