BumbleBee-BBStream / yolov7

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
GNU General Public License v3.0
0 stars 0 forks source link

Small_defect_v6.2_JinChuan detect defect of battery #7

Closed Samuel-wei closed 1 year ago

Samuel-wei commented 1 year ago

Keep on https://github.com/BumbleBee-BBStream/AlexeyABDarknet/issues/35

Samuel-wei commented 1 year ago

Image

Image

视觉检测记录表-20230621新设备.xlsx

Samuel-wei commented 1 year ago
  1. 将不良品进行重复检测,每检测一次,将检测为良品的单独存放;
  2. 检测的为良品的产品进行存图,存完一次打乱一次,重复存5次;
  3. 保存每一个重复未检出出来的产品,一对一打标;
Samuel-wei commented 1 year ago

August 6, 2023,晋川数据训练--14

Training Version: small_defect_JinChuan_V6.2.0

  1. --Base dataset--Making balance every camera frames camera-0123: 90399 images

    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_defect_V4V5_aug_jpg(39142)
    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_defect_V4V5_aug_xml(39142)

    Augmentation parameters method:

    if_rotate = True if_flip = True if_contrast_and_brightness = False if_crop = False

    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_ok_V4V5_aug_jpg(44982)
    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_ok_V4V5_aug_xml(44982)

Vaildation dataset

  1. /home/workspace/BatteryDetect/xmldata/small_defect_JinChuan_V5/test_14_20220803_20220802(1900)
  2. /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/OK_14_20220923(7618)

Test dataset

/home/workspace/BatteryDataSet/Data_xml/TestData/NG_14_20220907(448) /home/workspace/BatteryDataSet/Data_xml/TestData/NG_14_20220907_xml(448)

$ sudo docker exec -it yolov7_pytorch_deve_ssh python3 BatteryDetect.py --weights /home/workspace/BatteryDetect/models/small_defect_JinChuan_V6.2.0/weights/best.pt --conf 0.1 --img-size 640 --device 0 --source /home/workspace/BatteryDataSet/Data_xml/TestData/NG_14_20220907

Image

Result

Image

Image

Samuel-wei commented 1 year ago

August 25, 2023,晋川数据训练--14

  1. --Base dataset--Making balance every camera frames camera-0123: 90399 images

    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_defect_V4V5_aug_jpg(39142)
    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_defect_V4V5_aug_xml(39142)

    Augmentation parameters method:

    if_rotate = True if_flip = True if_contrast_and_brightness = False if_crop = False

    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_ok_V4V5_aug_jpg(44982)
    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_ok_V4V5_aug_xml(44982)
  2. Adding new dataset:--trying to making ok numbers into balance with defect numbers /home/workspace/BatteryDataSet/Data_xml/small_defect_JinChuan_V6/14_FP_V6.0.4(6275,jpg) /home/workspace/BatteryDataSet/Data_xml/small_defect_JinChuan_V6/14_FP_V6.0.4(6275,xml)

    Augmentation parameters method:

    if_rotate = True if_flip = True if_contrast_and_brightness = False if_crop = False

Vaildation dataset

  1. /home/workspace/BatteryDetect/xmldata/small_defect_JinChuan_V5/test_14_20220803_20220802(1900)
  2. /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/OK_14_20220923(7618)

Test dataset

/home/workspace/BatteryDataSet/Data_xml/TestData/NG_14_20220907(448) /home/workspace/BatteryDataSet/Data_xml/TestData/NG_14_20220907_xml(448)

Result

Image

Samuel-wei commented 1 year ago

September 13, 2023,晋川数据训练--14

  1. --Base dataset--Making balance every camera frames camera-0123: 90399 images

    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_defect_V4V5_aug_jpg(39142)
    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_defect_V4V5_aug_xml(39142)

    Augmentation parameters method:

    if_rotate = True if_flip = True if_contrast_and_brightness = False if_crop = False

    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_ok_V4V5_aug_jpg(44982)
    • /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/small_14_ok_V4V5_aug_xml(44982)
  2. Adding new dataset:--trying to making ok numbers into balance with defect numbers /home/workspace/BatteryDataSet/Data_xml/small_defect_JinChuan_V6/14_FP_V6.0.4(6275,jpg) /home/workspace/BatteryDataSet/Data_xml/small_defect_JinChuan_V6/14_FP_V6.0.4(6275,xml)

    Augmentation parameters method:

    if_rotate = True if_flip = True if_contrast_and_brightness = False if_crop = False

Vaildation dataset

  1. /home/workspace/BatteryDetect/xmldata/small_defect_JinChuan_V5/test_14_20220803_20220802(1900)
  2. /home/workspace/BatteryDetect/Data_xml/small_defect_JinChuan_V6/OK_14_20220923(7618)

Test dataset

/home/workspace/BatteryDataSet/Data_xml/TestData/NG_14_20220907(448) /home/workspace/BatteryDataSet/Data_xml/TestData/NG_14_20220907_xml(448)

Training perform

Result