Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yaoyuping
nnDetection
Commits
532aec45
Unverified
Commit
532aec45
authored
Feb 15, 2022
by
alibool
Committed by
GitHub
Feb 15, 2022
Browse files
`remove_modality=True` --> `remove_modality=False`
parent
9853d3e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
projects/Task001_Decathlon/scripts/prepare.py
projects/Task001_Decathlon/scripts/prepare.py
+1
-1
No files found.
projects/Task001_Decathlon/scripts/prepare.py
View file @
532aec45
...
@@ -115,7 +115,7 @@ def main():
...
@@ -115,7 +115,7 @@ def main():
save_json
(
dataset_info
,
task_data_dir
/
"dataset.json"
)
save_json
(
dataset_info
,
task_data_dir
/
"dataset.json"
)
# prepare data and labels
# prepare data and labels
case_ids
=
get_case_ids_from_dir
(
source_data_dir
,
remove_modality
=
Tru
e
)
case_ids
=
get_case_ids_from_dir
(
source_data_dir
,
remove_modality
=
Fals
e
)
case_ids
=
sorted
([
c
for
c
in
case_ids
if
c
])
case_ids
=
sorted
([
c
for
c
in
case_ids
if
c
])
logger
.
info
(
f
"Found
{
len
(
case_ids
)
}
for preparation."
)
logger
.
info
(
f
"Found
{
len
(
case_ids
)
}
for preparation."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment