Skip to content
Closed
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
2 changes: 1 addition & 1 deletion 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: "D:/harudt/yolov8n.pt"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不能用绝对路径

yolo_imgsz_max: 320
yolo_iou: 0.45
yolo_quantize: false
Expand Down
Loading
Loading