-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change load functions to default to image dtype (#609)
* adjusted load_imgs_from_dir's force_ints behavior * test changes * added a function to convert deepcell seg masksfrom float32 to int16 via ranked_data. * removed dtype checks * debugging bytes -> numpy array * dtype removal * removed dtype in som_utils * reshaped `ranked_mask` in `_convert_deepcell_seg_masks` from 1D n^2 x 1 -> n x n * fixed deepcell shape issue * added negative value check * added negative value check * adjusted tests Co-authored-by: Noah F. Greenwald <noahfgreenwald@gmail.com>
- Loading branch information
1 parent
da89052
commit f3b9c56
Showing
14 changed files
with
161 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.