HW03 -实物图像识别-改进:图像增强、网络架构,K折交叉验证

HW03 -实物图像识别-改进:图像增强、网络架构,K折交叉验证_第1张图片

修改模型架构或者进行图像增强

# Normally, We don't need augmentations in testing and validation.
# All we need here is to resize the PIL image and transform it into Tensor.
test_tfm = transforms.Compose([
    transforms.Resize((128, 128

你可能感兴趣的:(李宏毅机器学习课程学习笔记,人工智能)