This commit is contained in:
ShqWW 2024-08-07 13:17:20 +08:00
parent ce18b0c792
commit ac8bb94859
7 changed files with 6 additions and 142 deletions

View File

@ -277,13 +277,14 @@ In the testing stage, anchors with the top-$k_{l}$ confidence are the chosed as
\end{figure}
\begin{figure}[t]
\begin{figure*}[t]
\centering
\includegraphics[width=0.48\textwidth]{thsis_figure/anchor_num_testing_nmsfree.png}
\includegraphics[width=0.32\textwidth]{thsis_figure/anchor_num/anchor_num_testing.png}
\includegraphics[width=0.32\textwidth]{thsis_figure/anchor_num/anchor_num_testing_p.png}
\includegraphics[width=0.32\textwidth]{thsis_figure/anchor_num/anchor_num_testing_r.png}
\caption{Anchor Number and f1-score of different methods on CULane.}
\label{anchor_num_testing_nmsfree}
\end{figure}
\label{fig:anchor_num_testing}
\end{figure*}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

View File

@ -1,44 +0,0 @@
import matplotlib.pyplot as plt
import matplotlib as mpl
# 设置全局字体为 Times New Roman
mpl.rcParams['font.family'] = 'Times New Roman'
mpl.rcParams['font.serif'] = ['Times New Roman']
mpl.rcParams['axes.titlesize'] = 14
mpl.rcParams['axes.labelsize'] = 12
mpl.rcParams['xtick.labelsize'] = 12
mpl.rcParams['ytick.labelsize'] = 12
mpl.rcParams['legend.fontsize'] = 12
alpha = 0.7
# 2*7
x_2x7 = [10, 14]
y_2x7 = [80.075, 80.083]
plt.plot(x_2x7, y_2x7, 'o-', color='blue', alpha=alpha, label="2*7")
# 2*10
x_2x10 = [10, 15, 20]
y_2x10 = [80.549, 80.585, 80.59]
plt.plot(x_2x10, y_2x10, 's-', color='green', alpha=alpha, label="2*10")
# 4*10
x_4x10 = [10, 15, 20, 25, 30, 35, 40]
y_4x10 = [80.3, 80.824, 80.805, 80.799, 80.798, 80.796, 80.794]
plt.plot(x_4x10, y_4x10, 'd-', color='red', alpha=alpha, label="4*10")
# 5*12
x_5x12 = [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60]
y_5x12 = [79.742, 80.809, 80.9, 80.924, 80.919, 80.92, 80.921, 80.924, 80.923, 80.923, 80.924]
plt.plot(x_5x12, y_5x12, 'v-', color='purple', alpha=alpha, label="5*12")
# 6*18
x_6x13 = [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 78]
y_6x13 = [78.576, 80.53, 80.907, 80.953, 80.955, 80.958, 80.956, 80.958, 80.963, 80.965, 80.962, 80.962, 80.962, 80.962]
plt.plot(x_6x13, y_6x13, 'p-', color='orange', alpha=alpha, label="6*13")
plt.xlabel("Anchor Number") # 横坐标名字
plt.ylabel("F1-Score") # 纵坐标名字
plt.legend(loc="best", title="Polarmap Size") # 图例标题
plt.savefig('anchor_num_testing.png', dpi=300)
plt.show()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

View File

@ -1,48 +0,0 @@
import matplotlib.pyplot as plt
import matplotlib as mpl
import matplotlib.pyplot as plt
import matplotlib as mpl
# 设置全局字体为 Times New Roman
mpl.rcParams['font.family'] = 'Times New Roman'
mpl.rcParams['font.serif'] = ['Times New Roman']
mpl.rcParams['axes.titlesize'] = 14
mpl.rcParams['axes.labelsize'] = 12
mpl.rcParams['xtick.labelsize'] = 12
mpl.rcParams['ytick.labelsize'] = 12
mpl.rcParams['legend.fontsize'] = 12
alpha = 0.7
# 2*7
x_2x7 = [10, 14]
y_2x7 = [87.343, 85.597]
plt.plot(x_2x7, y_2x7, 'o-', color='blue', alpha=alpha, label="2*7")
# 2*10
x_2x10 = [10, 15, 20]
y_2x10 = [88.174, 88.044, 88.036]
plt.plot(x_2x10, y_2x10, 's-', color='green', alpha=alpha, label="2*10")
# 4*10
x_4x10 = [10, 15, 20, 25, 30, 35, 40]
y_4x10 = [89.599, 88.822, 88.516, 88.428, 88.390, 88.379, 88.376]
plt.plot(x_4x10, y_4x10, 'd-', color='red', alpha=alpha, label="4*10")
# 5*12
x_5x12 = [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60]
y_5x12 = [89.968, 89.221, 88.893, 88.805, 88.757, 88.740, 88.735, 88.733, 88.729, 88.728, 88.729]
plt.plot(x_5x12, y_5x12, 'v-', color='purple', alpha=alpha, label="5*12")
# 6*18
x_6x13 = [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 78]
y_6x13 = [90.845, 89.979, 89.492, 89.237, 89.101, 89.055, 89.018, 88.999, 88.996, 88.992, 88.983, 88.982, 88.982, 88.982]
plt.plot(x_6x13, y_6x13, 'p-', color='orange', alpha=alpha, label="6*13")
plt.xlabel("Anchor Number") # 横坐标名字
plt.ylabel("Precision") # 纵坐标名字
plt.legend(loc="best", title="Polarmap Size") # 图例标题
plt.savefig('anchor_num_testing_p.png', dpi=300)
plt.show()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

View File

@ -1,45 +0,0 @@
import matplotlib.pyplot as plt
import matplotlib as mpl
# 设置全局字体为 Times New Roman
mpl.rcParams['font.family'] = 'Times New Roman'
mpl.rcParams['font.serif'] = ['Times New Roman']
mpl.rcParams['axes.titlesize'] = 14
mpl.rcParams['axes.labelsize'] = 12
mpl.rcParams['xtick.labelsize'] = 12
mpl.rcParams['ytick.labelsize'] = 12
mpl.rcParams['legend.fontsize'] = 12
alpha = 0.7
# 2*7
x_2x7 = [10, 14]
y_2x7 = [73.924, 74.002]
plt.plot(x_2x7, y_2x7, 'o-', color='blue', alpha=alpha, label="2*7")
# 2*10
x_2x10 = [10, 15, 20]
y_2x10 = [74.138, 74.290, 74.305]
plt.plot(x_2x10, y_2x10, 's-', color='green', alpha=alpha, label="2*10")
# 4*10
x_4x10 = [10, 15, 20, 25, 30, 35, 40]
y_4x10 = [72.750, 74.147, 74.330, 74.381, 74.406, 74.411, 74.410]
plt.plot(x_4x10, y_4x10, 'd-', color='red', alpha=alpha, label="4*10")
# 5*12
x_5x12 = [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60]
y_5x12 = [71.603, 73.847, 74.226, 74.327, 74.353, 74.366, 74.371, 74.378, 74.380, 74.380, 74.382]
plt.plot(x_5x12, y_5x12, 'v-', color='purple', alpha=alpha, label="5*12")
# 6*18
x_6x13 = [10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 78]
y_6x13 = [69.227, 72.876, 73.825, 74.077, 74.174, 74.210, 74.232, 74.249, 74.260, 74.265, 74.267, 74.267, 74.267, 74.268]
plt.plot(x_6x13, y_6x13, 'p-', color='orange', alpha=alpha, label="6*13")
plt.xlabel("Anchor Number") # 横坐标名字
plt.ylabel("F1-Score") # 纵坐标名字
plt.legend(loc="best", title="Polarmap Size") # 图例标题
plt.savefig('anchor_num_testing_r.png', dpi=300)
plt.show()