Open Ignoramus0817 opened 5 years ago
It appears that you should put the main code in if __name__ == '__main__':
when using multi-threading when using Windows. I will try to investigate this later.
https://github.com/pytorch/pytorch/issues/7485#issuecomment-558525665
It raises RuntimeError: cannot join current thread when the whole training process ends. Nothing was changed in the code.