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

pytorch pre-train file #583

Open
wangnanv5 opened this issue Jan 22, 2024 · 8 comments
Open

pytorch pre-train file #583

wangnanv5 opened this issue Jan 22, 2024 · 8 comments

Comments

@wangnanv5
Copy link

hello,there are only have tf model files,can you provide pytorch pre-train files?
thank you!

@amirshamaei
Copy link

I need pytorch pretrained files as well.

@lchauvin
Copy link

lchauvin commented Apr 9, 2024

Same here

@amirshamaei
Copy link

Are you up to train it and release the pre-trained file?

@lchauvin
Copy link

I wanted to, but for now SynthMorph code for training on synthetic data is only available for Tensorflow.

If I time in the given days, I will try to migrate it to PyTorch, then it would be easy to generate some pre-trained models.

@amirshamaei
Copy link

@lchauvin thank you.
Have you seen this: https://github.com/Hsankesara/VoxelMorph-PyTorch/blob/master/README.md

I am trying to get a master student to do this. I think having it as a library would be helpful when we want to train end to end as well.

@adalca
Copy link
Collaborator

adalca commented Apr 11, 2024

@avnishks has kindly trasnformed the synthmorph model to pytorch. I'll try to loosely test it in the next day or two on a few images, and if it looks reasonable I'll post it here.

@lchauvin
Copy link

@amirshamaei Yes, but I'm not sure about this, because VoxelMorph seems to have a pytorch implementation now (I don't know if it comes from this repo). The only thing is that it's only VoxelMorph, not SynthMorph, which would make it easier to train as we can generate synthetic data. I'll try to have a look at converting this:

https://colab.research.google.com/drive/1zaDnAJGUokS0knqWttuTgrRJMb6zxukI?usp=sharing#scrollTo=4X5X1R1eCB5J

@amirshamaei
Copy link

@adalca Thank you. Looking forward to using that!

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

4 participants