mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:46:30 +00:00
split to 2 files: tensorrt_engine and onnx engine
This commit is contained in:
@@ -27,6 +27,7 @@ public class InferenceClient : IInferenceClient
|
||||
{
|
||||
_inferenceClientConfig = config.Value;
|
||||
Start();
|
||||
_ = Task.Run(ProcessClientCommands);
|
||||
}
|
||||
|
||||
private void Start()
|
||||
@@ -57,6 +58,11 @@ public class InferenceClient : IInferenceClient
|
||||
_dealer.Connect($"tcp://{_inferenceClientConfig.ZeroMqHost}:{_inferenceClientConfig.ZeroMqPort}");
|
||||
}
|
||||
|
||||
private async Task ProcessClientCommands()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
if (!_dealer.IsDisposed)
|
||||
|
||||
Reference in New Issue
Block a user