-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Admin/cleanup instance segmentation (#299)
* remove omnipose * rename skoots -> instanceseg * cleanup comments * add astropy and edt * fix geomloss import * pre-commit * format * pin lightning and astropy --------- Co-authored-by: Benjamin Morris <[email protected]>
- Loading branch information
1 parent
e5c64e9
commit 7e7e8ae
Showing
19 changed files
with
41 additions
and
784 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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
defaults: | ||
- default.yaml | ||
precision: 16 | ||
accelerator: gpu | ||
devices: 1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
try: | ||
from .omnipose import OmniposeClustering, OmniposeLoss, OmniposePreprocessd | ||
from .instance_seg import ( | ||
InstanceSegCluster, | ||
InstanceSegLoss, | ||
InstanceSegPreprocessd, | ||
) | ||
except (ModuleNotFoundError, ImportError): | ||
OmniposeClustering = None | ||
OmniposeLoss = None | ||
OmniposePreprocessd = None | ||
|
||
try: | ||
from .skoots import SkootsCluster, SkootsLoss, SkootsPreprocessd | ||
except (ModuleNotFoundError, ImportError): | ||
SkootsCluster = None | ||
SkootsLoss = None | ||
SkootsPreprocessd = None | ||
InstanceSegCluster = None | ||
InstanceSegLoss = None | ||
InstanceSegPreprocessd = None | ||
|
||
from .postprocessing import ActThreshLabel, DictToIm, detach |
Oops, something went wrong.