Skip to content

Commit

Permalink
adding chart evi-test-tool-2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarerecipes committed Mar 6, 2024
1 parent cb3b26c commit 639311b
Show file tree
Hide file tree
Showing 12 changed files with 647 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/evi-test-tool-2.1.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v2
appVersion: 1.16.0
description: A Helm chart for Kubernetes
name: evi-test-tool
type: application
version: 2.1.0
76 changes: 76 additions & 0 deletions charts/evi-test-tool-2.1.0/config-cpu-pipe/queryPipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"Nodes": [
{
"Node Class Name": "RawImageInputNode",
"Node Name": "Input",
"Thread Number": "1",
"Is Source Node": "true"
},
{
"Node Class Name": "CPUJpegDecoderNode",
"Node Name": "Decoder",
"Thread Number": "1",
"Is Source Node": "false"
},
{
"Node Class Name": "DetectionNode_CPU",
"Node Name": "Detection",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)vehicle-detection-evi-0.0.1/FP16-INT8/vehicle-detection-evi-001.xml;ModelProcConfPath=(STRING)vehicle-detection-evi-0.0.1/vehicle-detection-evi-001.model_proc.json;Threshold=(FLOAT)0.8;MaxROI=(INT)0"
},
{
"Node Class Name": "ClassificationNode_CPU",
"Node Name": "Attribute",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)vehicle-attributes-recognition-barrier-0039/FP16-INT8/vehicle-attributes-recognition-barrier-0039.xml;LabelFile=(STRING)vehicle-attributes-recognition-barrier-0039/vehicle-attributes-recognition-barrier-0039.model_proc.json"
},
{
"Node Class Name": "FeatureExtractionNode_CPU",
"Node Name": "FeatureExtraction",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)fe-pytorch-0.0.1/INT8/fe-pytorch-0.0.1.xml;Threshold=(FLOAT)0.1;Quantization_Scale=(FLOAT)411.317"
},
{
"Node Class Name": "LLOutputNode",
"Node Name": "Output",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "BufferType=(STRING)String"
}
],
"Links": [
{
"Previous Node": "Input",
"Previous Node Port": "0",
"Next Node": "Decoder",
"Next Node Port": "0"
},
{
"Previous Node": "Decoder",
"Previous Node Port": "0",
"Next Node": "Detection",
"Next Node Port": "0"
},
{
"Previous Node": "Detection",
"Previous Node Port": "0",
"Next Node": "Attribute",
"Next Node Port": "0"
},
{
"Previous Node": "Attribute",
"Previous Node Port": "0",
"Next Node": "FeatureExtraction",
"Next Node Port": "0"
},
{
"Previous Node": "FeatureExtraction",
"Previous Node Port": "0",
"Next Node": "Output",
"Next Node Port": "0"
}
]
}
76 changes: 76 additions & 0 deletions charts/evi-test-tool-2.1.0/config-cpu-pipe/strucPipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"Nodes": [
{
"Node Class Name": "StorageImageInputNode",
"Node Name": "Input",
"Thread Number": "1",
"Is Source Node": "true"
},
{
"Node Class Name": "CPUJpegDecoderNode",
"Node Name": "Decoder",
"Thread Number": "1",
"Is Source Node": "false"
},
{
"Node Class Name": "DetectionNode_CPU",
"Node Name": "Detection",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)vehicle-detection-evi-0.0.1/FP16-INT8/vehicle-detection-evi-001.xml;ModelProcConfPath=(STRING)vehicle-detection-evi-0.0.1/vehicle-detection-evi-001.model_proc.json;Threshold=(FLOAT)0.8;MaxROI=(INT)0"
},
{
"Node Class Name": "ClassificationNode_CPU",
"Node Name": "Attribute",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)vehicle-attributes-recognition-barrier-0039/FP16-INT8/vehicle-attributes-recognition-barrier-0039.xml;LabelFile=(STRING)vehicle-attributes-recognition-barrier-0039/vehicle-attributes-recognition-barrier-0039.model_proc.json"
},
{
"Node Class Name": "FeatureExtractionNode_CPU",
"Node Name": "FeatureExtraction",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)fe-pytorch-0.0.1/INT8/fe-pytorch-0.0.1.xml;Threshold=(FLOAT)0.1;Quantization_Scale=(FLOAT)411.317"
},
{
"Node Class Name": "LLResultSinkNode",
"Node Name": "Output",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "BufferType=(STRING)String"
}
],
"Links": [
{
"Previous Node": "Input",
"Previous Node Port": "0",
"Next Node": "Decoder",
"Next Node Port": "0"
},
{
"Previous Node": "Decoder",
"Previous Node Port": "0",
"Next Node": "Detection",
"Next Node Port": "0"
},
{
"Previous Node": "Detection",
"Previous Node Port": "0",
"Next Node": "Attribute",
"Next Node Port": "0"
},
{
"Previous Node": "Attribute",
"Previous Node Port": "0",
"Next Node": "FeatureExtraction",
"Next Node Port": "0"
},
{
"Previous Node": "FeatureExtraction",
"Previous Node Port": "0",
"Next Node": "Output",
"Next Node Port": "0"
}
]
}
128 changes: 128 additions & 0 deletions charts/evi-test-tool-2.1.0/config-cpu-pipe/videoStrucPipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"Nodes": [
{
"Node Class Name": "StorageVideoInputNode",
"Node Name": "Input",
"Thread Number": "1",
"Is Source Node": "true"
},
{
"Node Class Name": "VideoDecoderNode",
"Node Name": "Decoder",
"Thread Number": "1",
"Is Source Node": "false"
},
{
"Node Class Name": "DetectionNode_CPU",
"Node Name": "Detection",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)vehicle-detection-evi-0.0.1/FP16-INT8/vehicle-detection-evi-001.xml;ModelProcConfPath=(STRING)vehicle-detection-evi-0.0.1/vehicle-detection-evi-001.model_proc.json;Threshold=(FLOAT)0.8;MaxROI=(INT)0"
},
{
"Node Class Name": "TrackerNode_CPU",
"Node Name": "Tracker",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "TrackerType=(STRING)zero_term_imageless"
},
{
"Node Class Name": "QualityAssessNode",
"Node Name": "QualityAssess",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;QualityMode=(INT)1;ImageSize=(INT)320;ModelPath=(STRING)vehicle-qnet-0.0.1/FP16/quality-assess-001.xml;InferStreams=(INT)0"
},
{
"Node Class Name": "ObjectSelectNode",
"Node Name": "Select",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "FrameInterval=(INT)30;TopK=(INT)1"
},
{
"Node Class Name": "StorageImageUploadNode",
"Node Name": "UploadImage",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "MediaType=(STRING)video;DataSource=(STRING)vehicle"
},
{
"Node Class Name": "ClassificationNode_CPU",
"Node Name": "Attribute",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)vehicle-attributes-recognition-barrier-0039/FP16-INT8/vehicle-attributes-recognition-barrier-0039.xml;LabelFile=(STRING)vehicle-attributes-recognition-barrier-0039/vehicle-attributes-recognition-barrier-0039.model_proc.json"
},
{
"Node Class Name": "FeatureExtractionNode_CPU",
"Node Name": "FeatureExtraction",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "InferReqNumber=(INT)6;InferStreams=(INT)6;CPUBindThread=(STRING)NUMA;ModelPath=(STRING)fe-pytorch-0.0.1/INT8/fe-pytorch-0.0.1.xml;Threshold=(FLOAT)0.1;Quantization_Scale=(FLOAT)411.317"
},
{
"Node Class Name": "LLResultSinkNode",
"Node Name": "Output",
"Thread Number": "1",
"Is Source Node": "false",
"Configure String": "BufferType=(STRING)String"
}
],
"Links": [
{
"Previous Node": "Input",
"Previous Node Port": "0",
"Next Node": "Decoder",
"Next Node Port": "0"
},
{
"Previous Node": "Decoder",
"Previous Node Port": "0",
"Next Node": "Detection",
"Next Node Port": "0"
},
{
"Previous Node": "Detection",
"Previous Node Port": "0",
"Next Node": "Tracker",
"Next Node Port": "0"
},
{
"Previous Node": "Tracker",
"Previous Node Port": "0",
"Next Node": "QualityAssess",
"Next Node Port": "0"
},
{
"Previous Node": "QualityAssess",
"Previous Node Port": "0",
"Next Node": "Select",
"Next Node Port": "0"
},
{
"Previous Node": "Select",
"Previous Node Port": "0",
"Next Node": "UploadImage",
"Next Node Port": "0"
},
{
"Previous Node": "UploadImage",
"Previous Node Port": "0",
"Next Node": "Attribute",
"Next Node Port": "0"
},
{
"Previous Node": "Attribute",
"Previous Node Port": "0",
"Next Node": "FeatureExtraction",
"Next Node Port": "0"
},
{
"Previous Node": "FeatureExtraction",
"Previous Node Port": "0",
"Next Node": "Output",
"Next Node Port": "0"
}
]
}
54 changes: 54 additions & 0 deletions charts/evi-test-tool-2.1.0/configs/evi-test-tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"version": "1.0",
"name": "EVITestTool",
"Local": {
"storageSDKConfigPath": "/opt/evi_test_tool/configuration/storage-sdk.json",
"triAIInferenceConfigDIR": "/opt/evi_test_tool/config-cpu-pipe",
"mediaPath": "/opt/data/images",
"mediaMetadataPath": "/opt/data/metadata_ms",
"mediaType": "image",
"mediaSuffix": "jpg",
"mediaObjectType":"vehicle",
"processStep": "all"
},

"AIServer": {
"address": "evi-ai-inference",
"port": "50051"
},

"ClusteringServer": {
"address": "evi-clustering-archiving",
"port": "8080",
"clusteringReqPath": "/app/submit"
},

"TriggerStructure": {
"startTimeStamp": "1628569500000",
"endTimeStamp": "1628614620000",
"mediaReqPath": "/new_query"
},

"TriggerCluster": {
"startTimeStamp": "1628614620000",
"endTimeStamp": "1628811600000",
"mediaReqPath": "/new_query"
},

"DataSource": {
"mediaSuffix": [
"jpg",
"h264",
"h265"
],
"mediaTypeList": [
"image",
"video"
],
"objectTypeList": [
"person",
"vehicle"
]
}
}

30 changes: 30 additions & 0 deletions charts/evi-test-tool-2.1.0/configs/storage-sdk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": 1,
"name": "row data source",
"video_image": {
"address": "evi-minio-service",
"port": "9000",
"rootUser": "/opt/evi_test_tool/credential/minio/rootUser",
"rootPassword": "/opt/evi_test_tool/credential/minio/rootPassword"
},
"video_image_attributes": {
"flask_server_address": "evi-storage-rest",
"flask_server_port": "9900",
"prefix": "v1",
"media": "/media"
},
"mediatype": [
"image",
"video"
],
"datasource": [
"person",
"vehicle"
],
"psql": {
"host": "evi-postgresql",
"port": "5432",
"user": "hce",
"database": "hce"
}
}
Loading

0 comments on commit 639311b

Please sign in to comment.