rocketflash / cap_augmentation Goto Github PK
View Code? Open in Web Editor NEWCut and paste augmentation for object detection and instance segmentation
License: GNU General Public License v3.0
Cut and paste augmentation for object detection and instance segmentation
License: GNU General Public License v3.0
Hi, @RocketFlash ,
Hey, Nice Project. I was wondering about your implementation for generating birds eye view, will it be possible to provide work/links/documents that you referred for this conversion ? which can help me understand your implementation. I tried your code on my camera parameters and I get a black Image.
Regards
hey, first of all, great work, thank you.
I am getting this error;
ValueError: empty range for randrange() (0,0, 0)
which should mean there's a problem with the randint() function, mostly that in randint(a,b), b>a which somehow isn't the case here. can you help me with this?
Hello, I want konw you batch_size and input image_size
Thanks for your great work.
But I encountered some problems when I run the code.
To be specific, there seems to be something wrong about the semantic_mask and the instance_mask.
The code can't draw instance(or semantic) segmentation image correctly.
CAP_augmentation/src/cap_aug.py
Lines 281 to 301 in 5db0599
I can't understand the logic stream in these codes above.
I try to modify them to the following:
image_dst, coords, mask = self.paste_object(image_dst, image_src, x_coord, y_coord, self.random_h_flip, self.random_v_flip)
if coords:
coords_all.append(coords)
x1, y1, x2, y2 = coords
semantic_mask[y1:y2, x1:x2] = mask
instance_mask[y1:y2, x1:x2] = mask*(idx+1)
And it's actually works.
So, I want to know more about the code snippet above. Can it work rensonably?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.