mit-quest / necstlab-damage-segmentation

MIT License
5 stars 6 forks source link

make tmp directory process-specific so multiple runs can happen on the same machine in parallel #27

Open Josh-Joseph opened 4 years ago

CarolinaFurtado commented 3 years ago

@rak5216 @Josh-Joseph do we want:

  1. to make it just process specific, like: instead of tmpcall it tmp_train? This allows up to run different processes (train, test, infer.. etc) at the same time just to test.

  2. make it specific to every action, like, tmp_0, tmp_1, etc, regardless of what we are running. This will allow us to run 2 training processes at the same time for example. But this will create a problem if the processes don't finish. Then the folders will not be delected, and another process we run, will just create a new one. If they do finish, that is fine.

To be honest I don't see a situation where 2 would be needed, I think this is only useful when we are testing the steps of the workflow.