Helper Module for Deep Learning.
Module that provides functions to prepare the GradCam dataset.
-
class
pynet.datasets.gradcam.Item(input_path, output_path, metadata_path, labels)¶ -
property
input_path¶ Alias for field number 0
-
property
labels¶ Alias for field number 3
-
property
metadata_path¶ Alias for field number 2
-
property
output_path¶ Alias for field number 1
-
property
-
pynet.datasets.gradcam.fetch_gradcam(datasetdir, inception=False)[source]¶ Fetch/prepare the GradCam dataset for pynet.
- Parameters
datasetdir: str
the dataset destination folder.
inception: bool, default True
if set apply the inception transforms on the inputs.
- Returns
item: namedtuple
a named tuple containing ‘input_path’, ‘output_path’, and ‘metadata_path’.
Follow us
© 2019, pynet developers .
Inspired by AZMIND template.
Inspired by AZMIND template.