11. 执行程序时报错 The input file specified is using deprecated params: xxx. Please upgrade the input file by using caffe tools(upgrade_net_proto_text/upgrade_net_proto_binary).?
1.Tengine对caffe只支持新的input格式,解决方法:调用caffe的工具 upgrade_net_proto_text/upgrade_net_proto_binary 对prototxt进行升级;
2.手动修改prototxt文件,将
|
input: "data"
input_shape {
dim: 1
dim: 3
dim: 300
dim: 300
}
|
的格式改为(注意:输入维度要对应修改,不能照抄)
|
layer {
name: "input"
type: "Input"
top: "data"
input_param {
shape {
dim: 1
dim: 3
dim: 300
dim: 300
}
}
}
|