Comments (3)
The composition of masks of the objects, which is generated during the script, can be used for instance segmentation. Just save the composition with masks into png-file. Also save classes of the objects on the composition into txt-file.
You can use the saved png- and txt-files for training an instance segmentation model using this tutorial: https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html
Example
Lets suppose that the saved png-file contains pixels with values 0, 1, 2, 3, 4, 5. Pixels equal to 0 are related to background, pixels equal to other numbers are related to the objects. So, we have 5 objects on the image.
Lets suppose that the saved txt-file contains classes 2, 1, 1, 2, 2 (order matters!). It means that the object 1 is related to class 2, object 2 is related to class 1, object 3 is related to class 1, object 4 is related to class 2, object 5 is related to class 2.
Class 1 could be a cat, and class 2 could be a dog.
from synthetic-dataset-object-detection.
Thank you very much for your guidance. I will try my best
from synthetic-dataset-object-detection.
update for yolov7? add video?
from synthetic-dataset-object-detection.
Related Issues (2)
- Sorted bg_noise_imgs 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 synthetic-dataset-object-detection.