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
-`configs/rtmdet_nano_8xb32_300e_coco.py`: Specifies the configuration file, defining the model and training settings.
35
+
-`configs/rtmdet/rtmdet_nano_8xb32_300e_coco_ncadc_relu6.py`: Specifies the configuration file, defining the model and training settings.
40
36
-`--cfg-options`: Used to specify additional configuration options.
41
37
-`data_root`: Sets the root directory of the dataset.
42
38
-`num_classes`: Specifies the number of categories the model needs to recognize.
43
39
-`train_ann_file`: Specifies the path to the annotation file for training data.
44
40
-`val_ann_file`: Specifies the path to the annotation file for validation data.
45
41
-`train_img_prefix`: Specifies the prefix path for training images.
46
42
-`val_img_prefix`: Specifies the prefix path for validation images.
47
-
-`max_epochs`: Sets the maximum number of training epochs.
43
+
-`epochs`: Sets the maximum number of training epochs.
48
44
-`imgsz`: Specifies the image size used for model training.
49
45
50
-
After the training is complete, you can find the trained model in the `work_dirs/rtmdet_nano_8xb32_300e_coco` directory. Before looking for the model, we suggest focusing on the training results first. Below is an analysis of the results and some suggestions for improvement.
46
+
After the training is complete, you can find the trained model in the `work_dirs/rtmdet_nano_8xb32_300e_coco_ncadc_relu6` directory. Before looking for the model, we suggest focusing on the training results first. Below is an analysis of the results and some suggestions for improvement.
51
47
52
48
:::details
53
49
54
50
```sh
55
-
12/17 03:55:23 - mmengine - INFO - Saving checkpoint at 150 epochs
56
-
12/17 03:55:24 - mmengine - INFO - Evaluating bbox...
By analyzing the COCO Eval results, we can identify issues and take corresponding measures for optimization. The optimization direction is suggested to start with the dataset, followed by training parameters, and then the model structure.
@@ -108,7 +105,7 @@ Under the Scalars tab, you can view the changes of recorded scalar metrics (such
108
105
109
106
:::
110
107
111
-
Find the trained model in the `work_dirs/rtmdet_nano_8xb32_300e_coco` directory. In addition, when the model training result accuracy is poor, you can analyze the COCO Eval results to find the problem and take corresponding measures for optimization.
108
+
Find the trained model in the `work_dirs/rtmdet_nano_8xb32_300e_coco_ncadc_relu6` directory. In addition, when the model training result accuracy is poor, you can analyze the COCO Eval results to find the problem and take corresponding measures for optimization.
112
109
113
110
:::tip
114
111
@@ -127,8 +124,8 @@ Here, we take exporting the TFLite model as an example. You can use the followin
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.568
207
204
```
208
205
209
-
From the verification results, it can be seen that the exported model's performance on the verification set is different from its performance during training, with a decrease of 46.0% in AP@50:95 and a decrease of 83.4% in AP@50. You can try using QAT to reduce the loss of quantization accuracy.
210
-
211
206
:::tip
212
207
213
208
For a detailed explanation of the above output, please refer to [COCO Dataset Evaluation Metrics](https://cocodataset.org/#detection-eval), where we mainly focus on mAP at 50-95 IoU and 50 IoU.
@@ -221,8 +216,8 @@ QAT (Quantization-Aware Training) is a method that simulates quantization operat
0 commit comments