Skip to content

Commit 014e193

Browse files
authored
Update main.py to reflect changes in neural_network.py
1 parent fbeaade commit 014e193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DeepSlice/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ def predict(
7777
if use_secondary_model:
7878
print("Using secondary model")
7979
predictions = neural_network.predictions_util(
80-
self.model, image_generator, secondary_weights,None, ensemble
80+
self.model, image_generator, secondary_weights,None, ensemble, self.species
8181
)
8282
else:
8383
predictions = neural_network.predictions_util(
84-
self.model, image_generator, primary_weights, secondary_weights, ensemble
84+
self.model, image_generator, primary_weights, secondary_weights, ensemble, self.species
8585
)
8686
predictions["width"] = width
8787
predictions["height"] = height

0 commit comments

Comments
 (0)