PyTorch_YOLOv4 | PyTorch implementation of YOLOv4 | Machine Learning library
kandi X-RAY | PyTorch_YOLOv4 Summary
kandi X-RAY | PyTorch_YOLOv4 Summary
PyTorch implementation of YOLOv4
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Train a trained model .
- Construct module blocks from module definitions .
- Run darknet detection .
- k - mean anchor anchors
- Returns a randomly selected image .
- Random perspective of image .
- Runs a prediction on a prediction .
- Loads all mosaic mosaic images .
- Performs a single step .
- Compute the loss for a given model .
PyTorch_YOLOv4 Key Features
PyTorch_YOLOv4 Examples and Code Snippets
git clone -b u3_preview https://github.com/WongKinYiu/PyTorch_YOLOv4.git
git clone https://github.com/tjuskyzhang/yolov4-tiny-tensorrt.git
cd PyTorch_YOLOv4
cp ../yolov4-tiny-tensorrt/gen_wts.py .
python gen_wts.py weights/yolov4-tiny.p
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.411
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.639
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.444
Average Preci
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.xxx
Community Discussions
Trending Discussions on PyTorch_YOLOv4
QUESTION
I'm following this guide to convert darknet to onnx
. However, I'm facing the following error:
"C:\Users\Scott\Anaconda3\envs\pytorch_yolov4\lib\site-packages\torch\onnx\symbolic_helper.py", line 253, in _set_opset_version raise ValueError("Unsupported ONNX opset version: " + str(opset_version)) ValueError: Unsupported ONNX opset version: 11
What does this error mean and how to deal with it?
...ANSWER
Answered 2020-Nov-18 at 05:43It looks like you have an old PyTorch version, probably PyTorch 1.2.
The docs here https://github.com/Tianxiaomo/pytorch-YOLOv4#4-pytorch2onnx recommend at least PyTorch 1.4.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install PyTorch_YOLOv4
You can use PyTorch_YOLOv4 like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page