Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into ci-compiled-junit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apavlo authored Mar 23, 2021
2 parents 575c6de + c2635d3 commit b2724f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/self_driving/model_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def _load_model(self, save_path: str):
save_path_str = str(save_path)

# Load from cache
if self.model_cache.get(save_path, None) is not None:
if self.model_cache.get(save_path_str, None) is not None:
return self.model_cache[save_path_str]

# Load into cache
Expand Down
2 changes: 1 addition & 1 deletion src/self_driving/model_server/model_server_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ std::pair<Result, bool> ModelServerManager::InferModel(ModelType::Type model, co

// Callback to notify waiter with result
auto callback = [&](common::ManagedPointer<messenger::Messenger> messenger, const messenger::ZmqMessage &msg) {
MODEL_SERVER_LOG_INFO("Callback :recv_cb_id={}, message={}", msg.GetDestinationCallbackId(), msg.GetMessage());
MODEL_SERVER_LOG_DEBUG("Callback :recv_cb_id={}, message={}", msg.GetDestinationCallbackId(), msg.GetMessage());
future.Done(msg.GetMessage());
};

Expand Down

0 comments on commit b2724f7

Please sign in to comment.