Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mednet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
medai
software
mednet
Commits
c938869f
Commit
c938869f
authored
2 years ago
by
ogueler@idiap.ch
Browse files
Options
Downloads
Patches
Plain Diff
added RS configs for tbx11k
parent
7a02ba55
No related branches found
No related tags found
2 merge requests
!5
Tbx11k
,
!4
Moved code to lightning
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ptbench/configs/datasets/tbx11k_simplified_RS/__init__.py
+10
-0
10 additions, 0 deletions
...ptbench/configs/datasets/tbx11k_simplified_RS/__init__.py
src/ptbench/configs/datasets/tbx11k_simplified_RS/default.py
+17
-0
17 additions, 0 deletions
src/ptbench/configs/datasets/tbx11k_simplified_RS/default.py
with
27 additions
and
0 deletions
src/ptbench/configs/datasets/tbx11k_simplified_RS/__init__.py
0 → 100644
+
10
−
0
View file @
c938869f
# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: GPL-3.0-or-later
def
_maker
(
protocol
):
from
....data.tbx11k_simplified_RS
import
dataset
as
raw
from
..
import
make_dataset
as
mk
return
mk
([
raw
.
subsets
(
protocol
)])
This diff is collapsed.
Click to expand it.
src/ptbench/configs/datasets/tbx11k_simplified_RS/default.py
0 → 100644
+
17
−
0
View file @
c938869f
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""
TBX11k simplified dataset for TB detection (default protocol)
* Split reference: first 62.5% of TB and healthy CXR for
"
train
"
15.9% for
*
"
validation
"
, 21.6% for
"
test
"
* This split only consists of healthy and active TB samples
*
"
Latent TB
"
or
"
sick & non-TB
"
samples are not included in this configuration
* This configuration resolution: 512 x 512 (default)
* See :py:mod:`ptbench.data.tbx11k` for dataset details
"""
from
.
import
_maker
dataset
=
_maker
(
"
default
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment