CNN_PyTorch_Beginner icon indicating copy to clipboard operation
CNN_PyTorch_Beginner copied to clipboard

Object detection learning path

Results 4 CNN_PyTorch_Beginner issues
Sort by recently updated
recently updated
newest added

您好,我遇到了这个错误,请问是什么原因造成的 ,谢谢~ loss.append(loss.item()) AttributeError: 'Tensor' object has no attribute 'append'

运行第3个LeNet-5案例,自定义数据,最后模型测试出现这样的报错:RuntimeError: Given groups=1, weight of size [6, 1, 5, 5], expected input[1, 3, 32, 32] to have 1 channels, but got 3 channels instead

尝试过改变学习率和batch-size,但是loss保持在0.69不变,以下是代码,可以给我一点建议吗 ```python from PIL import Image from torch.utils.data import Dataset import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision...

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [64, 500]], which is output 0 of ReluBackward0, is at version 1; expected...