## 3 The Proposed Model
### Loss Function
\begin{table}
\begin{tabular}{c c c c c c c c c c} \hline \hline \multirow{2}{*}{**Model**} & \multirow{2}{*}{**Train Dataset**} & \multirow{2}{*}{**Test Dataset**} & \multicolumn{4}{c}{**De-Test B**} & \multicolumn{4}{c}{**De-Test C**} \\ \cline{3-10}  & & & **DDA** & **DDR** & **FDR** & **DDA** & **DDR** & **FDR** \\ \hline \multirow{4}{*}{SSD} & De-Train B & Tree-CycleGAN [42] & 93.51\% & 81.54\% & 0.00\% & 94.51\% & 83.87\% & 0.00\% \\  & De-Train B & CycleGAN-TSS [43] & 92.35\% & 79.37\% & 1.96\% & 92.82\% & 80.33\% & 2.00\% \\  & & PreCaCycleGAN & **94.00\%** & **85.00\%** & **0.00\%** & **94.76\%** & **85.92\%** & **0.00\%** \\ \cline{2-10}  & De-Train C & Tree-CycleGAN [42] & 94.12\% & 83.58\% & 0.00\% & 95.08\% & 85.71\% & 0.00\% \\  & De-Train C & CycleGAN-TSS [43] & 93.48\% & 81.25\% & 0.00\% & 94.48\% & 83.61\% & 0.00\% \\  & & PreCaCycleGAN & **95.05\%** & **87.80\%** & **0.00\%** & **95.34\%** & **87.67\%** & **0.00\%** \\ \hline \multirow{4}{*}{Faster-RCNN} & De-Train B & Tree-CycleGAN [42] & 92.43\% & 80.00\% & 1.89\% & 93.41\% & 82.26\% & 1.92\% \\  & De-Train B & CycleGAN-TSS [43] & 91.80\% & 77.78\% & 2.00\% & 92.82\% & 80.33\% & 2.00\% \\  & & PreCaCycleGAN & **94.00\%** & **85.00\%** & **0.00\%** & **94.76\%** & **85.92\%** & **0.00\%** \\ \cline{2-10}  & De-Train C & Tree-CycleGAN [42] & 93.58\% & 82.09\% & 0.00\% & 94.54\% & 84.13\% & 0.00\% \\  & De-Train C & CycleGAN-TSS [43] & 92.93\% & 79.69\% & 0.00\% & 93.37\% & 80.33\% & 0.00\% \\  & PreCaCycleGAN & **95.05\%** & **87.80\%** & **0.00\%** & **95.85\%** & **89.04\%** & **0.00\%** \\ \hline \hline \end{tabular}
\end{table} 
Table 7: _Cont._ \begin{table}
\begin{tabular}{c c c c c c c c c} \hline \hline \multirow{2}{*}{**Model**} & \multirow{2}{*}{**Train Dataset**} & \multirow{2}{*}{**Test Dataset**} & \multicolumn{4}{c}{**De-Test B**} & \multicolumn{4}{c}{**De-Test C**} \\ \cline{3-10}  & & & **DDA** & **DDR** & **FDR** & **DDA** & **DDR** & **FDR** \\ \hline \multirow{4}{*}{YOLOv5} & De-Train B & Tree-CycleGAN [42] & 79.44\% & 50.00\% & 18.92\% & 80.56\% & 53.33\% & 17.95\% \\  & De-Train B & CycleGAN-TSS [43] & 80.56\% & 51.67\% & 16.22\% & 81.67\% & 55.00\% & 15.38\% \\  & & PreCaCycleGAN & **81.22\%** & **54.10\%** & **15.38\%** & **81.77\%** & **55.74\%** & **15.00\%** \\ \cline{2-10}  & De-Train C & Tree-CycleGAN [42] & 82.32\% & 52.46\% & 8.57\% & 83.43\% & 55.74\% & 8.11\% \\  & De-Train C & CycleGAN-TSS [43] & 84.07\% & **56.45\%** & 5.41\% & **84.53\%** & **57.38\%** & **5.41\%** \\  & & PreCaCycleGAN & **83.61\%** & 55.56\% & **5.41\%** & 83.98\% & 55.74\% & 5.56\% \\ \hline \multirow{4}{*}{SSD} & De-Train B & Tree-CycleGAN [42] & 81.67\% & 53.33\% & 13.51\% & 82.22\% & 55.00\% & 13.16\% \\  & De-Train B & CycleGAN-TSS [43] & 83.33\% & 56.67\% & 10.53\% & 83.89\% & 58.33\% & 10.26\% \\  & PreCaCycleGAN & **83.43\%** & **57.38\%** & **10.26\%** & **83.98\%** & **59.02\%** & **10.00\%** \\ \cline{2-10}  & De-Train C & Tree-CycleGAN [42] & 84.53\% & 57.38\% & 5.41\% & 86.19\% & 62.30\% & 5.00\% \\  & De-Train C & CycleGAN-TSS [43] & **85.71\%** & **59.68\%** & 2.63\% & 86.74\% & 62.30\% & 2.56\% \\  & PreCaCycleGAN & 85.25\% & 58.73\% & **2.63\%** & **86.74\%** & **62.30\%** & **2.56\%** \\ \hline \multirow{4}{*}{Faster-RCNN} & De-Train B & Tree-CycleGAN [42] & 80.56\% & 50.00\% & 14.29\% & 81.67\% & 53.33\% & 13.51\% \\  & De-Train B & CycleGAN-TSS [43] & 80.56\% & 50.00\% & 14.29\% & 81.67\% & 53.33\% & 13.51\% \\  & De-Train C & PreCaCycleGAN & **81.77\%** & **54.10\%** & **13.16\%** & **82.32\%** & **55.74\%** & **12.82\%** \\ \cline{2-10}  & De-Train C & Tree-CycleGAN [42] & 83.43\% & 55.74\% & 8.11\% & 83.98\% & 57.38\% & 7.89\% \\  & De-Train C & CycleGAN-TSS [43] & 84.62\% & **58.06\%** & 5.26\% & 85.08\% & 59.02\% & 5.26\% \\  & PreCaCycleGAN & **84.70\%** & 57.14\% & **2.70\%** & **85.64\%** & **59.02\%** & **2.70\%** \\ \hline \hline \end{tabular}
\end{table} 
Table 8: Class 4 test result.