This is a project using SIXray dataset to build up security image recognition for some common danger goods: Gun, Knife, Wrench, Pliers, and Scissors.
This repo is targeted to compare the YOLOv10 method with the original and YOLOv4 method in the dimensions of detect precision, training parameters and also optimisers.
conda create -n yolov10 python==3.10 --strict-channel-priority -c conda-forge -y
conda activate yolov10
In settings.json
"terminal.integrated.profiles.windows": {
"PowerShell": {
"path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
},
"Anaconda Prompt": {
"path": "C:\\Windows\\System32\\cmd.exe",
"args": ["/K", "C:\\Users\\你的使用者名稱\\Anaconda3\\Scripts\\activate.bat"]
}
},
"terminal.integrated.defaultProfile.windows": "Anaconda Prompt"
git clone https://github.com/Annie04082020/SIXray_YOLOv10.git
cd SIXray_YOLOv10
git clone https://github.com/THU-MIG/yolov10.git
cd yolov10
pip install -r requirements.txt
pip install -e .
cd ..
pip install -r requirements.txt
set KMP_DUPLICATE_LIB_OK=TRUE
python train.py
pip uninstall torch torchvision torchaudio -y
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Validation
python
>>> import torch
>>> print(torch.cuda.is_available())
# Expected Output:True
cd yolov10
pip install -r requirements.txt
pip install -e .
52 commits
Python
100.0%
This is a project using SIXray dataset to build up security image recognition for some common danger goods: Gun, Knife, Wrench, Pliers, and Scissors.
This repo is targeted to compare the YOLOv10 method with the original and YOLOv4 method in the dimensions of detect precision, training parameters and also optimisers.
conda create -n yolov10 python==3.10 --strict-channel-priority -c conda-forge -y
conda activate yolov10
In settings.json
"terminal.integrated.profiles.windows": {
"PowerShell": {
"path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
},
"Anaconda Prompt": {
"path": "C:\\Windows\\System32\\cmd.exe",
"args": ["/K", "C:\\Users\\你的使用者名稱\\Anaconda3\\Scripts\\activate.bat"]
}
},
"terminal.integrated.defaultProfile.windows": "Anaconda Prompt"
git clone https://github.com/Annie04082020/SIXray_YOLOv10.git
cd SIXray_YOLOv10
git clone https://github.com/THU-MIG/yolov10.git
cd yolov10
pip install -r requirements.txt
pip install -e .
cd ..
pip install -r requirements.txt
set KMP_DUPLICATE_LIB_OK=TRUE
python train.py
pip uninstall torch torchvision torchaudio -y
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Validation
python
>>> import torch
>>> print(torch.cuda.is_available())
# Expected Output:True
cd yolov10
pip install -r requirements.txt
pip install -e .
52 commits
Python
100.0%