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

How to specify input/output pairs in /images/list.txt for model training #595

Open
adityaapte opened this issue Apr 3, 2024 · 2 comments

Comments

@adityaapte
Copy link

Task (what are you trying to do/register?)

Train a model from pairs of registered CT images (3D).

What have you tried

I am at data preparation stage in the format required by training script, but not sure how files names for input/output image pairs should be specified in /images/list.txt.

Details of experiments

I haven't run training yet.

@adalca
Copy link
Collaborator

adalca commented Apr 3, 2024

I believe just one filename per line in list.txt, and (if you dont provide an atlas) the script will randomly choose pairs.

if you already have predefined pair, you can quickly modify the script.py file here:

train_files = vxm.py.utils.read_file_list(args.img_list, prefix=args.img_prefix,

to use read_pair_list instead of read_file_list.

@adityaapte
Copy link
Author

Thanks!

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