-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DWConvTranspose2d()
module
#7881
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DWConvTranspose2d()
module
for more information, see https://pre-commit.ci
β¦ate/ConvTranspose2d # Conflicts: # models/tf.py
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
YOLOv5n v6.1 hyperplane CPUbenchmarks: weights=yolov5n.pt, imgsz=640, batch_size=1, data=/usr/src/app/data/coco128.yaml, device=cpu, half=False, test=False, pt_only=False
Checking setup...
YOLOv5 π a9a92ae Python-3.8.10 torch-1.11.0+cpu CPU
Setup complete β
(96 CPUs, 1007.7 GB RAM, 1933.3/3519.3 GB disk)
Benchmarks complete (113.21s)
Format [email protected]:0.95 Inference time (ms)
0 PyTorch 0.3476 61.12
1 TorchScript 0.3476 52.30
2 ONNX 0.3476 39.65
3 OpenVINO 0.3476 16.29
4 TensorRT NaN NaN
5 CoreML NaN NaN
6 TensorFlow SavedModel 0.3476 61.50
7 TensorFlow GraphDef 0.3476 68.44
8 TensorFlow Lite 0.3470 95.77
9 TensorFlow Edge TPU NaN NaN
10 TensorFlow.js NaN NaN YOLOv5n-7 hyperplane CPUbenchmarks: weights=yolov5n-7.pt, imgsz=640, batch_size=1, data=/usr/src/yolov5/data/coco128.yaml, device=cpu, half=False, test=False, pt_only=False
Checking setup...
YOLOv5 π v6.1-207-g5774a15 Python-3.8.10 torch-1.11.0+cpu CPU
Setup complete β
(96 CPUs, 1007.7 GB RAM, 1933.3/3519.3 GB disk)
Benchmarks complete (188.59s)
Format [email protected]:0.95 Inference time (ms)
0 PyTorch 0.3376 56.29
1 TorchScript 0.3376 57.23
2 ONNX 0.3376 49.70
3 OpenVINO 0.3376 16.61
4 TensorRT NaN NaN
5 CoreML NaN NaN
6 TensorFlow SavedModel 0.3376 58.73
7 TensorFlow GraphDef 0.3376 75.64
8 TensorFlow Lite 0.3364 67.63
9 TensorFlow Edge TPU NaN NaN
10 TensorFlow.js NaN NaN |
YOLOv5x v6.1 hyperplane A100
YOLOv5x-7 v6.1 hyperplane A100
|
tdhooghe
pushed a commit
to tdhooghe/yolov5
that referenced
this pull request
Jun 10, 2022
* Add DWConvTranspose2d() module * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add DWConvTranspose2d() module * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * Fix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ctjanuhowski
pushed a commit
to ctjanuhowski/yolov5
that referenced
this pull request
Sep 8, 2022
* Add DWConvTranspose2d() module * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add DWConvTranspose2d() module * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * Fix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add DWConvTranspose2d() module. @sergiossm
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Implementation of Depth-wise Transpose Convolutional layers in both PyTorch and TensorFlow for Ultralytics' YOLOv5.
π Key Changes
DWConvTranspose2d
class inmodels/common.py
which defines a new depth-wise transpose convolution operation in PyTorch.TFDWConvTranspose2d
class inmodels/tf.py
, which is the TensorFlow equivalent of the new depth-wise transpose convolutional layer.models/yolo.py
andmodels/common.py
to include depth-wise transpose convolutional layers in their respective model parsing methods.π― Purpose & Impact