首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >output shape [1,224,224] doesn't match broadcast [3,224,224]:Caltech 读取时统一 RGB

output shape [1,224,224] doesn't match broadcast [3,224,224]:Caltech 读取时统一 RGB

作者头像
用户12833544
发布于 2026-11-14 14:55:06
发布于 2026-11-14 14:55:06
110
举报
概述
原帖在 Normalize 中失败;虽然定义了返回 RGB 的 pil_loader,实际 getitem 却直接调用 Image.open,没有使用它:

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档