Comments (1)
I think the error is due to the fact that previous transformations have produced an image that as no bounding boxes in it (the object is now out of the image or truncated at the point the bbox
has been deleted). So the get_corners
function returns an empty array and in the rotate_box
function there is no check for an empty set of bboxes
.
A solution I found avoiding to edit the code is to put RandomRotate
as the first transformation in the sequence.
from dataaugmentationforobjectdetection.
Related Issues (20)
- Crop Video frames HOT 1
- How To Contribute HOT 1
- Please provide licence details
- I encountered a problem about rgb HOT 1
- About black region left in rotation/translation
- Some transforms could cut boxes or even delete them
- Typo Error: 'Tranformed`, should be Transformed
- Difference between resizing and scaling? HOT 2
- will i get bounding box for each augmentation ?
- Convert txt to pkl HOT 2
- IndexError: index 0 is out of bounds for axis 0 with size 0 HOT 2
- Random copy-paste
- Rotation scaling difference HOT 1
- Rotation and Shearing giving faulty results HOT 4
- RandomHSV function
- Will there be a new version for polygon bounding boxes ?
- Numpy divide error in RandomRotate and RandomShear HOT 1
- Hope to add Crop or RandomCrop operation
- Bug in clip_box function 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 dataaugmentationforobjectdetection.