IEEE Robotics & Automation Magazine - December 2023 - 63

pyramid structures of PANet [12] that aim to strengthen the
features extracted from the backbone and further improve
the detection capability. The head predicts targets of different
sizes based on the obtained feature maps.
The following version, YOLO v6, introduced the EfficientRep
Backbone and Rep-PAN Neck by replacing the CSPBlock
used previously with RepBlock [4]. The new structure
has a decoupled head, which adds layers separating the features
from the final head and has been found able to increase
performance. It uses an anchor-free paradigm and SimOTA,
a simplified version of optimal transport assignment [6], to
enhance the training speed and detection accuracy.
In the YOLO v7 version, several changes and enhancements
were made. Notably, extended efficient layer aggregation
networks (E-ELANs) [22] serve as the backbone
to improve the learning ability. Compared to the original
ELAN architecture, the E-ELAN changes only the architecture
in the computational block, as the architecture of the
transition layer is unchanged. The authors of [22] proposed
a new compound scaling method to employ parameters and
computation more efficiently and planned a reparameterized
model that can optimize the scaling process and be applied
to concatenation-based models. The head consists of an auxiliary,
a lead head, and a soft label assigner for coarse and
fine labels.
The efficacy of the trained models was evaluated in terms
of three criteria: 1) localize accurately the stem in an image,
2) perform classification of the two states dry and wet, and
3) have a stable transition from dry to wet in a video setting.
NETWORK TRAINING PARAMETERS
Since the three YOLO networks employ distinctive structures,
we trained each version from scratch on 7,759 training
images in two ways: baseline and tuned. The baseline variation
features the baseline hyperparameters provided by the
developers of the methods in their respective repositories. In
the tuned variation, we performed tuning of selected hyperparameters
to assess the impact of different data augmentations
on each model's performance and training time. The
tuned hyperparameters include a decrease in saturation augmentations
(.03.
augmentations (),45!
c
probability), an introduction of rotation
and a deletion of the mix-up and
paste-in augmentations. The baseline hyperparameters feature
more emphasis on color space augmentations and less on
spatial-level transformations, whereas our tuned hyperparameters
place more emphasis on spatial-level transformations
and less on color space augmentations. We justify our tuning
choices by reiterating the findings of [18], where color is not
an invariant feature in wetness detection. By training a model
on more spatial-level and fewer color augmentations, we force
the model to be more sensitive to color space discriminant
features and less sensitive to shapes since every sample is
unique. All models were trained on a Tesla P100 GPU for 80
epochs, with an initial learning rate of 0.01. For optimization,
a stochastic gradient descent (SGD) optimizer was applied,
with a momentum of 0.937 and a weight decay of 0.0005.
EVALUATION OF NETWORKS' INFERENCE CAPABILITIES
We evaluated each trained network on the basis of test classification
accuracy, mean average precision (mAP), and inference
speed. Inference was performed on both cloud and edge
computing hardware with test images and on edge computing
hardware with a test video. Table 4 presents the training
results of all the YOLO models, with their baseline and tuned
hyperparameter variants. Both the baseline and tuned YOLO
v5 models achieved the highest mAP, at 0.5:0.95, within their
corresponding variants. This means that both YOLO v5 models
predicted accurately and with high confidence (. )095.
in
their detection. Out of all the models trained, the tuned
YOLO v7 scored the highest mAP, 0.5, indicating its ability
to detect stems close to their ground truth bounding boxes.
Regarding the models' cloud-based inference, we can
observe from Table 5 that our tuning of hyperparameters and
augmentations increased the classification performances of
YOLO v5 and YOLO v7. Additionally, the inference speed
increases marginally for both models. Conversely, YOLO v6
degraded in both classification performance and inference
speed under our tuning parameters. Our results for cloudbased
inference using a Tesla P100 GPU yielded inference
speeds within approximately 30 ms/frame (30fps)
$
and
thus prove that real-time water detection with our approach
is possible given equivalent or more powerful computing
hardware.
With respect to edge-based inference, and with reference
to Table 6, both YOLO v5 models are able to perform predictions
within every half second on the Nvidia Jetson Xavier NX,
and both models also attained a 100% classification accuracy
metric on the test images. We observe that all the other models
TABLE 4. The three distinctive YOLO networks and variations considered in this work and the training results on our
developed stem image dataset with base and tuned hyperparameters and augmentations.
NETWORK
YOLO v5 base
YOLO v6 base
YOLO v7 base
YOLO v5 tuned
YOLO v6 tuned
YOLO v7 tuned
SIZE (MB)
13.8
36.3
71.4
13.8
36.3
71.4
TRAINING TIME (H)
2.1
6.1
10
2.4
6.6
10
EPOCHS
80
80
80
80
80
80
RECALL
0.999
0.94
0.999
0.999
0.91
0.999
PRECISION
1
0.995
1
0.995
0.995
0.994
MAP AT 0.5 MAP AT 0.5:0.95
0.995
0.995
0.998
0.995
0.995
0.998
0.929
0.91
0.91
0.885
0.881
0.884
DECEMBER 2023 IEEE ROBOTICS & AUTOMATION MAGAZINE
63

IEEE Robotics & Automation Magazine - December 2023

Table of Contents for the Digital Edition of IEEE Robotics & Automation Magazine - December 2023

Contents
IEEE Robotics & Automation Magazine - December 2023 - Cover1
IEEE Robotics & Automation Magazine - December 2023 - Cover2
IEEE Robotics & Automation Magazine - December 2023 - 1
IEEE Robotics & Automation Magazine - December 2023 - Contents
IEEE Robotics & Automation Magazine - December 2023 - 3
IEEE Robotics & Automation Magazine - December 2023 - 4
IEEE Robotics & Automation Magazine - December 2023 - 5
IEEE Robotics & Automation Magazine - December 2023 - 6
IEEE Robotics & Automation Magazine - December 2023 - 7
IEEE Robotics & Automation Magazine - December 2023 - 8
IEEE Robotics & Automation Magazine - December 2023 - 9
IEEE Robotics & Automation Magazine - December 2023 - 10
IEEE Robotics & Automation Magazine - December 2023 - 11
IEEE Robotics & Automation Magazine - December 2023 - 12
IEEE Robotics & Automation Magazine - December 2023 - 13
IEEE Robotics & Automation Magazine - December 2023 - 14
IEEE Robotics & Automation Magazine - December 2023 - 15
IEEE Robotics & Automation Magazine - December 2023 - 16
IEEE Robotics & Automation Magazine - December 2023 - 17
IEEE Robotics & Automation Magazine - December 2023 - 18
IEEE Robotics & Automation Magazine - December 2023 - 19
IEEE Robotics & Automation Magazine - December 2023 - 20
IEEE Robotics & Automation Magazine - December 2023 - 21
IEEE Robotics & Automation Magazine - December 2023 - 22
IEEE Robotics & Automation Magazine - December 2023 - 23
IEEE Robotics & Automation Magazine - December 2023 - 24
IEEE Robotics & Automation Magazine - December 2023 - 25
IEEE Robotics & Automation Magazine - December 2023 - 26
IEEE Robotics & Automation Magazine - December 2023 - 27
IEEE Robotics & Automation Magazine - December 2023 - 28
IEEE Robotics & Automation Magazine - December 2023 - 29
IEEE Robotics & Automation Magazine - December 2023 - 30
IEEE Robotics & Automation Magazine - December 2023 - 31
IEEE Robotics & Automation Magazine - December 2023 - 32
IEEE Robotics & Automation Magazine - December 2023 - 33
IEEE Robotics & Automation Magazine - December 2023 - 34
IEEE Robotics & Automation Magazine - December 2023 - 35
IEEE Robotics & Automation Magazine - December 2023 - 36
IEEE Robotics & Automation Magazine - December 2023 - 37
IEEE Robotics & Automation Magazine - December 2023 - 38
IEEE Robotics & Automation Magazine - December 2023 - 39
IEEE Robotics & Automation Magazine - December 2023 - 40
IEEE Robotics & Automation Magazine - December 2023 - 41
IEEE Robotics & Automation Magazine - December 2023 - 42
IEEE Robotics & Automation Magazine - December 2023 - 43
IEEE Robotics & Automation Magazine - December 2023 - 44
IEEE Robotics & Automation Magazine - December 2023 - 45
IEEE Robotics & Automation Magazine - December 2023 - 46
IEEE Robotics & Automation Magazine - December 2023 - 47
IEEE Robotics & Automation Magazine - December 2023 - 48
IEEE Robotics & Automation Magazine - December 2023 - 49
IEEE Robotics & Automation Magazine - December 2023 - 50
IEEE Robotics & Automation Magazine - December 2023 - 51
IEEE Robotics & Automation Magazine - December 2023 - 52
IEEE Robotics & Automation Magazine - December 2023 - 53
IEEE Robotics & Automation Magazine - December 2023 - 54
IEEE Robotics & Automation Magazine - December 2023 - 55
IEEE Robotics & Automation Magazine - December 2023 - 56
IEEE Robotics & Automation Magazine - December 2023 - 57
IEEE Robotics & Automation Magazine - December 2023 - 58
IEEE Robotics & Automation Magazine - December 2023 - 59
IEEE Robotics & Automation Magazine - December 2023 - 60
IEEE Robotics & Automation Magazine - December 2023 - 61
IEEE Robotics & Automation Magazine - December 2023 - 62
IEEE Robotics & Automation Magazine - December 2023 - 63
IEEE Robotics & Automation Magazine - December 2023 - 64
IEEE Robotics & Automation Magazine - December 2023 - 65
IEEE Robotics & Automation Magazine - December 2023 - 66
IEEE Robotics & Automation Magazine - December 2023 - 67
IEEE Robotics & Automation Magazine - December 2023 - 68
IEEE Robotics & Automation Magazine - December 2023 - 69
IEEE Robotics & Automation Magazine - December 2023 - 70
IEEE Robotics & Automation Magazine - December 2023 - 71
IEEE Robotics & Automation Magazine - December 2023 - 72
IEEE Robotics & Automation Magazine - December 2023 - 73
IEEE Robotics & Automation Magazine - December 2023 - 74
IEEE Robotics & Automation Magazine - December 2023 - 75
IEEE Robotics & Automation Magazine - December 2023 - 76
IEEE Robotics & Automation Magazine - December 2023 - 77
IEEE Robotics & Automation Magazine - December 2023 - 78
IEEE Robotics & Automation Magazine - December 2023 - 79
IEEE Robotics & Automation Magazine - December 2023 - 80
IEEE Robotics & Automation Magazine - December 2023 - 81
IEEE Robotics & Automation Magazine - December 2023 - 82
IEEE Robotics & Automation Magazine - December 2023 - 83
IEEE Robotics & Automation Magazine - December 2023 - 84
IEEE Robotics & Automation Magazine - December 2023 - 85
IEEE Robotics & Automation Magazine - December 2023 - 86
IEEE Robotics & Automation Magazine - December 2023 - 87
IEEE Robotics & Automation Magazine - December 2023 - 88
IEEE Robotics & Automation Magazine - December 2023 - 89
IEEE Robotics & Automation Magazine - December 2023 - 90
IEEE Robotics & Automation Magazine - December 2023 - 91
IEEE Robotics & Automation Magazine - December 2023 - 92
IEEE Robotics & Automation Magazine - December 2023 - 93
IEEE Robotics & Automation Magazine - December 2023 - 94
IEEE Robotics & Automation Magazine - December 2023 - 95
IEEE Robotics & Automation Magazine - December 2023 - 96
IEEE Robotics & Automation Magazine - December 2023 - 97
IEEE Robotics & Automation Magazine - December 2023 - 98
IEEE Robotics & Automation Magazine - December 2023 - 99
IEEE Robotics & Automation Magazine - December 2023 - 100
IEEE Robotics & Automation Magazine - December 2023 - 101
IEEE Robotics & Automation Magazine - December 2023 - 102
IEEE Robotics & Automation Magazine - December 2023 - 103
IEEE Robotics & Automation Magazine - December 2023 - 104
IEEE Robotics & Automation Magazine - December 2023 - 105
IEEE Robotics & Automation Magazine - December 2023 - 106
IEEE Robotics & Automation Magazine - December 2023 - 107
IEEE Robotics & Automation Magazine - December 2023 - 108
IEEE Robotics & Automation Magazine - December 2023 - 109
IEEE Robotics & Automation Magazine - December 2023 - 110
IEEE Robotics & Automation Magazine - December 2023 - 111
IEEE Robotics & Automation Magazine - December 2023 - 112
IEEE Robotics & Automation Magazine - December 2023 - 113
IEEE Robotics & Automation Magazine - December 2023 - 114
IEEE Robotics & Automation Magazine - December 2023 - 115
IEEE Robotics & Automation Magazine - December 2023 - 116
IEEE Robotics & Automation Magazine - December 2023 - 117
IEEE Robotics & Automation Magazine - December 2023 - 118
IEEE Robotics & Automation Magazine - December 2023 - 119
IEEE Robotics & Automation Magazine - December 2023 - 120
IEEE Robotics & Automation Magazine - December 2023 - 121
IEEE Robotics & Automation Magazine - December 2023 - 122
IEEE Robotics & Automation Magazine - December 2023 - 123
IEEE Robotics & Automation Magazine - December 2023 - 124
IEEE Robotics & Automation Magazine - December 2023 - Cover3
IEEE Robotics & Automation Magazine - December 2023 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2010
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2010
https://www.nxtbookmedia.com