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

Add python-api docs

parent 789310cb
No related branches found
No related tags found
1 merge request!5Image folder
Pipeline #33074 failed
......@@ -19,10 +19,10 @@ def get_file_lists(data_path):
class ImageFolder(Dataset):
"""
Required directory tree structure for images and ground-truth (gt):
root
|- images
|- gt
Generic ImageFolder dataset, that contains two folders:
* ``images`` (vessel images)
* ``gt`` (ground-truth labels)
Parameters
......@@ -30,10 +30,6 @@ class ImageFolder(Dataset):
path : str
full path to root of dataset
Returns
-------
[type]
[description]
"""
def __init__(self, path, transform = None):
self.transform = transform
......
......@@ -9,10 +9,14 @@ This section lists all the functionality available in this library allowing to
run binary-segmentation benchmarks.
PyTorch Dataset
===============
PyTorch bob.db Dataset
======================
.. automodule:: bob.ip.binseg.data.binsegdataset
PyTorch ImageFolder Dataset
===========================
.. automodule:: bob.ip.binseg.data.imagefolder
Transforms
==========
.. note::
......
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