-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
尝试使用Serving部署手写数字识别模型,预测时出现unknown type #948
Labels
bug
Something isn't working
Comments
Message that will be displayed on users' first issue |
我查看了Client.predict第353行代码, if self.all_numpy_input:
res = self.client_handle_.numpy_predict(
float_slot_batch, float_feed_names, float_shape,
float_lod_slot_batch, int_slot_batch, int_feed_names, int_shape,
int_lod_slot_batch, fetch_names, result_batch_handle, self.pid,
log_id) 这里的float_slot_batch的信息为: In [1]: float_slot_batch[0][0].dtype
Out[1]: dtype('float32')
In [2]: float_slot_batch[0][0].shape
Out[2]: (1, 1, 28, 28) 请问是我哪里有问题呢? |
我的也出现了类似的问题
|
你好,v0.4.0版本支持paddle 1.8.5预测,正在开发支持paddle 2.0的v0.4.1版本,预计同Paddle 2.0同步发布。 |
请问v0.4.0不支持paddle2.0rc1吗? v0.4.1什么时候发布? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
系统环境:deppin v20.1
Serving环境:docker搭建
paddle-serving版本:
paddle 版本:paddle 2.0rc
模型定义:
保存静态模型文件
通过paddle_serving保存模型
启动服务
客户端代码
服务器端报错:
客户端报错:
The text was updated successfully, but these errors were encountered: