RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase

I removed num_workers parameter from DataLoader and it seems it stopped using multithreading. It worked after that.

1 Like