-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Has anyone tried implementing raytune for hyperparameter optimization? #297
Comments
I have used Optuna: https://optuna.readthedocs.io/en/stable/index.html to tune my parameters. Ray also has an implementation of optuna. You can tune by making few changes in the train.py file |
Thank you, i will look into it. Could you show how you have made changes in your code for U-net (train.py) ? Have you also changed the architecture and did it give better results? |
@k-nayak Sure i can share it. i haven't made any architecture changes as of now. were you able to implement attention-unet ? can you share it with me? |
Attention U-net gave a better Dice in my case and the loss was also better. In 50 epochs the change was not significant, i plan on trying RAUnet as well , based on the paper it performs better @Sehjbir Sure i can share how i implemented Attn Unet. It would be great to see how you implemented Optuna, as i plan on Tuning my parameters on Attn Unet and see if it helps. Let me know how you would want me to share the Code and you can do it as well. |
@k-nayak i can email you the code repo i updated. does that work ? |
Sure @Sehjbir I can send you the code to your mail as well Or create a private repo and i can maybe upload my code there. |
@Sehjbir Thanks for the code. I have uploaded my Train, Unet_parts and Unet_model files. Give it a try and let me know if you need any support. |
@k-nayak while running the training i'm getting this error: RuntimeError: The size of tensor a (74) must match the size of tensor b (75) at non-singleton dimension 3. I'm using the same training and valid set i used to train U-net any suggestions? |
@k-nayak while running R-Unet: RuntimeError: Sizes of tensors must match except in dimension 2. Got 48 and 49 (The offending index is 0). |
@k-nayak while running U-net it's coming: unet_parts_updated.py", line 137, in forward |
@k-nayak any possible solution? |
Does anyone have this model implemented with Ray? |
Since most people here are having smaller datasets and struggling with playing around different hyperparameters, I came across Ray tune library for hyperparameter tuning, has anyone had any experience with it?
https://docs.ray.io/en/master/tune/index.html
The text was updated successfully, but these errors were encountered: