Skip to content
Snippets Groups Projects
Commit 9e60e08c authored by Daniel CARRON's avatar Daniel CARRON :b:
Browse files

[doc] Update api.rst

parent caeabcf6
No related branches found
No related tags found
1 merge request!15Update documentation
...@@ -42,9 +42,12 @@ CNN and other models implemented. ...@@ -42,9 +42,12 @@ CNN and other models implemented.
mednet.models.pasa mednet.models.pasa
mednet.models.alexnet mednet.models.alexnet
mednet.models.densenet mednet.models.densenet
mednet.models.normalizer
mednet.models.logistic_regression mednet.models.logistic_regression
mednet.models.loss_weights
mednet.models.mlp mednet.models.mlp
mednet.models.normalizer
mednet.models.separate
mednet.models.transforms
mednet.models.typing mednet.models.typing
...@@ -58,11 +61,12 @@ Functions to actuate on the data. ...@@ -58,11 +61,12 @@ Functions to actuate on the data.
.. autosummary:: .. autosummary::
:toctree: api/engine :toctree: api/engine
mednet.engine.device
mednet.engine.callbacks mednet.engine.callbacks
mednet.engine.trainer mednet.engine.device
mednet.engine.predictor
mednet.engine.evaluator mednet.engine.evaluator
mednet.engine.loggers
mednet.engine.predictor
mednet.engine.trainer
.. _mednet.api.saliency: .. _mednet.api.saliency:
...@@ -75,9 +79,11 @@ Engines to generate and analyze saliency mapping techniques. ...@@ -75,9 +79,11 @@ Engines to generate and analyze saliency mapping techniques.
.. autosummary:: .. autosummary::
:toctree: api/saliency :toctree: api/saliency
mednet.engine.saliency.generator
mednet.engine.saliency.completeness mednet.engine.saliency.completeness
mednet.engine.saliency.evaluator
mednet.engine.saliency.generator
mednet.engine.saliency.interpretability mednet.engine.saliency.interpretability
mednet.engine.saliency.viewer
.. _mednet.api.utils: .. _mednet.api.utils:
......
...@@ -14,6 +14,15 @@ ...@@ -14,6 +14,15 @@
"environment": "lightning" "environment": "lightning"
} }
}, },
"tensorboardx": {
"versions": {
"stable": "https://tensorboardx.readthedocs.io/en/stable/",
"latest": "https://tensorboardx.readthedocs.io/en/latest/"
},
"sources": {
"readthedocs": "tensorboardx"
}
},
"tabulate": { "tabulate": {
"versions": { "versions": {
"latest": "https://tabulate.readthedocs.io/en/latest/", "latest": "https://tabulate.readthedocs.io/en/latest/",
......
...@@ -123,6 +123,7 @@ auto_intersphinx_packages = [ ...@@ -123,6 +123,7 @@ auto_intersphinx_packages = [
"torch", "torch",
"torchvision", "torchvision",
"lightning", "lightning",
"tensorboardx",
("clapper", "latest"), ("clapper", "latest"),
("python", "3"), ("python", "3"),
] ]
......
...@@ -214,7 +214,7 @@ def run( ...@@ -214,7 +214,7 @@ def run(
If set, imprint ground truth labels over the original image and If set, imprint ground truth labels over the original image and
saliency maps. saliency maps.
threshold : float threshold : float
The pixel values above ``threshold``% of max value are kept in the The pixel values above ``threshold`` % of max value are kept in the
original saliency map. Everything else is set to zero. The value original saliency map. Everything else is set to zero. The value
proposed on [SCORECAM-2020]_ is 0.2. Use this value if unsure. proposed on [SCORECAM-2020]_ is 0.2. Use this value if unsure.
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment