Skip to content
Snippets Groups Projects
Commit 08e191d7 authored by Tim Laibacher's avatar Tim Laibacher
Browse files

Update docs

parent f483a235
No related branches found
No related tags found
No related merge requests found
Pipeline #31845 passed
...@@ -74,7 +74,7 @@ def build_driu(): ...@@ -74,7 +74,7 @@ def build_driu():
------- -------
:py:class:torch.nn.Module :py:class:torch.nn.Module
""" """
backbone = vgg16_bn(pretrained=False, return_features = [3, 8, 14, 22]) backbone = vgg16_bn(pretrained=False, return_features = [5, 12, 19, 29])
driu_head = DRIU([64, 128, 256, 512]) driu_head = DRIU([64, 128, 256, 512])
model = nn.Sequential(OrderedDict([("backbone", backbone), ("head", driu_head)])) model = nn.Sequential(OrderedDict([("backbone", backbone), ("head", driu_head)]))
......
...@@ -175,6 +175,12 @@ DRIUSSL ...@@ -175,6 +175,12 @@ DRIUSSL
-------- --------
.. literalinclude:: ../bob/ip/binseg/configs/models/driussl.py .. literalinclude:: ../bob/ip/binseg/configs/models/driussl.py
.. _bob.ip.binseg.configs.models.driubnssl:
DRIUBNSSL
---------
.. literalinclude:: ../bob/ip/binseg/configs/models/driubnssl.py
.. _bob.ip.binseg.configs.models.m2unetssl: .. _bob.ip.binseg.configs.models.m2unetssl:
......
...@@ -9,27 +9,29 @@ COVD- and COVD-SLL Results ...@@ -9,27 +9,29 @@ COVD- and COVD-SLL Results
F1 Scores F1 Scores
=========== ===========
+-------------------+---------------+---------+ F1 score together with standard deviation across test images.
| | DRIU | M2U-Net |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-DRIVE | 0.7896 | 0.7906 | | F1 score | DRIU | DRIU BN | M2U-Net |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-DRIVE SSL | 0.7870 | 0.7938 | | COVD-DRIVE | 0.7896 | 0.8000 (0.0182) | 0.7906 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-STARE | 0.7979 | 0.8120 | | COVD-DRIVE SSL | 0.7870 | 0.8020 (0.0179) | 0.7938 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-STARE SSL | 0.8062 | 0.8222 | | COVD-STARE | 0.7979 | 0.8129 (0.0986) | 0.8120 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-CHASEDB1 | 0.7979 | 0.7898 | | COVD-STARE SSL | 0.8062 | 0.8221 (0.0784) | 0.8222 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-CHASEDB1 SSL | 0.7976 | 0.8000 | | COVD-CHASEDB1 | 0.7979 | 0.7923 (0.0240) | 0.7898 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-HRF | 0.8013 | 0.8036 | | COVD-CHASEDB1 SSL | 0.7976 | 0.7992 (0.0235) | 0.8000 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-HRF SSL | 0.8002 | 0.7999 | | COVD-HRF | 0.8013 | 0.8027 (0.0452) | 0.8036 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-IOSTAR | 0.7934 | 0.7953 | | COVD-HRF SSL | 0.8002 | | 0.7999 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-IOSTAR SSL | 0.7995 | 0.7868 | | COVD-IOSTAR | 0.7934 | 0.7763 (0.0311) | 0.7953 |
+-------------------+---------------+---------+ +-------------------+--------+-----------------+---------+
| COVD-IOSTAR SSL | 0.7995 | 0.7904 (0.0215) | 0.7868 |
+-------------------+--------+-----------------+---------+
...@@ -31,14 +31,14 @@ Pretrained Models ...@@ -31,14 +31,14 @@ Pretrained Models
================= =================
Due to storage limitations we only provide weights of a subset Due to storage limitations we only provide weights of a subset
of all evaluated models, namely all DRIU and M2U-Net variants: of all evaluated models:
+--------------------+--------------------+--------------------------------------------------------------------------------------------------------------------+ +--------------------+--------------------+--------------------------------------------------------------------------------------------------------------------+
| | DRIU | M2UNet | | | DRIU | M2UNet |
+--------------------+--------------------+--------------------------------------------------------------------------------------------------------------------+ +--------------------+--------------------+--------------------------------------------------------------------------------------------------------------------+
| DRIVE | `DRIU_DRIVE.pth`_ | | | DRIVE | `DRIU_DRIVE.pth`_ | `M2UNet_DRIVE.pth <m2unet_drive.pth_>`_ |
+--------------------+--------------------+--------------------------------------------------------------------------------------------------------------------+ +--------------------+--------------------+--------------------------------------------------------------------------------------------------------------------+
| COVD-DRIVE | | `M2UNet_COVD-DRIVE.pth <https://dl.dropboxusercontent.com/s/x5wb84uao8nlx44/M2UNet_COVD-DRIVE.pth>`_ | | COVD-DRIVE | | `M2UNet_COVD-DRIVE.pth <https://dl.dropboxusercontent.com/s/x5wb84uao8nlx44/M2UNet_COVD-DRIVE.pth>`_ |
+--------------------+--------------------+--------------------------------------------------------------------------------------------------------------------+ +--------------------+--------------------+--------------------------------------------------------------------------------------------------------------------+
......
...@@ -63,7 +63,9 @@ Default Model configs ...@@ -63,7 +63,9 @@ Default Model configs
===================== =====================
* DRIU * DRIU
* DRIUBN
* DRIUSSL * DRIUSSL
* DRIUBNSSL
* DRIUOD * DRIUOD
* HED * HED
* M2UNet * M2UNet
...@@ -205,7 +207,7 @@ COVD-: ...@@ -205,7 +207,7 @@ COVD-:
# model configs # model configs
driu=DRIU driu=DRIU
m2u=M2UNet m2u=M2UNet
b_driu=4 b_driu=2
b_m2u=4 b_m2u=4
# Train # Train
bob binseg train $driu $dataset -b $b_driu -d cuda -o $output"/"$driu -vv bob binseg train $driu $dataset -b $b_driu -d cuda -o $output"/"$driu -vv
...@@ -218,7 +220,7 @@ COVD-: ...@@ -218,7 +220,7 @@ COVD-:
# model configs # model configs
driu=DRIU driu=DRIU
m2u=M2UNet m2u=M2UNet
b_driu=4 b_driu=2
b_m2u=4 b_m2u=4
# Train # Train
bob binseg train $driu $dataset -b $b_driu -d cuda -o $output"/"$driu -vv bob binseg train $driu $dataset -b $b_driu -d cuda -o $output"/"$driu -vv
...@@ -288,7 +290,7 @@ COVD-SSL: ...@@ -288,7 +290,7 @@ COVD-SSL:
# model configs # model configs
driu=DRIUSSL driu=DRIUSSL
m2u=M2UNetSSL m2u=M2UNetSSL
b_driu=1 b_driu=2
b_m2u=2 b_m2u=2
# Train # Train
bob binseg ssltrain $driu $dataset -b $b_driu -d cuda -o $output"/"$driu -vv bob binseg ssltrain $driu $dataset -b $b_driu -d cuda -o $output"/"$driu -vv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment