Skip to content

How to install ANTsRNet #67

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

Closed
cookpa opened this issue Aug 24, 2024 · 5 comments · Fixed by #68
Closed

How to install ANTsRNet #67

cookpa opened this issue Aug 24, 2024 · 5 comments · Fixed by #68

Comments

@cookpa
Copy link
Member

cookpa commented Aug 24, 2024

Are there any installation instructions?

@ntustison
Copy link
Member

Have you never used ANTsRNet before? If not, then I can do it. But I can also walk you through it if you want to do it. Whatever you prefer. Although it might be helpful if somebody else knows about this package. Other than Brian, the only people I know who use ANTsRNet is Taki and Kristin's group at UPenn.

@ntustison
Copy link
Member

But, basically, it's much easier now than it used to be. keras::install_keras() does it all for you.

@cookpa
Copy link
Member Author

cookpa commented Aug 24, 2024

Oh neat - it would be great to document this. If it's easy, might attract more users.

@ntustison
Copy link
Member

Great.

And note that I keep everything coordinated between the two packages which should be apparent when looking at the tutorials. There might be one or two architectures that are in ANTsRNet that aren't in ANTsPyNet but this is simply because I started with the former. And those architectures are not used in anything and I didn't consider it worth it to port over. But other than that, everything is directly coordinated.

@cookpa
Copy link
Member Author

cookpa commented Aug 25, 2024

Success!

R:

install.packages("keras")
library(keras)
keras::install_keras()

Then bash:

git clone https://github.com/stnava/ITKR.git
git clone https://github.com/ANTsX/ANTsRCore.git
git clone https://github.com/ANTsX/ANTsR.git
R CMD INSTALL ITKR 
R CMD INSTALL ANTsRCore
R CMD INSTALL ANTsR
R CMD INSTALL ANTsRNet

Worked for me (Intel Mac, OS 14, R 4.3.1).

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

Successfully merging a pull request may close this issue.

2 participants