Skip to content

Commit 354a28d

Browse files
author
Songki Choi
committed
Fix exception -> warning for anomaly dump_feature option
1 parent eba1a1a commit 354a28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

otx/algorithms/anomaly/tasks/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def export(
266266
Exception: If export_type is not ExportType.OPENVINO
267267
"""
268268
if dump_features:
269-
raise NotImplementedError(
269+
logger.warning(
270270
"Feature dumping is not implemented for the anomaly task."
271271
"The saliency maps and representation vector outputs will not be dumped in the exported model."
272272
)

0 commit comments

Comments
 (0)