Parameter name | test_iter | test_interval | base_lr | weight_decay | gamma | max_iter | solver_mode |
---|---|---|---|---|---|---|---|
Parameter setting | 120 | 500 | 0.1 | 0.0001 | 0.1 | 50,000 | GPU |
CNN model | Training accuracy (%) | Testing accuracy (%) | Loss (%) |
---|---|---|---|
AlexNet | 94.2 | 90.4 | 22.1 |
GoogLeNet | 96.7 | 93.1 | 16.7 |
ResNet | 97.7 | 95.3 | 10.7 |
Improved ResNet | 98.2 | 96.4 | 7.7 |
Pig posture | The number of original images | The number of images after expanding | The images in the training set | The images in the testing set |
---|---|---|---|---|
Standing | 600 | 1200 | 983 | 217 |
Standing with lowering the head | 200 | 400 | 316 | 84 |
Raising head | 240 | 480 | 390 | 90 |
Laying down | 55 | 110 | 88 | 22 |
Pig posture | The number of original images | The number of images after expanding | The images in the training set | The images in the testing set |
---|---|---|---|---|
Standing | 600 | 4800 | 3844 | 956 |
Standing with lowering the head | 200 | 1600 | 1264 | 336 |
Raising head | 240 | 1920 | 1560 | 360 |
Laying down | 55 | 440 | 352 | 88 |