Logging volumetric data periodically?


I’m working on a module that deals with volumetric data. I would like that during the validation step, some samples are written to disk so I can inspect them later with a visualization tool.

What would be a good approach to do that? Is it possible to spawn a CPU thread that deals with writing the volumetric data to disk while the GPU is going forward with the training?

Yes, you can create a thread to write to the filesystem within the validation step.