Skip to content
Snippets Groups Projects
Commit 8510560a authored by ogueler@idiap.ch's avatar ogueler@idiap.ch
Browse files

fixed formatting

parent 7b7efae3
No related branches found
No related tags found
2 merge requests!5Tbx11k,!4Moved code to lightning
Showing
with 59 additions and 42 deletions
......@@ -124,17 +124,34 @@ def _maker(protocol):
dataset = {}
dataset["__train__"] = ConcatDataset(
[mc["__train__"], ch["__train__"], indian["__train__"], tbx11k["__train__"]]
[
mc["__train__"],
ch["__train__"],
indian["__train__"],
tbx11k["__train__"],
]
)
dataset["train"] = ConcatDataset(
[mc["train"], ch["train"], indian["train"], tbx11k["train"]]
)
dataset["__valid__"] = ConcatDataset(
[mc["__valid__"], ch["__valid__"], indian["__valid__"], tbx11k["__valid__"]]
[
mc["__valid__"],
ch["__valid__"],
indian["__valid__"],
tbx11k["__valid__"],
]
)
dataset["validation"] = ConcatDataset(
[mc["validation"], ch["validation"], indian["validation"], tbx11k["validation"]]
[
mc["validation"],
ch["validation"],
indian["validation"],
tbx11k["validation"],
]
)
dataset["test"] = ConcatDataset(
[mc["test"], ch["test"], indian["test"], tbx11k["test"]]
)
dataset["test"] = ConcatDataset([mc["test"], ch["test"], indian["test"], tbx11k["test"]])
return dataset
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets."""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets."""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 0)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 0)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 0, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 0, RGB)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 1)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 1)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 1, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 1, RGB)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 2)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 2)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 2, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 2, RGB)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 3)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 3)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 3, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 3, RGB)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 4)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 4)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 4, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 4, RGB)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 5)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 5)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 5, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 5, RGB)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 6)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 6)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 6, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 6, RGB)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 7)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 7)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 7, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 7, RGB)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 8)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 8)"""
from . import _maker
......
......@@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and
the default TBX11K-simplified datasets (cross validation fold 8, RGB)"""
"""Aggregated dataset composed of Montgomery, Shenzhen, Indian and the default
TBX11K-simplified datasets (cross validation fold 8, RGB)"""
from . import _maker
......
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