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
e0fc0ad0
Commit
e0fc0ad0
authored
Nov 24, 2022
by
Baumgartner, Michael
Browse files
extend check
parent
4f94899b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
nndet/utils/check.py
nndet/utils/check.py
+2
-0
No files found.
nndet/utils/check.py
View file @
e0fc0ad0
...
...
@@ -168,6 +168,8 @@ def check_data_and_label_splitted(
if
not
Path
(
cp
).
is_file
():
raise
ValueError
(
f
"Expected
{
cp
}
to be a raw splitted "
"data path but it does not exist."
)
if
"."
in
str
(
cp
.
parent
):
raise
ValueError
(
f
"Avoid '.' in paths since this confuses nnDetection in its current version, found
{
str
(
cp
)
}
"
)
if
labels
:
# check label info (json files)
...
...
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