Skip to content

Commit

Permalink
Merge pull request #34 from mpelchat04/binary_inference
Browse files Browse the repository at this point in the history
Fix issue with binary scripted model
  • Loading branch information
mpelchat04 authored Dec 4, 2024
2 parents e7ceb9a + da4715b commit 058de06
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion geo_inference/geo_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ def sum_overlapped_chunks(
where=full_array[-1, :, :] != 0,
)
if final_result.shape[0] == 1:
final_result = expit(final_result)
final_result = (
np.where(final_result > prediction_threshold, 1, 0).squeeze(0).astype(np.uint8)
)
Expand Down

0 comments on commit 058de06

Please sign in to comment.