diff --git a/bob/ip/binseg/data/refuge/__init__.py b/bob/ip/binseg/data/refuge/__init__.py index d96db5ec2bb9a095480fa893f441a50a6b1c2bbb..766d0d0eeceb482ae46bf8c2c47de843b7e55f07 100644 --- a/bob/ip/binseg/data/refuge/__init__.py +++ b/bob/ip/binseg/data/refuge/__init__.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # coding=utf-8 -"""REFUGE (training set) for Optic Disc Segmentation +"""REFUGE for Optic Disc and Cup Segmentation The dataset consists of 1200 color fundus photographs, created for a MICCAI challenge. The goal of the challenge is to evaluate and compare automated @@ -40,10 +40,10 @@ import bob.extension from ..jsondataset import JSONDataset from ..loader import load_pil_rgb -_protocols = [ - pkg_resources.resource_filename(__name__, "optic-disc.json"), - pkg_resources.resource_filename(__name__, "optic-cup.json"), - ] +_protocols = { + "optic-disc": pkg_resources.resource_filename(__name__, "default.json"), + "optic-cup": pkg_resources.resource_filename(__name__, "default.json"), + } _root_path = bob.extension.rc.get('bob.ip.binseg.refuge.datadir', os.path.realpath(os.curdir)) diff --git a/bob/ip/binseg/data/refuge/optic-disc.json b/bob/ip/binseg/data/refuge/default.json similarity index 100% rename from bob/ip/binseg/data/refuge/optic-disc.json rename to bob/ip/binseg/data/refuge/default.json diff --git a/bob/ip/binseg/data/refuge/optic-cup.json b/bob/ip/binseg/data/refuge/optic-cup.json deleted file mode 120000 index 1691db379cbb117c5bbee85635f3fd864acca98e..0000000000000000000000000000000000000000 --- a/bob/ip/binseg/data/refuge/optic-cup.json +++ /dev/null @@ -1 +0,0 @@ -optic-disc.json \ No newline at end of file