Skip to content

Conversation

@jxchen01
Copy link
Contributor

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
Contributor 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

Copy link
Collaborator

@kmitcham kmitcham left a comment

Choose a reason for hiding this comment

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

Testing my repo permissions

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.

4 participants