Paddle-Lite opt转化模型出错 Check failed: is_found: Can't find a Cast kernel for Cast op

c7rzv4ha  于 2021-12-01  发布在  Java
关注(0)|答案(5)|浏览(352)

我用的是develop版本的opt直接从paddle-lit源码编译出来的opt工具对paddle paddle的模型进行优化但是出现的error message
[F 1/19 17:31:56.903 ...ite/core/mir/type_precision_cast_pass.cc:242 AddCastInst] Check failed: is_found: Can't find a Cast kernel for Cast op: Tensor<host,int64_t,NCHW,0>:feed_0->Tensor<host,float,any,-1>:not_equal

drkbr07n

drkbr07n1#

你转的命令是什么

jvlzgdj9

jvlzgdj92#

缺 int64 not_equal kernel

3ks5zfa0

3ks5zfa03#

int64 not_equal kernel 是应该在哪个文件里改?

n9vozmp4

n9vozmp44#

./opt \ --model_dir= ~/Desktop/model/saved_infer_model \ --optimize_out_type=naive_buffer \ --optimize_out=mobilenet_v1_opt
这是我转的命令

7fhtutme

7fhtutme5#

我们会排期添加 int64_t 类型的 not_equal kernel

相关问题