userwarning: default upsampling behavior when mode=bilinear is changed to align_corners=false since 0.4.0. please specify align_corners=true if the old behavior is desired. see the documentation of nn.upsample for details. "see the documentation of nn.upsample for details.".format(mode)
时间: 2023-04-30 08:05:43 浏览: 182
Pytorch上下采样函数--interpolate用法
此警告提醒用户,在bilinear模式下默认的上采样行为已在0.4.0版本中改变为align_corners=false。如果想要保留旧的行为,则应设置align_corners=true。请查阅nn.upsample文档以获取更多详细信息。
阅读全文