Analysis of sinter processes using Mask R-CNN.
-
Install conda for your operating system.
-
Open a command line.
-
Clone this repository and the required submodules:
git clone --recurse-submodules git@github.com:maxfrei750/SinterAnalysis.git
-
Change into the directory of the cloned repository:
cd SinterAnalysis
-
Create a symbolic link to the paddle module:
ln -s external/paddle/paddle paddle
-
Create the required conda environment:
conda env create -f environment.yaml
-
Download the
datasets.zip
file and extract it at the project root. -
Activate the conda environment:
conda activate paddle
-
Run the training:
python train_model.py --config-dir=configs --config-name=ZnO
(alternatively: replaceZnO
withZnAl2O4
) -
The results of the inference can be found in the
logs/ZnO
folder.
-
Download the
datasets.zip
file and extract it at the project root. -
Either complete the training (see above) or download the
models.zip
file and extract it at the project root. -
Activate the conda environment:
conda activate paddle
-
Run the model on a dataset:
python test_model_on_dataset.py --config_name=ZnO --data_root=data/ZnO --subset=validation
(alternatively: replaceZnO
withZnAl2O4
) -
The results of the inference can be found in the
output/ZnO
folder.
-
Complete the inference (see above).
-
Activate the conda environment:
conda activate paddle
-
Post-process the results of the inference:
python measure_grain_properties.py --data_root=output/ZnO --subset=validation
(alternatively: replaceZnO
withZnAl2O4
) -
The results of the post-processing are stored in
.pkl
-files (see pickle) in theoutput/ZnO
folder.
If you use this repository for a publication, then please cite it using the following bibtex-entry:
@article{Gorynski.2023,
title = {Machine Learning Based Quantitative Characterization of Microstructures},
author = {Gorynski, Claudia and Frei, Max and Kruis, Frank Einar and Winterer, Markus},
year = {2023},
journal = {Acta Materialia},
volume = {256},
pages = {119106},
issn = {1359-6454},
doi = {10.1016/j.actamat.2023.119106},
}