Hi team, I have been using FastSurfer for a while now and recently decided to use it to train on my own dataset. I have a couple of quick suggestions for the team when it comes to the FastSurfer/FastSurferCNN/generate_hdf5.py file:
- This sometimes fails because the base image/segmentation is not conformed to the 256256256 space and the 1mm^3 resolution. Wouldn't it be better to conform the input image and segmentation using the load_and_conform_image function from the data_loader/load_neuroimaging_data file? I also played around a bit (changed the code) and generated HDF5 files for other resolutions, but the training fails in that case because of an error with the downsampled sizes.
- This is simply too slow. I am trying out the HCP data and it's taking hours upon hours to get the HDF5 files. Do you want to use multiprocessing library and simply parallelize the for loop? I have done the parallelization with map.pool and it works much faster now!
I have attached the file for your reference, please.
Cheers,
Sukrit
PS: Hoping to see the team at DZNE some time next summer! @m-reuter
generate_hdf5.zip
Hi team, I have been using FastSurfer for a while now and recently decided to use it to train on my own dataset. I have a couple of quick suggestions for the team when it comes to the FastSurfer/FastSurferCNN/generate_hdf5.py file:
I have attached the file for your reference, please.
Cheers,
Sukrit
PS: Hoping to see the team at DZNE some time next summer! @m-reuter
generate_hdf5.zip