-
Notifications
You must be signed in to change notification settings - Fork 36
JAX AI Stack: Port UNETR model #106
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
base: main
Are you sure you want to change the base?
Conversation
| return x | ||
|
|
||
|
|
||
| class ViT(nnx.Module): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets consider using the ViT implementation here since just doing training and no pre-trained weights.
bonsai/models/unetr/modeling.py
Outdated
| norm_layer=norm_layer, | ||
| rngs=rngs, | ||
| ) | ||
| self.out = nnx.Conv( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we give a more descriptive name for this layer?
|
I think we should also include a readme explaining what the code is doing and how it should be used. |
Resolves #<issue_number_goes_here>
Reference
Checklist
run_model.pyfor model usage,test_outputs.pyand/ormodel_validation_colab.ipynbfor quality).