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

Train in my own dataset #21

Closed
AmericaBG opened this issue Apr 29, 2021 · 3 comments
Closed

Train in my own dataset #21

AmericaBG opened this issue Apr 29, 2021 · 3 comments

Comments

@AmericaBG
Copy link

Hi!
First of all, thank you very much for sharing your project. It's a great job, congratulations!

I would like to train your network with my own dataset. I've .nii files, so, what I should to do is to stack all my dataset in a numpy array?
For example, if I've 20 .nii files with shape [20,256,256], I create an array of [400,256,256]. That's it?

Thank you ver much in advance.

All the best :)

@nibtehaz
Copy link
Owner

nibtehaz commented May 1, 2021

Hi @SouthAmericaB

Thank you for your kind words and your interest in our project.

Yes exactly, if you wish to use the 2D model you would need to convert the data from 20 20x256x256 arrays to 1 400x256x256 array.

On the other hand if you wish to use the 3D model you would need to convert that to 20 (number of files) x 256 (X direction) x 256 (Y direction) x 20 (Z direction). Since the number of pixels along the Z direction (20) is too low, that may not yield good result.

Thanks again, best wishes with your work.

@AmericaBG
Copy link
Author

Thank you very much about your reply!

I'm going to try :D

All the best!

@nibtehaz
Copy link
Owner

nibtehaz commented May 5, 2021

You're most welcome, best wishes.

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

2 participants