Skip to content

Commit

Permalink
retrained
Browse files Browse the repository at this point in the history
  • Loading branch information
tractatus committed Sep 19, 2023
1 parent bdc98ef commit 3b6cb75
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 9 deletions.
2 changes: 1 addition & 1 deletion augment.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
os.makedirs(images_folder, exist_ok=True)

# Set the ROI size and step
roi_size = (256, 256)
roi_size = (512, 512)
roi_step = 128

# Get the list of file names in the mask_org folder
Expand Down
32 changes: 28 additions & 4 deletions figure01.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,34 @@ tensorboard --logdir=.
network](./repo_img/tensorboard.png)

Click the **images** tab of the Tensorboard to inspect the visual output
of the training. This is in the beginning: ![inspect the
output](./repo_img/tensorboard_img.png)
of the training.

Here:
<div id="fig-training">

<table style="width:50%;">
<colgroup>
<col style="width: 50%" />
</colgroup>
<tbody>
<tr class="odd">
<td style="text-align: center;"><div width="50.0%"
data-layout-align="center">
<p><img src="./repo_img/tensorboard_img.png" id="fig-begin"
style="width:40.0%" alt="begin" /> <img
src="./repo_img/tensorboard_later.png" id="fig-later"
style="width:40.0%" alt="later" /></p>
</div></td>
</tr>
</tbody>
</table>

Figure 1: Training monitoring. Left is in the beginning right is later
during training. Top row is input, middle is output of network and
bottom is the reference (what the network should aim for).

</div>

In detail:

- `net_input` is the input images. Notice a cell is only really present
in the first out of three.
Expand Down Expand Up @@ -261,6 +285,6 @@ alt="(b) output" /></p>
</tbody>
</table>

Figure 1: Segmentation results.
Figure 2: Segmentation results.

</div>
12 changes: 9 additions & 3 deletions figure01.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,16 @@ tensorboard --logdir=.


Click the **images** tab of the Tensorboard to inspect the visual output of the training.
This is in the beginning:
![inspect the output](./repo_img/tensorboard_img.png)

Here:

::: {#fig-training layout-ncol=2}
![begin](./repo_img/tensorboard_img.png){#fig-begin width=40%}
![later](./repo_img/tensorboard_later.png){#fig-later width=40%}

Training monitoring. Left is in the beginning right is later during training. Top row is input, middle is output of network and bottom is the reference (what the network should aim for).
:::

In detail:

- `net_input` is the input images. Notice a cell is only really present in the first out of three.
- `net_output0` is the current output from the network.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion models/dapi/thresholds.json

This file was deleted.

Binary file modified models/dapi/weights_best.h5
Binary file not shown.
Binary file removed models/dapi/weights_last.h5
Binary file not shown.
Binary file added models/dapi/weights_now.h5
Binary file not shown.
Binary file modified repo_img/tensorboard_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified repo_img/tensorboard_later.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3b6cb75

Please sign in to comment.