alibaba / alibaba/x-deeplearning

代码报错2

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PureBasic
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

ps::Tensor grad(DataType::kFloat,TensorShape({10,50}),new initializer::ConstantInitializer(1));
auto args = client.Args(grad,1.0,0.0001*0.0001,0.9,0.999,false);
client.HashPush(variable_name,ids,"AdamUpdater",args,[&](const Status& st) {
if (!st.IsOk()) {
std::cout << st.ToString() << std::endl;
} else {
}
});

我调用client.cc的HashPush接口。测试一下,发现报错
ErrorCode [3]: Serializer not found for data type:N2ps11WrapperDataIlEE。
问下可以给个简单的客户端调用client.cc接口HashPush简单的例子末

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with client.cc and the HashPush call shown in the report, then trace how the AdamUpdater arguments reach serialization. Investigate the reported missing serializer for ps::WrapperData and look for existing client-side HashPush examples or serializer registrations. Done means the reported call no longer produces this error and a minimal working example is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.