MXnet报错处理——input image size smaller than input shape
2017-05-05 10:50
471 查看
跑inception V3模型时,出现报错
what(): [10:06:15] src/io/image_aug_default.cc:282: Check failed: static_cast<index_t>(res.rows) >= param_.data_shape[1] && static_cast<index_t>(res.cols) >= param_.data_shape[2] input image size smaller than input shape
或
inception v3的输入图像为299*299,因此增加min_random_scale的值:
min_random_scale = 0.623
报错:
terminate called after throwing an instance of 'dmlc::Error'what(): [10:06:15] src/io/image_aug_default.cc:282: Check failed: static_cast<index_t>(res.rows) >= param_.data_shape[1] && static_cast<index_t>(res.cols) >= param_.data_shape[2] input image size smaller than input shape
原因:
image_aug_default说明是数据增强导致输入图像的size小于模型的input shape,解决:
注释#data.set_data_aug_level(parser, 3) #min_random_scale = 0.533
或
inception v3的输入图像为299*299,因此增加min_random_scale的值:
min_random_scale = 0.623
相关文章推荐
- Volume is smaller than the minimum size specified in image
- ORA-01200: actual file size of 533 is smaller than correct size of 640 blocks
- New Memory allocation 1046759 bytes is smaller than the minimum allocation size of 1048576 bytes.
- ORA-01200: actual file size of 1199 is smaller than correct size of 1280 blocks
- SWAP_JOIN_INPUTS Oracle Hint(处理hash join强制大表(segment_size大)作为被驱动表)
- Enabling a Run-Time Image Size Larger Than 32 MB
- TensorFlow 使用——tf.image.extract_glimpse(input, size, iffsets, centered, normalized)
- SWAP_JOIN_INPUTS Oracle Hint(处理hash join强制大表(segment_size大)作为被驱动表)
- [mjpeg @ 0x27ee9e0] buffer smaller than minimum size
- 毕业设计记录(四)一个form里有两个image的input提交按钮,servlet咋处理?
- WPF中使用BitmapImage处理图片文件
- Whats the best way to split an array in ruby into multiple smaller arrays of random size
- text与image字段转换处理示例.sql
- 安卓上网络图片的处理解决oom------------Universal Image Loader for Android
- IFeature.Shape赋值时出错处理
- 开源框架PullToRefresh、PinnedHeaderListView、PhotoView、CustomShapeImageView
- iOS调用相机/相册,并使用VPImageViewController(三方库)对图像处理(1)
- <input type="image">标签引发的form表单自动提交
- 【图像处理】Python-Image 基本的图像处理操作 【转载】
- Nginx执行php,显示“No input file specified. ”的处理方法