Day 777
matplotlib/pyplot invert axis
Unsurprisingly intuitive:
ax.set_ylim(1, 0)
Install pytorch on CUDA 10.0 + verify torch/cuda installation
Pytorch officially doesn’t do CUDA 10.0.x, but I found this, worked perfectly: How to Install PyTorch with CUDA 10.0 - VarHowto
Installing:
pip install torch==1.4.0 torchvision==0.5.0 -f https://download.pytorch.org/whl/cu100/torch_stable.html
Testing installation and GPU:
import torch
x = torch.rand(5, 3)
print(x)
torch.cuda.is_available()