---
# System prepended metadata

title: 實習日記1/9~1/13
tags: [實習日記]

---

---
tags: 實習日記
---
[TOC]
# 實習日記1/9~1/13

## 準備訓練資料
1. obj.data
2. obj.names
3. yolov4.cfg
4. train.txt
5. valid.txt
6. pre-trained.weight
## YoloV4 訓練紅綠燈問題
1. 原因是GPU內存不足
    ![](https://i.imgur.com/PRRJXmR.png)
=>Yolo-tiny or Colab
    
2. 檔案位置沒有放在darkent資料夾裡面
    ![](https://i.imgur.com/dTR4IUv.png)
    
3. 絕對路徑錯誤
    ![](https://i.imgur.com/CQHHSY1.png)
    
4. id沒有Label好
![](https://i.imgur.com/IpOjeHH.png)
![](https://i.imgur.com/htK4x1Y.png)
![](https://i.imgur.com/IM3EbDX.png)

## 重新Label沒有標示好的照片
![](https://i.imgur.com/vY2iL1Q.jpg)
## 參考資料
1. https://jason-chen-1992.weebly.com/home/-google-colab-yolov41303994
2. https://github.com/AarohiSingla/Object-Detection-Using-yolov4-tiny/blob/main/yolov4_tinyimplementation.ipynb
3. https://github.com/AlexeyAB/darknet#how-to-train-tiny-yolo-to-detect-your-custom-objects
4. https://github.com/AarohiSingla/yolov4-on-traffic-sign-detection/blob/main/yolov4_traffic_sign_detection.ipynb
