Skip to content

Commit

Permalink
Fix export of trained seg models (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
HonzaCuhel authored Nov 27, 2024
1 parent 046a345 commit 875ee41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tools"
version = "0.1.3"
version = "0.1.4"
description = "Converter for YOLO models into .ONNX format."
readme = "README.md"
requires-python = ">=3.8"
Expand Down
1 change: 0 additions & 1 deletion tools/modules/heads.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ def __init__(self, old_segment, use_rvc2):
self.nm = old_segment.nm # number of masks
self.npr = old_segment.npr # number of protos
self.proto = old_segment.proto # protos
self.detect = old_segment.detect
self.cv4 = old_segment.cv4

def forward(self, x):
Expand Down

0 comments on commit 875ee41

Please sign in to comment.