Pycharm debug console blocked by Dataloader

gn_opt.png

Dataloader from PyTorch supports parallel data sample, but this will block PyCharm debug console.

The solutions was to set the num_workers to 0 during the creation of the DataLoader object.

Written on January 4, 2019