You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of enabling iLiT on ssd_resnet50_v1 for Tensorflow.
39
+
Details of enabling iLiT on ssd_resnet50_v1 for Tensorflow.
40
40
=========================
41
41
42
42
This is a tutorial of how to enable ssd_resnet50_v1 model with iLiT.
@@ -73,7 +73,7 @@ def __iter__(self):
73
73
### Evaluation Part Adaption
74
74
The Class model_infer has the run_accuracy function which actually could be re-used as the eval_func.
75
75
76
-
Compare with the original version, we added the additional parameter **input_graph** as the iLiT would call this interface with the graph to be evaluated. The following code snippet also need to be added into the run_accuracy function to update the class members like self.input_tensor and self.output_tensors.
76
+
Compare with the original version, we added the additional parameter **input_graph** as the iLiT would call this interface with the graph to be evaluated. The following code snippet also need to be added into the run_accuracy function to update the class members like self.input_tensor and self.output_tensors.
77
77
```python
78
78
if input_graph:
79
79
self.infer_graph = input_graph
@@ -87,25 +87,25 @@ if input_graph:
87
87
```
88
88
89
89
### Write Yaml config file
90
-
In examples directory, there is a ssd_resnet50_v1.yaml. We could remove most of items and only keep mandatory item for tuning.
90
+
In examples directory, there is a ssd_resnet50_v1.yaml. We could remove most of items and only keep mandatory item for tuning.
Here we set the input tensor and output tensors name into *inputs* and *outputs* field. Meanwhile, we set mAp target as tolerating 0.01 relative mAp of baseline. The default tuning strategy is basic strategy. The timeout 0 means early stop as well as a tuning config meet accuracy target.
0 commit comments