Closed twangnh closed 4 years ago
Actually it is normal. The multiprocessing mode is set to spawn
.
@hellock, Hi Kai, thanks, I'm wondering how to set it to a mode that does not have the "re-import" step, because if I modify the code when a previous code is running, the reimport would load something that was not expected for the previous run?
Here is a strange error case, I thought a running code would not be influenced by modification to current code, but I just modified some code (i.e., add lvis import), for a existing training, when it ends at the epoch, it would 're-import' the files and lead to error, I'm not sure if it is cased by the data loader, can anyone help?
Importantly, if one modify some code during model training and there is no error injured, then that modification would silently affect our existing model training even it is started before the modification, and that is really not wanted