wangsssky / yolo_underwater Goto Github PK
View Code? Open in Web Editor NEWULO, YOLO, YOLO-v3, YOLO-v4, YOLO-Nano
ULO, YOLO, YOLO-v3, YOLO-v4, YOLO-Nano
Hi, I've been playing around with your code. Unfortunately the function build_targets which you use in each YOLOLayer sometimes goes out of bounds when building the obj_mask. It all starts from this line, apparently:
Convert to position relative to box
target_boxes = target[:, 2:6] * nG
If I understood your intention correcly, you are indexing each box but the indexing appears to be non-zero based. That's why at this line, at Tensor position 2 it might go out of bounds because gj = nG = obj_mask.shape[2]
obj_mask[b, best_n, gj, gi] = 1
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.