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

image size is hard-coded.. #16

Open
hvgazula opened this issue Dec 11, 2023 · 1 comment
Open

image size is hard-coded.. #16

hvgazula opened this issue Dec 11, 2023 · 1 comment
Assignees

Comments

@hvgazula
Copy link
Collaborator

if self.model_name == 'simple_unet':
image = image[:,1:161,1:193]
mask = mask[:,1:161,1:193]

Can we, not hard code numbers like this? Is there a better alternative?

@hvgazula
Copy link
Collaborator Author

hvgazula commented Mar 6, 2024

time to update the unet and other models to accommodate images of varying size. For more info, please refer to links in #44

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

No branches or pull requests

2 participants