提交 46692b5a 编写于 作者: H Hongyi 提交者: Kecheng Xu

Prediction: fix bug for double evaluate in offline mode

上级 bc76e6b2
......@@ -94,7 +94,7 @@ bool JunctionMLPEvaluator::Evaluate(Obstacle* obstacle_ptr) {
FeatureOutput::InsertDataForLearning(*latest_feature_ptr, feature_values,
"junction", nullptr);
ADEBUG << "Save extracted features for learning locally.";
return false; // Skip Compute probability for offline mode
return true; // Skip Compute probability for offline mode
}
std::vector<torch::jit::IValue> torch_inputs;
int input_dim = static_cast<int>(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册