Get the escaped name of the module usable in filepaths by replacing spaces and underscores.
KeypointRCNNBackbone.name_safe
dgs.models.dataset.keypoint_rcnn.KeypointRCNNBackbone.name
dgs.models.dataset.keypoint_rcnn.KeypointRCNNBackbone.precision