Comments (3)
Thanks @wvalcke for reporting this bug. You are correct.
from pytorch-computer-vision-cookbook.
@wvalcke what is exactly the difference between the two functions you are showing. For me they are exactly the same, aren't they?
from pytorch-computer-vision-cookbook.
The Difference is in replacing places of 4 and 5
So in other words, Turn These:
xywh[:,5] = (xyxy[:, 2] - xyxy[:, 0])/img_size
xywh[:,4] = (xyxy[:, 3] - xyxy[:, 1])/img_size
To These:
xywh[:,4] = (xyxy[:, 2] - xyxy[:, 0])/img_size
xywh[:,5] = (xyxy[:, 3] - xyxy[:, 1])/img_size
from pytorch-computer-vision-cookbook.
Related Issues (20)
- Bounding box too small contrary to shown in book HOT 2
- Chapter 6 - CUDA goes out of memory even with batch size 4. HOT 4
- Pirated copy of your book? HOT 3
- chapter2 I have a KeyError: '_labels' HOT 1
- Training yolo model with different image size HOT 2
- Page 174, When i run get_coco_dataset.sh, get_coco_dataset.sh: 29: get_coco_dataset.sh: Syntax error: "(" unexpected HOT 3
- Chapter5 error HOT 2
- Chapter 10 HOT 1
- Chapter 10 Resnt18RNN model accuracy is 0. HOT 2
- Chapter 5 get_yolo_targets
- AMD Grand challenge download forbidden HOT 3
- Chapter6-deployment Error
- NotaDirectoryError
- Error when running the module below
- lacking data HOT 3
- Chapter 5 training code question/error ? HOT 1
- Non max suppression run time issue (Chapter 05) HOT 7
- Chapter 10 Error ( Accuracy is always 18.18% i.e constant) HOT 1
- Chapter 10 Error ( Accuracy is always 0% i.e constant) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch-computer-vision-cookbook.