Memory error when trying to train with two different dataloaders in parallel

solution: https://stackoverflow.com/a/57890309/11090634