Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/new segmenter #13

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Feature/new segmenter #13

wants to merge 11 commits into from

Conversation

jxchen01
Copy link
Collaborator

update inference implementation to accomendate new changes in segmenter. Now, it supports running both legacy model and new unet_zoom_0pad models. Legacy models will be executed using the new sliding window function, and new models will be executed using new peicewise prediction function

elif model_type == "unet_xy_zoom":
from aicsmlsegment.Net3D.unet_xy_enlarge import UNet3D as DNN
elif model_type in ["unet_xy_zoom", "unet_xy_zoom_0pad"]:
module = importlib.import_module(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would importlib also work for unet_xy?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch! I need to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants