Closed AlmashAlam closed 3 years ago
https://github.com/MSKCC-Computational-Pathology/MIL-nature-medicine-2019/issues/4 I feel like this is the same/similar issue with using Pytorch dataloader with openslide. If you can, running the code in Linux should solve the issue.
Maybe you can try editing vis_utils/heatmap_utils.py, line 55:
roi_loader = get_simple_loader(roi_dataset, batch_size=batch_size, num_workers=8)
to use num_workers = 0, and see if the issue gets resolved although it will potentially make the code run a lot slower.
I tried running the command
python create_heatmaps.py --config config_template.yaml
And ran into this error
System configuration:
Could you please provide any guidance on how to resolve this error?