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

No keyerror #1

Open
JoonilHwang opened this issue Jul 8, 2024 · 1 comment
Open

No keyerror #1

JoonilHwang opened this issue Jul 8, 2024 · 1 comment

Comments

@JoonilHwang
Copy link

While I running the shell/train/train.sh

for the BBDM_base.yaml

KeyError: 'ct2mr_aligned_global_hist_context' this kind of error occur...

also, I would like to know the data preparation for the code make_hdf5.sh also

thanks,
best
Joonil

@CKBling
Copy link
Collaborator

CKBling commented Aug 15, 2024

Hello! I just saw this now because I didn't receive a notification.

  1. KeyError: The line @Registers.datasets.register_with_name('ct2mr_aligned_global_hist_context') exists in datasets/custom.py, so it runs without issues on my end. Please check if there might be any problems with your environment setup.

  2. Due to organizational constraints, I'm unable to share the full preprocessing code for CT->MRI. However, I've added the preprocessing code for BraTS in brain_dataset_utils/preprocess_BraTS.py. You can use SPM12 or ANTsPy for coregistration between CT and MRI.

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