We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, during validation in taks1/train.py I'm getting this error. Have you encountered such an error? Do you have a solution?
The text was updated successfully, but these errors were encountered:
@KalinZeglarz @Nicolik have you found a solution? I am encountering this issue as well.
Sorry, something went wrong.
I tried the following and passed the error: File: semseg\data_loader.py
Replace the "QueueDataLoaderValidation" function with the following:
def QueueDataLoaderValidation(config): print('Building TorchIO Validation Set Loader...') subject_list = create_subject_list(config.val_images, config.val_images) subjects_dataset = SubjectsDataset(subject_list)
patches_validation_set = torchio.Queue( subjects_dataset=subjects_dataset, max_length=300, samples_per_volume=10, sampler=torchio.sampler.UniformSampler(64), num_workers=config.num_workers, shuffle_subjects=False, shuffle_patches=False, ) patch_loader = torch.utils.data.DataLoader(patches_validation_set, batch_size=config.batch_size) print('TorchIO Validation Loader built!') return patch_loader
Kindly inform me if worked with you too...
No branches or pull requests
Hello, during validation in taks1/train.py I'm getting this error. Have you encountered such an error? Do you have a solution?
The text was updated successfully, but these errors were encountered: