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

question about 'affine.npy' #5

Open
Shawn0099 opened this issue Mar 8, 2020 · 1 comment
Open

question about 'affine.npy' #5

Shawn0099 opened this issue Mar 8, 2020 · 1 comment

Comments

@Shawn0099
Copy link

Hi,thanks for your work.
I'm running your code but cannot get good result.So far i've run 50 epochs and get 0.72 dice coefficient.It seems the number is not going higher for many epochs.
There are two differences:1.my dataset is brats 2018 which incliude 285 cases.2.I didn't apply flip or distort.In your paper you mentioned using these data augmentation strategy,but the file'affine.npy'is missing.It would be really helpful if you can share how you do this.

@woodywff
Copy link
Owner

woodywff commented Mar 8, 2020

Thanks for your interest.
The affine.npy will be generated for the first time on the fly when you use /unet3d/data.py's write_image_data_to_file() to write the .h5 file.
If you just need this file, you could also get it from any mri image by np.save('affine', nib.load('*.nii.gz').affine).

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