From 98a97244d320762da1d0c3c6da07e30333121410 Mon Sep 17 00:00:00 2001 From: CharlieLai0405 Date: Wed, 8 Jan 2025 10:09:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=88=91=E5=9C=A8=204-Object=5FDetection?= =?UTF-8?q?=20=E4=B8=AD=20YOLOV3=20=E8=A3=A1=E9=9D=A2=E7=9A=84=20README.md?= =?UTF-8?q?=20=E5=8A=A0=E5=85=A5=E4=BA=86Requirement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/c_cpp_properties.json | 18 +++++++++++ .vscode/launch.json | 24 ++++++++++++++ .vscode/settings.json | 59 +++++++++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..f912847 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,18 @@ +{ + "configurations": [ + { + "name": "windows-gcc-x86", + "includePath": [ + "${workspaceFolder}/**" + ], + "compilerPath": "C:/MinGW/bin/gcc.exe", + "cStandard": "${default}", + "cppStandard": "${default}", + "intelliSenseMode": "windows-gcc-x86", + "compilerArgs": [ + "" + ] + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2f014ea --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "C/C++ Runner: Debug Session", + "type": "cppdbg", + "request": "launch", + "args": [], + "stopAtEntry": false, + "externalConsole": true, + "cwd": ".", + "program": "build/Debug/outDebug", + "MIMode": "gdb", + "miDebuggerPath": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c9e66f1 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,59 @@ +{ + "C_Cpp_Runner.cCompilerPath": "gcc", + "C_Cpp_Runner.cppCompilerPath": "g++", + "C_Cpp_Runner.debuggerPath": "gdb", + "C_Cpp_Runner.cStandard": "", + "C_Cpp_Runner.cppStandard": "", + "C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat", + "C_Cpp_Runner.useMsvc": false, + "C_Cpp_Runner.warnings": [ + "-Wall", + "-Wextra", + "-Wpedantic", + "-Wshadow", + "-Wformat=2", + "-Wcast-align", + "-Wconversion", + "-Wsign-conversion", + "-Wnull-dereference" + ], + "C_Cpp_Runner.msvcWarnings": [ + "/W4", + "/permissive-", + "/w14242", + "/w14287", + "/w14296", + "/w14311", + "/w14826", + "/w44062", + "/w44242", + "/w14905", + "/w14906", + "/w14263", + "/w44265", + "/w14928" + ], + "C_Cpp_Runner.enableWarnings": true, + "C_Cpp_Runner.warningsAsError": false, + "C_Cpp_Runner.compilerArgs": [], + "C_Cpp_Runner.linkerArgs": [], + "C_Cpp_Runner.includePaths": [], + "C_Cpp_Runner.includeSearch": [ + "*", + "**/*" + ], + "C_Cpp_Runner.excludeSearch": [ + "**/build", + "**/build/**", + "**/.*", + "**/.*/**", + "**/.vscode", + "**/.vscode/**" + ], + "C_Cpp_Runner.useAddressSanitizer": false, + "C_Cpp_Runner.useUndefinedSanitizer": false, + "C_Cpp_Runner.useLeakSanitizer": false, + "C_Cpp_Runner.showCompilationTime": false, + "C_Cpp_Runner.useLinkTimeOptimization": false, + "C_Cpp_Runner.msvcSecureNoWarnings": false +} \ No newline at end of file From 33385fa4bfdae9b2f1037fc1fb889033036d107c Mon Sep 17 00:00:00 2001 From: CharlieLai0405 Date: Wed, 8 Jan 2025 11:08:35 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=88=91=E5=9C=A8=204-Object=5FDetection?= =?UTF-8?q?=20=E4=B8=AD=20YOLOV3=20=E8=A3=A1=E9=9D=A2=E7=9A=84=20README.md?= =?UTF-8?q?=20=E5=8A=A0=E5=85=A5=E4=BA=86Requirement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 4-Object_Detection/YOLOV3/README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/4-Object_Detection/YOLOV3/README.md b/4-Object_Detection/YOLOV3/README.md index dd40087..d10b0ca 100644 --- a/4-Object_Detection/YOLOV3/README.md +++ b/4-Object_Detection/YOLOV3/README.md @@ -2,6 +2,20 @@ -------------------- A minimal tensorflow implementation of YOLOv3, with support for training, inference and evaluation. +# Requirement +-------------------- +Python 版本相容性注意事項: +1. 本專案的 TensorFlow 2.0.0 與較新版本的 Python 可能會發生相容性問題。如果在執行 "pip3 install -r ./docs/requirements.txt" 遇到以下錯誤: + ERROR: Could not find a version that satisfies the requirement tensorflow==2.0.0 + ERROR: No matching distribution found for tensorflow==2.0.0 + +這通常代表您的 Python 版本過新。建議使用: +- Python 3.6-3.7 版本 +- TensorFlow 2.0.0 + +如需使用較新版本的 Python,請考慮更新到較新版本的 TensorFlow。 + + ## Installation -------------------- Install requirements and download pretrained weights @@ -76,4 +90,3 @@ $ tensorboard --logdir ./data/log year = 2019, } ``` -