Skip to content

Commit

Permalink
debug commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 committed Jan 14, 2025
1 parent ced646a commit 3a07ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luxonis_ml/data/datasets/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def validate_mask(cls, values: Dict[str, Any]) -> Dict[str, Any]:
)
except Exception as e:
raise ValueError(
f"Failed to load mask from {mask_path}"
f"Failed to load mask from {mask_path}. {str(e)}"
) from e
if not isinstance(mask, np.ndarray):
raise ValueError(
Expand Down Expand Up @@ -498,7 +498,7 @@ def validate_path(cls, path: FilePath) -> FilePath:
np.load(path)
except Exception as e:
raise ValueError(
f"Failed to load array annotation from {path}. {str(e)}"
f"Failed to load array annotation from {path}."
) from e
return path

Expand Down

0 comments on commit 3a07ada

Please sign in to comment.