Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRosier authored Nov 25, 2024
1 parent bdf21cf commit 961c34a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ pip install deep_quality_estimation
A minimal example to predict the quality of a segmentation could look like this:

```python
from deep_quality_estimation import DQE

# shown parameters are default values but can be adapted to usecase
dqe = DQE(device="cuda", cuda_devices="0")

# inputs can be Paths (str or pathlib.Path object), NumPy NDArrays or a mix
mean_score, scores_per_view = dqe.predict(
t1c="t1c.nii.gz",
t1="t1.nii.gz",
t2="t2.nii.gz",
flair="flair.nii.gz",
segmentation="segmentation.nii.gz",
)
from deep_quality_estimation import DQE

# shown parameters are default values but can be adapted to usecase
dqe = DQE(device="cuda", cuda_devices="0")

# inputs can be Paths (str or pathlib.Path object), NumPy NDArrays or a mix
mean_score, scores_per_view = dqe.predict(
t1c="t1c.nii.gz",
t1="t1.nii.gz",
t2="t2.nii.gz",
flair="flair.nii.gz",
segmentation="segmentation.nii.gz",
)
```


Expand Down

0 comments on commit 961c34a

Please sign in to comment.