Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 985ca2a

Browse files
author
Stefan Knegt
authored
Update README.md
1 parent 4dfa923 commit 985ca2a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def _kl_independent_independent(p, q):
1111
result = kl_divergence(p.base_dist, q.base_dist)
1212
return _sum_rightmost(result, p.reinterpreted_batch_ndims)
1313
```
14-
14+
1515
## Training
1616
In order to train your own Probabilistic UNet in PyTorch, you should first write your own data loader. Then you can use the following code snippet to train the network
1717

@@ -33,3 +33,7 @@ for epoch in range(epochs):
3333
loss.backward()
3434
optimizer.step()
3535
```
36+
37+
## Train on LIDC Dataset
38+
One of the datasets used in the original paper is the LIDC dataset (https://wiki.cancerimagingarchive.net). I've preprocessed this data and stored them in 5 .pickle files which you can [download here](https://drive.google.com/drive/folders/1xKfKCQo8qa6SAr3u7qWNtQjIphIrvmd5?usp=sharing). After downloading the files you need to adjust the path in the data loader and you can start training your own Probabilistic UNet using the code snippet above.
39+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /