Skip to content

Commit

Permalink
Update GANDLF/compute/inference_loop.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sarthak Pati <[email protected]>
  • Loading branch information
benmalef and sarthakpati authored Oct 31, 2024
1 parent bf7abfc commit adcd561
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GANDLF/compute/inference_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ def inference_loop(
)
cv2.imwrite(file_to_write, heatmaps[key])

# this is needed because openslide returns an RGBA image
os_image_array = np.asarray(
os_image.read_region(
(0, 0),
Expand Down

0 comments on commit adcd561

Please sign in to comment.