Skip to content

Commit 7335258

Browse files
authored
Merge pull request #644 from mlcommons/version_update_for_tagging
Removing dev from version for tagging
2 parents 3843f19 + 9f8658f commit 7335258

File tree

3 files changed

+19
-26
lines changed

3 files changed

+19
-26
lines changed

GANDLF/data/augmentation/blur_enhanced.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,14 @@
44
from typing import Union, Tuple
55

66
import torch
7-
import numpy as np
8-
import scipy.ndimage as ndi
97

10-
from torchio.typing import TypeData, TypeTripletFloat, TypeSextetFloat
8+
from torchio.typing import TypeTripletFloat, TypeSextetFloat
119
from torchio.data.subject import Subject
1210
from torchio.transforms import IntensityTransform
1311
from torchio.transforms.augmentation import RandomTransform
1412
from torchio.transforms.augmentation.intensity.random_blur import Blur
1513

1614

17-
def blur(
18-
data: TypeData,
19-
spacing: TypeTripletFloat,
20-
std_voxel: TypeTripletFloat,
21-
) -> torch.Tensor:
22-
assert data.ndim == 3
23-
std_physical = np.array(std_voxel) / np.array(spacing)
24-
blurred = ndi.gaussian_filter(data, std_physical)
25-
tensor = torch.as_tensor(blurred)
26-
return tensor
27-
28-
2915
class RandomBlurEnhanced(RandomTransform, IntensityTransform):
3016
r"""Blur an image using a random-sized Gaussian filter.
3117

GANDLF/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env python3
22
# -*- coding: UTF-8 -*-
3-
__version__ = "0.0.16-dev"
3+
__version__ = "0.0.16"

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,23 @@ The **G**ener**a**lly **N**uanced **D**eep **L**earning **F**ramework for segmen
4040

4141
## Citation
4242

43-
Please cite the following article for GaNDLF ([full PDF](https://arxiv.org/abs/2103.01006)):
44-
45-
```
46-
@misc{pati2021gandlf,
47-
title={GaNDLF: A Generally Nuanced Deep Learning Framework for Scalable End-to-End Clinical Workflows in Medical Imaging},
48-
author={Sarthak Pati and Siddhesh P. Thakur and Megh Bhalerao and Spyridon Thermos and Ujjwal Baid and Karol Gotkowski and Camila Gonzalez and Orhun Guley and Ibrahim Ethem Hamamci and Sezgin Er and Caleb Grenko and Brandon Edwards and Micah Sheller and Jose Agraz and Bhakti Baheti and Vishnu Bashyam and Parth Sharma and Babak Haghighi and Aimilia Gastounioti and Mark Bergman and Anirban Mukhopadhyay and Sotirios A. Tsaftaris and Bjoern Menze and Despina Kontos and Christos Davatzikos and Spyridon Bakas},
49-
year={2021},
50-
eprint={2103.01006},
51-
archivePrefix={arXiv},
52-
primaryClass={cs.LG}
43+
Please cite the following article for GaNDLF ([full paper](https://www.nature.com/articles/s44172-023-00066-3)):
44+
45+
```bib
46+
@article{pati2023gandlf,
47+
author={Pati, Sarthak and Thakur, Siddhesh P. and Hamamc{\i}, {\.{I}}brahim Ethem and Baid, Ujjwal and Baheti, Bhakti and Bhalerao, Megh and G{\"u}ley, Orhun and Mouchtaris, Sofia and Lang, David and Thermos, Spyridon and Gotkowski, Karol and Gonz{\'a}lez, Camila and Grenko, Caleb and Getka, Alexander and Edwards, Brandon and Sheller, Micah and Wu, Junwen and Karkada, Deepthi and Panchumarthy, Ravi and Ahluwalia, Vinayak and Zou, Chunrui and Bashyam, Vishnu and Li, Yuemeng and Haghighi, Babak and Chitalia, Rhea and Abousamra, Shahira and Kurc, Tahsin M. and Gastounioti, Aimilia and Er, Sezgin and Bergman, Mark and Saltz, Joel H. and Fan, Yong and Shah, Prashant and Mukhopadhyay, Anirban and Tsaftaris, Sotirios A. and Menze, Bjoern and Davatzikos, Christos and Kontos, Despina and Karargyris, Alexandros and Umeton, Renato and Mattson, Peter and Bakas, Spyridon},
48+
title={GaNDLF: the generally nuanced deep learning framework for scalable end-to-end clinical workflows},
49+
journal={Communications Engineering},
50+
year={2023},
51+
month={May},
52+
day={16},
53+
volume={2},
54+
number={1},
55+
pages={23},
56+
abstract={Deep Learning (DL) has the potential to optimize machine learning in both the scientific and clinical communities. However, greater expertise is required to develop DL algorithms, and the variability of implementations hinders their reproducibility, translation, and deployment. Here we present the community-driven Generally Nuanced Deep Learning Framework (GaNDLF), with the goal of lowering these barriers. GaNDLF makes the mechanism of DL development, training, and inference more stable, reproducible, interpretable, and scalable, without requiring an extensive technical background. GaNDLF aims to provide an end-to-end solution for all DL-related tasks in computational precision medicine. We demonstrate the ability of GaNDLF to analyze both radiology and histology images, with built-in support for k-fold cross-validation, data augmentation, multiple modalities and output classes. Our quantitative performance evaluation on numerous use cases, anatomies, and computational tasks supports GaNDLF as a robust application framework for deployment in clinical workflows.},
57+
issn={2731-3395},
58+
doi={10.1038/s44172-023-00066-3},
59+
url={https://doi.org/10.1038/s44172-023-00066-3}
5360
}
5461
```
5562

0 commit comments

Comments
 (0)