Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Yolov4_Vehicle_inspection/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,4 @@ def fit_one_epoch(net, yolo_loss, epoch, epoch_size, epoch_size_val, gen, genval
for epoch in range(Freeze_Epoch, Unfreeze_Epoch):
fit_one_epoch(net, yolo_loss, epoch, epoch_size, epoch_size_val, gen, gen_val, Unfreeze_Epoch, Cuda)
# 更新学习率
lr_scheduler.step()
lr_scheduler.step()
1 change: 1 addition & 0 deletions src/minicarsim/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ def run_simulation(self):

# 新增:模拟温度数据
temperature = self.simulate_temperature_data()


# 检查并控制空调
ac_status = self.check_and_control_ac(temperature)
Expand Down
4 changes: 2 additions & 2 deletions src/tracking_car/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ conf_thres: 0.5
iou_thres: 0.3
max_age: 5
min_hits: 3
yolo_model: '"D:/harudt/yolov8n.pt"'
yolo_model: "yolov8n.pt"
yolo_imgsz_max: 320
yolo_iou: 0.45
yolo_quantize: false
Expand Down Expand Up @@ -46,7 +46,7 @@ save_screenshots: false
use_3d_visualization: true
pcd_view_size: 800

# 检测框样式配置(匹配截图)
# 检测框样式配置
det_box_color: [255, 0, 0] # 蓝色框
det_box_thickness: 2
det_label_bg_color: [0, 0, 0] # 黑色背景
Expand Down
Loading
Loading