Skip to content
Snippets Groups Projects
Commit 0a1caf1b authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Addressed empty annotations returning None

parent 6e1824b1
No related branches found
No related tags found
1 merge request!59Added HLDI for the BATL database, added optional data normalization in FaceCropAlign
Pipeline #
......@@ -283,6 +283,10 @@ class BatlPadDatabase(PadDatabase):
annotations = json.load(json_file)
if not annotations: # if dictionary is empty
return None
return annotations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment