From 18ac5470a4129ec2a47420034b92d20da24aef2e Mon Sep 17 00:00:00 2001 From: lee <770918727@qq.com> Date: Fri, 8 Apr 2022 08:22:38 +0000 Subject: [PATCH 1/2] Initial commit --- .gitignore | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a81c8ee --- /dev/null +++ b/.gitignore @@ -0,0 +1,138 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# 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 + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ From eda8c5a81305e9e30c8dfb3d88c7f1d7c36f7616 Mon Sep 17 00:00:00 2001 From: lee <770918727@qq.com> Date: Fri, 8 Apr 2022 08:39:26 +0000 Subject: [PATCH 2/2] update .gitignore. --- .gitignore | 199 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 199 insertions(+) diff --git a/.gitignore b/.gitignore index a81c8ee..70e1997 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,69 @@ +<<<<<<< HEAD +# 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 + +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 + +# Datasets ------------------------------------------------------------------------------------------------------------- +coco/ +coco128/ +VOC/ + +# MATLAB GitIgnore ----------------------------------------------------------------------------------------------------- +*.m~ +*.mat +!targets*.mat + +# Neural Network weights ----------------------------------------------------------------------------------------------- +*.weights +*.pt +*.bin +*.onnx +*.mlmodel +*.torchscript +darknet53.conv.74 +yolov3-tiny.conv.15 + +# GitHub Python GitIgnore ---------------------------------------------------------------------------------------------- +======= +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -8,6 +74,10 @@ __pycache__/ # Distribution / packaging .Python +<<<<<<< HEAD +env/ +======= +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e build/ develop-eggs/ dist/ @@ -20,11 +90,19 @@ parts/ sdist/ var/ wheels/ +<<<<<<< HEAD +*.egg-info/ +wandb/ +.installed.cfg +*.egg + +======= share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e # PyInstaller # Usually these files are written by a python script from a template @@ -39,17 +117,24 @@ pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ +<<<<<<< HEAD +======= .nox/ +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover +<<<<<<< HEAD +.hypothesis/ +======= *.py,cover .hypothesis/ .pytest_cache/ cover/ +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e # Translations *.mo @@ -58,8 +143,11 @@ cover/ # Django stuff: *.log local_settings.py +<<<<<<< HEAD +======= db.sqlite3 db.sqlite3-journal +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e # Flask stuff: instance/ @@ -72,12 +160,22 @@ instance/ docs/_build/ # PyBuilder +<<<<<<< HEAD +======= .pybuilder/ +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e target/ # Jupyter Notebook .ipynb_checkpoints +<<<<<<< HEAD +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule +======= # IPython profile_default/ ipython_config.py @@ -100,10 +198,20 @@ __pypackages__/ # Celery stuff celerybeat-schedule celerybeat.pid +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e # SageMath parsed files *.sage.py +<<<<<<< HEAD +# dotenv +.env + +# virtualenv +.venv* +venv*/ +ENV*/ +======= # Environments .env .venv @@ -112,6 +220,7 @@ venv/ ENV/ env.bak/ venv.bak/ +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e # Spyder project settings .spyderproject @@ -125,6 +234,95 @@ venv.bak/ # mypy .mypy_cache/ +<<<<<<< HEAD + + +# https://github.com/github/gitignore/blob/master/Global/macOS.gitignore ----------------------------------------------- + +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon +Icon? + +# Thumbnails +._* + +# 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 + + +# 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 + +# 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 + +# CMake +cmake-build-debug/ +cmake-build-release/ + +# Mongo Explorer plugin: +.idea/**/mongoSettings.xml + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.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 +======= .dmypy.json dmypy.json @@ -136,3 +334,4 @@ dmypy.json # Cython debug symbols cython_debug/ +>>>>>>> 18ac5470a4129ec2a47420034b92d20da24aef2e