Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 6f83b68

Browse files
committed
Removed bare exception
1 parent 36b5fc4 commit 6f83b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sparseml/yolov8/trainers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ def export(self, **kwargs):
715715
complete_path = os.path.join(save_dir, name)
716716
try:
717717
skip_onnx_input_quantize(complete_path, complete_path)
718-
except:
718+
except Exception:
719719
pass
720720

721721
onnx.checker.check_model(complete_path)

0 commit comments

Comments
 (0)