环境使用node版本v14.21.3,npm版本6.14.18
1.问题描述
1.1使用npm install后报错
npm ERR! cb() never called!npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! ? ? <https://npm.community>npm ERR! A complete log…
课程链接
1.读取图像分类数据集
import matplotlib.pyplot as plt
import torch
import torchvision
from torch.utils import data
from torchvision import transforms
from d2l import torch as d2l
d2l.use_svg_display()
#读取数据集
transtransforms.ToTensor()
mnist_…