DNN,PyTorch

Thumbnail of post image 113

import torchprint(torch.cuda.is_available())>>Truetorch.cuda.get_device_name(0)>>'GeForce GTX 1080 Ti'

Pytorchに関する基礎知識 ...

Python

Thumbnail of post image 145

In: from PIL import ImageIn: img_pil = Image.open("hoge.png")In: img_pil.mode Out: 'RGBA'In: img_pil = img_pil.convert(" ...

Python

Thumbnail of post image 035

num_list = num_list.index(1)>>2num_list.index(0)>>0num_list.index(2)>>Traceback (most recent call last):>>File "<ipyt ...