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
41ef492a
Commit
41ef492a
authored
May 27, 2021
by
mibaumgartner
Browse files
add no check option to preprocessing
parent
2e2bd60b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
scripts/preprocess.py
scripts/preprocess.py
+18
-12
No files found.
scripts/preprocess.py
View file @
41ef492a
...
...
@@ -425,13 +425,19 @@ def main():
help
=
"Run a full check of the data."
,
action
=
'store_true'
,
)
parser
.
add_argument
(
'--no_check'
,
help
=
"Skip basic check."
,
action
=
'store_true'
,
)
args
=
parser
.
parse_args
()
tasks
=
args
.
tasks
ov
=
args
.
overwrites
full_check
=
args
.
full_check
no_check
=
args
.
no_check
initialize_config_module
(
config_module
=
"nndet.conf"
)
# perform preprocessing checks first
if
not
no_check
:
for
task
in
tasks
:
_ov
=
copy
.
deepcopy
(
ov
)
if
ov
is
not
None
else
[]
cfg
=
compose
(
task
,
"config.yaml"
,
overrides
=
_ov
)
...
...
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