-
Notifications
You must be signed in to change notification settings - Fork 2
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
Setting up nobrainer and training models #24
Comments
Just an fyi, I just added a skeleton training script for brainsiam at https://github.com/neuronets/nobrainer_training_scripts/blob/main/1.2.0/scripts/train/brainsiam_train.py Notice that while the code shows using a Segmentation class, it is not a segmentation model. So, we need to write a custom training (aka fit) script. It should be straightforward and I will take a stab at it. I hope this use case will enable us to come up with a more generic fit class or at least instructions on how to write a custom training loop inside nobrainer (which in reality is no different from how it is done in tf/keras). PS: if this isn't clear, don't bother. I will explain when we meet next. |
|
@dhritimandas The official TF docs recommend python 3.8-3.11. So, if you notice the installation instructions, I set "python<3.12" and that will take care of the correct tf version for nobrainer. TF>=2.16 moved to keras 3.0 which will fail with some functions in nobrainer. I hope this helps. |
@dhritimandas I opened an issue here to discuss any roadblocks you may be facing.
The text was updated successfully, but these errors were encountered: