Skip to content

Commit

Permalink
Fix minor typo in printout
Browse files Browse the repository at this point in the history
  • Loading branch information
scjjb authored Oct 12, 2022
1 parent 6fbcaa3 commit 8d2df53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vis_utils/heatmap_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ def compute_from_patches(wsi_object, clam_pred=None, model=None, feature_extract
save_path = save_hdf5(attn_save_path, asset_dict, mode=mode)

if idx % math.ceil(num_batches * 0.05) == 0:
print('procssed {} / {}'.format(idx, num_batches))
print('processed {} / {}'.format(idx, num_batches))

if feat_save_path is not None:
asset_dict = {'features': features.cpu().numpy(), 'coords': coords}
save_hdf5(feat_save_path, asset_dict, mode=mode)

mode = "a"
return attn_save_path, feat_save_path, wsi_object
return attn_save_path, feat_save_path, wsi_object

0 comments on commit 8d2df53

Please sign in to comment.