-
Notifications
You must be signed in to change notification settings - Fork 11
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
[samples] add inference sample for simple snp trainer #128
base: dev-v0.1.0
Are you sure you want to change the base?
[samples] add inference sample for simple snp trainer #128
Conversation
|
||
# Create test DAG | ||
test_dataset = HDFDataLoader(args.test_hdf, batch_size=32, | ||
shuffle=True, num_workers=args.threads, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as I'm thinking about this, I am realizing that we can't use the HDFDataLoader for the inference script here. We'll want to use the ReadPileupDataLoader because that way we'll have access to the Variant entries to serialize outputs to a VCF.
For that one, we also have to set shuffle=False
so the inference order is the same as the VCF entries order.
…erence-sample-snp-trainer
…/inference-sample-snp-trainer
Resolves #110 & #107