Comments (3)
Hi @virilo,
For my setup of 2x 3090 GPUs, it takes around 1 day to train for most models. The trained weights of YOLOv5 backbone are already there.
from vision_toolbox import backbones
model = backbones.darknet_yolov5m(pretrained=True)
model(inputs) # last feature map, stride 32
model.forward_features(inputs) # list of 4 feature maps, stride 4, 8, 16, 32
model.get_out_channels() # channels of output feature maps
If you want to use the weights for object detection with the YOLOv5 repo, you will have to port the weights to match the keys' names.
Cheers
from vision-toolbox.
Thanks a lot @gau-nernst !
I'm feeding it with a batch of one single 512x512 image normalized to [0,1]
Using this input, model(inputs)
returns me a tensor with a size of [1, 768, 16, 16]
How could I get the inference bounding boxes from this output?
Cheers
from vision-toolbox.
Hello @virilo,
I only implement the backbone part of YOLOv5. If you want to do object detection, you have to follow the original YOLOv5 repo.
YOLOv5 does provide pre-trained weights on COCO. You can use them to fine-tune on your dataset.
from vision-toolbox.
Related Issues (8)
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 vision-toolbox.