Pytorch access GPU tensors from memory

tensor.cpu().numpy() needs to be done when using GPU.

Random / cooking

Паста с морепродуктами в сливочном соусе рецепт – итальянская кухня: паста и пицца. «Еда»

Nvidia tool for GPU/CPU optimization

NVIDIA Nsight Systems | NVIDIA Developer

Found here (a nice article too): Object Detection from 9 FPS to 650 FPS in 6 Steps | paulbridger.com

Pytorch multiprocessing

Multiprocessing best practices — PyTorch 1.8.0 documentation

TL;DR:

torch.multiprocessing is a drop in replacement for Python’s multiprocessing module