diff --git a/121.txt b/121.txt deleted file mode 100644 index e69de29..0000000 diff --git a/4545.txt b/4545.txt deleted file mode 100644 index e69de29..0000000 diff --git a/新建 DOCX 文档.docx b/新建 DOCX 文档.docx deleted file mode 100644 index e69de29..0000000 diff --git a/新建文本文档.txt b/新建文本文档.txt deleted file mode 100644 index e69de29..0000000 diff --git a/程治玮/yolov5-5.0/.gitignore b/程治玮/yolov5-5.0/.gitignore index 91ce33f..80c180f 100644 --- a/程治玮/yolov5-5.0/.gitignore +++ b/程治玮/yolov5-5.0/.gitignore @@ -1,252 +1,252 @@ -# Repo-specific GitIgnore ---------------------------------------------------------------------------------------------- -*.jpg -*.jpeg -*.png -*.bmp -*.tif -*.tiff -*.heic -*.JPG -*.JPEG -*.PNG -*.BMP -*.TIF -*.TIFF -*.HEIC -*.mp4 -*.mov -*.MOV -*.avi -*.data -*.json +# # Repo-specific GitIgnore ---------------------------------------------------------------------------------------------- +# *.jpg +# *.jpeg +# *.png +# *.bmp +# *.tif +# *.tiff +# *.heic +# *.JPG +# *.JPEG +# *.PNG +# *.BMP +# *.TIF +# *.TIFF +# *.HEIC +# *.mp4 +# *.mov +# *.MOV +# *.avi +# *.data +# *.json -*.cfg -!cfg/yolov3*.cfg +# *.cfg +# !cfg/yolov3*.cfg -storage.googleapis.com -runs/* -data/* -!data/images/zidane.jpg -!data/images/bus.jpg -!data/coco.names -!data/coco_paper.names -!data/coco.data -!data/coco_*.data -!data/coco_*.txt -!data/trainvalno5k.shapes -!data/*.sh +# storage.googleapis.com +# runs/* +# data/* +# !data/images/zidane.jpg +# !data/images/bus.jpg +# !data/coco.names +# !data/coco_paper.names +# !data/coco.data +# !data/coco_*.data +# !data/coco_*.txt +# !data/trainvalno5k.shapes +# !data/*.sh -pycocotools/* -results*.txt -gcp_test*.sh +# pycocotools/* +# results*.txt +# gcp_test*.sh -# Datasets ------------------------------------------------------------------------------------------------------------- -coco/ -coco128/ -VOC/ +# # Datasets ------------------------------------------------------------------------------------------------------------- +# coco/ +# coco128/ +# VOC/ -# MATLAB GitIgnore ----------------------------------------------------------------------------------------------------- -*.m~ -*.mat -!targets*.mat +# # MATLAB GitIgnore ----------------------------------------------------------------------------------------------------- +# *.m~ +# *.mat +# !targets*.mat -# Neural Network weights ----------------------------------------------------------------------------------------------- -*.weights -*.pt -*.onnx -*.mlmodel -*.torchscript -darknet53.conv.74 -yolov3-tiny.conv.15 +# # Neural Network weights ----------------------------------------------------------------------------------------------- +# *.weights +# *.pt +# *.onnx +# *.mlmodel +# *.torchscript +# darknet53.conv.74 +# yolov3-tiny.conv.15 -# GitHub Python GitIgnore ---------------------------------------------------------------------------------------------- -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class +# # GitHub Python GitIgnore ---------------------------------------------------------------------------------------------- +# # Byte-compiled / optimized / DLL files +# __pycache__/ +# *.py[cod] +# *$py.class -# C extensions -*.so +# # C extensions +# *.so -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -*.egg-info/ -wandb/ -.installed.cfg -*.egg +# # Distribution / packaging +# .Python +# env/ +# build/ +# develop-eggs/ +# dist/ +# downloads/ +# eggs/ +# .eggs/ +# lib/ +# lib64/ +# parts/ +# sdist/ +# var/ +# wheels/ +# *.egg-info/ +# wandb/ +# .installed.cfg +# *.egg -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec +# # PyInstaller +# # Usually these files are written by a python script from a template +# # before PyInstaller builds the exe, so as to inject date/other infos into it. +# *.manifest +# *.spec -# Installer logs -pip-log.txt -pip-delete-this-directory.txt +# # Installer logs +# pip-log.txt +# pip-delete-this-directory.txt -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -.hypothesis/ +# # Unit test / coverage reports +# htmlcov/ +# .tox/ +# .coverage +# .coverage.* +# .cache +# nosetests.xml +# coverage.xml +# *.cover +# .hypothesis/ -# Translations -*.mo -*.pot +# # Translations +# *.mo +# *.pot -# Django stuff: -*.log -local_settings.py +# # Django stuff: +# *.log +# local_settings.py -# Flask stuff: -instance/ -.webassets-cache +# # Flask stuff: +# instance/ +# .webassets-cache -# Scrapy stuff: -.scrapy +# # Scrapy stuff: +# .scrapy -# Sphinx documentation -docs/_build/ +# # Sphinx documentation +# docs/_build/ -# PyBuilder -target/ +# # PyBuilder +# target/ -# Jupyter Notebook -.ipynb_checkpoints +# # Jupyter Notebook +# .ipynb_checkpoints -# pyenv -.python-version +# # pyenv +# .python-version -# celery beat schedule file -celerybeat-schedule +# # celery beat schedule file +# celerybeat-schedule -# SageMath parsed files -*.sage.py +# # SageMath parsed files +# *.sage.py -# dotenv -.env +# # dotenv +# .env -# virtualenv -.venv* -venv*/ -ENV*/ +# # virtualenv +# .venv* +# venv*/ +# ENV*/ -# Spyder project settings -.spyderproject -.spyproject +# # Spyder project settings +# .spyderproject +# .spyproject -# Rope project settings -.ropeproject +# # Rope project settings +# .ropeproject -# mkdocs documentation -/site +# # mkdocs documentation +# /site -# mypy -.mypy_cache/ +# # mypy +# .mypy_cache/ -# https://github.com/github/gitignore/blob/master/Global/macOS.gitignore ----------------------------------------------- +# # https://github.com/github/gitignore/blob/master/Global/macOS.gitignore ----------------------------------------------- -# General -.DS_Store -.AppleDouble -.LSOverride +# # General +# .DS_Store +# .AppleDouble +# .LSOverride -# Icon must end with two \r -Icon -Icon? +# # Icon must end with two \r +# Icon +# Icon? -# Thumbnails -._* +# # Thumbnails +# ._* -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent +# # Files that might appear in the root of a volume +# .DocumentRevisions-V100 +# .fseventsd +# .Spotlight-V100 +# .TemporaryItems +# .Trashes +# .VolumeIcon.icns +# .com.apple.timemachine.donotpresent -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk +# # Directories potentially created on remote AFP share +# .AppleDB +# .AppleDesktop +# Network Trash Folder +# Temporary Items +# .apdisk -# https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 +# # https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore +# # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 -# User-specific stuff: -.idea/* -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/dictionaries -.html # Bokeh Plots -.pg # TensorFlow Frozen Graphs -.avi # videos +# # User-specific stuff: +# .idea/* +# .idea/**/workspace.xml +# .idea/**/tasks.xml +# .idea/dictionaries +# .html # Bokeh Plots +# .pg # TensorFlow Frozen Graphs +# .avi # videos -# Sensitive or high-churn files: -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml +# # Sensitive or high-churn files: +# .idea/**/dataSources/ +# .idea/**/dataSources.ids +# .idea/**/dataSources.local.xml +# .idea/**/sqlDataSources.xml +# .idea/**/dynamic.xml +# .idea/**/uiDesigner.xml -# Gradle: -.idea/**/gradle.xml -.idea/**/libraries +# # Gradle: +# .idea/**/gradle.xml +# .idea/**/libraries -# CMake -cmake-build-debug/ -cmake-build-release/ +# # CMake +# cmake-build-debug/ +# cmake-build-release/ -# Mongo Explorer plugin: -.idea/**/mongoSettings.xml +# # Mongo Explorer plugin: +# .idea/**/mongoSettings.xml -## File-based project format: -*.iws +# ## File-based project format: +# *.iws -## Plugin-specific files: +# ## Plugin-specific files: -# IntelliJ -out/ +# # IntelliJ +# out/ -# mpeltonen/sbt-idea plugin -.idea_modules/ +# # mpeltonen/sbt-idea plugin +# .idea_modules/ -# JIRA plugin -atlassian-ide-plugin.xml +# # JIRA plugin +# atlassian-ide-plugin.xml -# Cursive Clojure plugin -.idea/replstate.xml +# # Cursive Clojure plugin +# .idea/replstate.xml -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties +# # Crashlytics plugin (for Android Studio and IntelliJ) +# com_crashlytics_export_strings.xml +# crashlytics.properties +# crashlytics-build.properties +# fabric.properties diff --git a/程治玮/yolov5-5.0/__pycache__/test.cpython-36.pyc b/程治玮/yolov5-5.0/__pycache__/test.cpython-36.pyc new file mode 100644 index 0000000..7122373 Binary files /dev/null and b/程治玮/yolov5-5.0/__pycache__/test.cpython-36.pyc differ diff --git a/程治玮/yolov5-5.0/data/argoverse_hd.yaml b/程治玮/yolov5-5.0/data/argoverse_hd.yaml new file mode 100644 index 0000000..df7a936 --- /dev/null +++ b/程治玮/yolov5-5.0/data/argoverse_hd.yaml @@ -0,0 +1,21 @@ +# Argoverse-HD dataset (ring-front-center camera) http://www.cs.cmu.edu/~mengtial/proj/streaming/ +# Train command: python train.py --data argoverse_hd.yaml +# Default dataset location is next to /yolov5: +# /parent_folder +# /argoverse +# /yolov5 + + +# download command/URL (optional) +download: bash data/scripts/get_argoverse_hd.sh + +# train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/] +train: ../argoverse/Argoverse-1.1/images/train/ # 39384 images +val: ../argoverse/Argoverse-1.1/images/val/ # 15062 iamges +test: ../argoverse/Argoverse-1.1/images/test/ # Submit to: https://eval.ai/web/challenges/challenge-page/800/overview + +# number of classes +nc: 8 + +# class names +names: [ 'person', 'bicycle', 'car', 'motorcycle', 'bus', 'truck', 'traffic_light', 'stop_sign' ] diff --git a/程治玮/yolov5-5.0/data/coco.yaml b/程治玮/yolov5-5.0/data/coco.yaml new file mode 100644 index 0000000..b9da2bf --- /dev/null +++ b/程治玮/yolov5-5.0/data/coco.yaml @@ -0,0 +1,35 @@ +# COCO 2017 dataset http://cocodataset.org +# Train command: python train.py --data coco.yaml +# Default dataset location is next to /yolov5: +# /parent_folder +# /coco +# /yolov5 + + +# download command/URL (optional) +download: bash data/scripts/get_coco.sh + +# train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/] +train: ../coco/train2017.txt # 118287 images +val: ../coco/val2017.txt # 5000 images +test: ../coco/test-dev2017.txt # 20288 of 40670 images, submit to https://competitions.codalab.org/competitions/20794 + +# number of classes +nc: 80 + +# class names +names: [ 'person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', + 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', + 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', + 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', + 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', + 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', + 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', + 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', + 'hair drier', 'toothbrush' ] + +# Print classes +# with open('data/coco.yaml') as f: +# d = yaml.load(f, Loader=yaml.FullLoader) # dict +# for i, x in enumerate(d['names']): +# print(i, x) diff --git a/程治玮/yolov5-5.0/data/coco128.yaml b/程治玮/yolov5-5.0/data/coco128.yaml new file mode 100644 index 0000000..d3ff047 --- /dev/null +++ b/程治玮/yolov5-5.0/data/coco128.yaml @@ -0,0 +1,30 @@ +# COCO 2017 dataset http://cocodataset.org - first 128 training images +# Train command: python train.py --data coco128.yaml +# Default dataset location is next to /yolov5: +# /parent_folder +# /coco128 +# /yolov5 + +# +## download command/URL (optional) +download: https://github.com/ultralytics/yolov5/releases/download/v1.0/coco128.zip + +# train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/] +train: ../coco128/images/train2017/ # 128 images +val: ../coco128/images/train2017/ # 128 images + + +# number of classes +nc: 80 + + +# class names +names: [ 'person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', + 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', + 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', + 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', + 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', + 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', + 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', + 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', + 'hair drier', 'toothbrush' ] diff --git a/程治玮/yolov5-5.0/data/hyp.finetune.yaml b/程治玮/yolov5-5.0/data/hyp.finetune.yaml new file mode 100644 index 0000000..1b84cff --- /dev/null +++ b/程治玮/yolov5-5.0/data/hyp.finetune.yaml @@ -0,0 +1,38 @@ +# Hyperparameters for VOC finetuning +# python train.py --batch 64 --weights yolov5m.pt --data voc.yaml --img 512 --epochs 50 +# See tutorials for hyperparameter evolution https://github.com/ultralytics/yolov5#tutorials + + +# Hyperparameter Evolution Results +# Generations: 306 +# P R mAP.5 mAP.5:.95 box obj cls +# Metrics: 0.6 0.936 0.896 0.684 0.0115 0.00805 0.00146 + +lr0: 0.0032 +lrf: 0.12 +momentum: 0.843 +weight_decay: 0.00036 +warmup_epochs: 2.0 +warmup_momentum: 0.5 +warmup_bias_lr: 0.05 +box: 0.0296 +cls: 0.243 +cls_pw: 0.631 +obj: 0.301 +obj_pw: 0.911 +iou_t: 0.2 +anchor_t: 2.91 +# anchors: 3.63 +fl_gamma: 0.0 +hsv_h: 0.0138 +hsv_s: 0.664 +hsv_v: 0.464 +degrees: 0.373 +translate: 0.245 +scale: 0.898 +shear: 0.602 +perspective: 0.0 +flipud: 0.00856 +fliplr: 0.5 +mosaic: 1.0 +mixup: 0.243 diff --git a/程治玮/yolov5-5.0/data/hyp.scratch.yaml b/程治玮/yolov5-5.0/data/hyp.scratch.yaml new file mode 100644 index 0000000..44f26b6 --- /dev/null +++ b/程治玮/yolov5-5.0/data/hyp.scratch.yaml @@ -0,0 +1,33 @@ +# Hyperparameters for COCO training from scratch +# python train.py --batch 40 --cfg yolov5m.yaml --weights '' --data coco.yaml --img 640 --epochs 300 +# See tutorials for hyperparameter evolution https://github.com/ultralytics/yolov5#tutorials + + +lr0: 0.01 # initial learning rate (SGD=1E-2, Adam=1E-3) +lrf: 0.2 # final OneCycleLR learning rate (lr0 * lrf) +momentum: 0.937 # SGD momentum/Adam beta1 +weight_decay: 0.0005 # optimizer weight decay 5e-4 +warmup_epochs: 3.0 # warmup epochs (fractions ok) +warmup_momentum: 0.8 # warmup initial momentum +warmup_bias_lr: 0.1 # warmup initial bias lr +box: 0.05 # box loss gain +cls: 0.5 # cls loss gain +cls_pw: 1.0 # cls BCELoss positive_weight +obj: 1.0 # obj loss gain (scale with pixels) +obj_pw: 1.0 # obj BCELoss positive_weight +iou_t: 0.20 # IoU training threshold +anchor_t: 4.0 # anchor-multiple threshold +# anchors: 3 # anchors per output layer (0 to ignore) +fl_gamma: 0.0 # focal loss gamma (efficientDet default gamma=1.5) +hsv_h: 0.015 # image HSV-Hue augmentation (fraction) +hsv_s: 0.7 # image HSV-Saturation augmentation (fraction) +hsv_v: 0.4 # image HSV-Value augmentation (fraction) +degrees: 0.0 # image rotation (+/- deg) +translate: 0.1 # image translation (+/- fraction) +scale: 0.5 # image scale (+/- gain) +shear: 0.0 # image shear (+/- deg) +perspective: 0.0 # image perspective (+/- fraction), range 0-0.001 +flipud: 0.0 # image flip up-down (probability) +fliplr: 0.5 # image flip left-right (probability) +mosaic: 1.0 # image mosaic (probability) +mixup: 0.0 # image mixup (probability) diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng118.png b/程治玮/yolov5-5.0/data/images-wind/baicheng118.png new file mode 100644 index 0000000..efe7efc Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng118.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng119.png b/程治玮/yolov5-5.0/data/images-wind/baicheng119.png new file mode 100644 index 0000000..a3785ef Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng119.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng120.png b/程治玮/yolov5-5.0/data/images-wind/baicheng120.png new file mode 100644 index 0000000..260f11b Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng120.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng121.png b/程治玮/yolov5-5.0/data/images-wind/baicheng121.png new file mode 100644 index 0000000..6144b74 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng121.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng122.png b/程治玮/yolov5-5.0/data/images-wind/baicheng122.png new file mode 100644 index 0000000..036bb50 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng122.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng123.png b/程治玮/yolov5-5.0/data/images-wind/baicheng123.png new file mode 100644 index 0000000..b25eaf7 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng123.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng124.png b/程治玮/yolov5-5.0/data/images-wind/baicheng124.png new file mode 100644 index 0000000..6a7773d Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng124.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng125.png b/程治玮/yolov5-5.0/data/images-wind/baicheng125.png new file mode 100644 index 0000000..7a7ce91 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng125.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng126.png b/程治玮/yolov5-5.0/data/images-wind/baicheng126.png new file mode 100644 index 0000000..289faf1 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng126.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng127.png b/程治玮/yolov5-5.0/data/images-wind/baicheng127.png new file mode 100644 index 0000000..5de091e Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng127.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng128.png b/程治玮/yolov5-5.0/data/images-wind/baicheng128.png new file mode 100644 index 0000000..296bc07 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng128.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng129.png b/程治玮/yolov5-5.0/data/images-wind/baicheng129.png new file mode 100644 index 0000000..e4f7599 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng129.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng130.png b/程治玮/yolov5-5.0/data/images-wind/baicheng130.png new file mode 100644 index 0000000..d80201d Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng130.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng131.png b/程治玮/yolov5-5.0/data/images-wind/baicheng131.png new file mode 100644 index 0000000..7314cc6 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng131.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng132.png b/程治玮/yolov5-5.0/data/images-wind/baicheng132.png new file mode 100644 index 0000000..2a662c3 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng132.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng133.png b/程治玮/yolov5-5.0/data/images-wind/baicheng133.png new file mode 100644 index 0000000..1f7a637 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng133.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng134.png b/程治玮/yolov5-5.0/data/images-wind/baicheng134.png new file mode 100644 index 0000000..af11028 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng134.png differ diff --git a/程治玮/yolov5-5.0/data/images-wind/baicheng135.png b/程治玮/yolov5-5.0/data/images-wind/baicheng135.png new file mode 100644 index 0000000..cc452db Binary files /dev/null and b/程治玮/yolov5-5.0/data/images-wind/baicheng135.png differ diff --git a/程治玮/yolov5-5.0/data/images/bus.jpg b/程治玮/yolov5-5.0/data/images/bus.jpg new file mode 100644 index 0000000..b43e311 Binary files /dev/null and b/程治玮/yolov5-5.0/data/images/bus.jpg differ diff --git a/程治玮/yolov5-5.0/data/images/zidane.jpg b/程治玮/yolov5-5.0/data/images/zidane.jpg new file mode 100644 index 0000000..92d72ea Binary files /dev/null and b/程治玮/yolov5-5.0/data/images/zidane.jpg differ diff --git a/程治玮/yolov5-5.0/data/mydata.yaml b/程治玮/yolov5-5.0/data/mydata.yaml new file mode 100644 index 0000000..04c1551 --- /dev/null +++ b/程治玮/yolov5-5.0/data/mydata.yaml @@ -0,0 +1,32 @@ +# COCO 2017 dataset http://cocodataset.org - first 128 training images +# Train command: python train.py --data coco128.yaml +# Default dataset location is next to /yolov5: +# /parent_folder +# /coco128 +# /yolov5 + +# +## download command/URL (optional) +#download: https://github.com/ultralytics/yolov5/releases/download/v1.0/coco128.zip + +# train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/] +#train: ../coco128/images/train2017/ # 128 images +#val: ../coco128/images/train2017/ # 128 images +train: mydata\images\train +val: mydata\images\train + +# number of classes +#nc: 80 +nc: 1 +## class names +#names: [ 'person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', +# 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', +# 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', +# 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', +# 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', +# 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', +# 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', +# 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', +# 'hair drier', 'toothbrush' ] + +names: ['wind'] \ No newline at end of file diff --git a/程治玮/yolov5-5.0/data/scripts/get_argoverse_hd.sh b/程治玮/yolov5-5.0/data/scripts/get_argoverse_hd.sh new file mode 100644 index 0000000..caec61e --- /dev/null +++ b/程治玮/yolov5-5.0/data/scripts/get_argoverse_hd.sh @@ -0,0 +1,62 @@ +#!/bin/bash +# Argoverse-HD dataset (ring-front-center camera) http://www.cs.cmu.edu/~mengtial/proj/streaming/ +# Download command: bash data/scripts/get_argoverse_hd.sh +# Train command: python train.py --data argoverse_hd.yaml +# Default dataset location is next to /yolov5: +# /parent_folder +# /argoverse +# /yolov5 + +# Download/unzip images +d='../argoverse/' # unzip directory +mkdir $d +url=https://argoverse-hd.s3.us-east-2.amazonaws.com/ +f=Argoverse-HD-Full.zip +curl -L $url$f -o $f && unzip -q $f -d $d && rm $f &# download, unzip, remove in background +wait # finish background tasks + +cd ../argoverse/Argoverse-1.1/ +ln -s tracking images + +cd ../Argoverse-HD/annotations/ + +python3 - "$@" <train.txt +cat 2007_train.txt 2007_val.txt 2007_test.txt 2012_train.txt 2012_val.txt >train.all.txt + +python3 - "$@" <