Commit e0fc0ad0 authored by Baumgartner, Michael's avatar Baumgartner, Michael
Browse files

extend check

parent 4f94899b
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment