Replies: 1 comment
-
Ok, it seems there is a way to do it once. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to give a try to auto3dseg.
Due to setup of my environment and pytorch/pytorch#973 I am using a workaround where I call
torch.multiprocessing.set_sharing_strategy("file_system")
at the beginning of any of my training scripts.With Auto3DSeg - the default training fails, so I go to work_dir/{algo}_{fold}/train.py and add this line - then it works.
The problem is that this is not a scalable solution, since it requires manual modification.
Question : Is it possible to specify that as 'custom code to be included in training script'?
Or maybe there is a way to modify the templates once and use them since now on?
The last resort is patching script files with sed or something like this, but I would really like to avoid that.
Beta Was this translation helpful? Give feedback.
All reactions