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