Skip to content

Commit

Permalink
Fix int bug
Browse files Browse the repository at this point in the history
  • Loading branch information
geometrikal committed Feb 9, 2024
1 parent 7cb5c56 commit 9ec72bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/olzo_mini.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
# - resnet[18,34,50]
# - vgg[16,19]
# - efficientnetB[0-7]
tp.cnn.id = "convnexttiny_tl"
tp.cnn.id = "mobilenetV2_tl"
# Input image shape, set to None to use default size ([128, 128, 1] for custom, [224, 224, 3] for others)
tp.cnn.img_shape = [128, 128, 1]
# Input image colour space [greyscale/rgb]
Expand Down
2 changes: 1 addition & 1 deletion miso/archive/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def load_from_xml(filename, session=None):

input = None
output = None
img_size = np.zeros(3, dtype=np.int)
img_size = np.zeros(3, dtype=int)
cls_labels = []

list_xml = project.find('labels')
Expand Down
2 changes: 1 addition & 1 deletion miso/deploy/saving.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def load_from_xml(filename, session=None):

input = None
output = None
img_size = np.zeros(3, dtype=np.int32)
img_size = np.zeros(3, dtype=int)
cls_labels = []

list_xml = project.find('labels')
Expand Down

0 comments on commit 9ec72bd

Please sign in to comment.