Skip to content

Commit

Permalink
updated figures
Browse files Browse the repository at this point in the history
  • Loading branch information
onermustafaumit committed Feb 5, 2022
1 parent 5048823 commit b9f2301
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@ saved_metrics
To plot training loss over the epochs:

```console
python plot_train_metrics.py saved_metrics/step_train_metrics__2022_01_24__22_09_12.txt
python plot_train_metrics.py --data_file saved_metrics/step_train_metrics__2022_01_24__22_09_12.txt
```

<img src="_images/step_train_metrics__2022_01_24__22_09_12.png" alt="alt text" width="300"/>

To plot precision and recall on the validation set over the epochs:

```console
python plot_valid_metrics.py saved_metrics/step_valid_metrics__2022_01_24__22_09_12.txt
python plot_valid_metrics.py --data_file saved_metrics/step_valid_metrics__2022_01_24__22_09_12.txt
```

<img src="_images/step_valid_metrics__2022_01_24__22_09_12.png" alt="alt text" width="600"/>
Expand Down
Binary file modified _images/Mask_R-CNN.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 _images/ROC__2022_01_25__19_37_54__100.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 _images/WSI_annotation2.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 _images/cropped_patches5.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 _images/mask_predictions.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 _images/multi-lens_neural_machine.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 _images/step_loss_metrics__2022_01_25__19_37_54.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 _images/step_train_metrics__2022_01_24__22_09_12.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 _images/step_valid_metrics__2022_01_24__22_09_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def moving_avg_filter(data_arr, w):
plt.legend(labelspacing=.1,columnspacing=.5, handletextpad=0.5, fontsize=8)

fig.subplots_adjust(left=0.13, bottom=0.15, right=0.99, top=0.99, wspace=0.20 ,hspace=0.20 )
fig.savefig('{}.png'.format(FLAGS.data_file[:-4]),dpi=200,transparent=True)
fig.savefig('{}.png'.format(FLAGS.data_file[:-4]),dpi=200,transparent=False)

plt.show()

Expand Down
2 changes: 1 addition & 1 deletion gland_segmentation/mask_rcnn/plot_train_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ def moving_avg_filter(data_arr, w):
plt.legend()

fig.subplots_adjust(left=0.12, bottom=0.15, right=0.98, top=0.98, wspace=0.20 ,hspace=0.20 )
fig.savefig('{}.png'.format(FLAGS.data_file[:-4]),dpi=200,transparent=True)
fig.savefig('{}.png'.format(FLAGS.data_file[:-4]),dpi=200,transparent=False)

plt.show()
2 changes: 1 addition & 1 deletion gland_segmentation/mask_rcnn/plot_valid_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def moving_avg_filter(data_arr, w):
# plt.tight_layout()

fig.subplots_adjust(left=0.07, bottom=0.15, right=0.99, top=0.91, wspace=0.20 ,hspace=0.20 )
fig.savefig('{}.png'.format(FLAGS.data_file[:-4]),dpi=200,transparent=True)
fig.savefig('{}.png'.format(FLAGS.data_file[:-4]),dpi=200,transparent=False)

plt.show()

0 comments on commit b9f2301

Please sign in to comment.