MXnet报错处理——input image size smaller than input shape
来源:互联网 发布:淘宝网店加盟代理 编辑:程序博客网 时间:2024/06/07 22:26
跑inception V3模型时,出现报错
报错:
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
0 0
- MXnet报错处理——input image size smaller than input shape
- TensorFlow 使用——tf.image.extract_glimpse(input, size, iffsets, centered, normalized)
- input image
- OGG-01705 input trail file './dirdat/fc075295' is greater than the size of the file
- [mjpeg @ 0x27ee9e0] buffer smaller than minimum size
- canvas.toDataURL('image/png')报错处理方法
- input type=image
- python初学——input函数报错
- ORA-01200: actual file size of 1199 is smaller than correct size of 1280 blocks
- ORA-01200: actual file size of 533 is smaller than correct size of 640 blocks
- Oracle笔记——常见报错处理方法
- thymeleaf input报错
- 【边喝caffee边Caffe 】(二)python版本的报错:Mean shape incompatible with input shape
- 【Tensorflow】报错的坑--could not broadcast input array from shape (100,784) into shape (100)
- Input
- INPUT
- input
- input()
- JavaScript实现用户行为跟踪收集
- 指针与内存
- gvim cscope使用
- Angular项目目录结构详解
- [Oracle]Oracle的常用SQL语法
- MXnet报错处理——input image size smaller than input shape
- Java概念性问题2
- php5.3不能连接mssql数据库的解决方法
- MIP、PWA、WebGL、HTTPS,来看Web生态的领先技术
- 前端控制器配置
- ##########(python 解析参数方法 可用) Python optionParser模块的使用方法 #######
- Oracle11g安装在CentOS6.5
- spring初始化bean InitializingBean
- tty命令查看当前用的是哪个console在显示