Comments (3)
Hello @Whisper94 ,
I would like to apologize for the un-updated colab notebooks that have dead links and old openvino versions. We actually just updated all the notebooks in this PR #8. I believe Lukasz tested all the notebooks so they are working as expected and wrote instructions on how to run the blobs on the depthAI. You should check the PR branch for more info and follow those notebooks. I am sorry about the inconvenience.
Thanks, Erik
from depthai-ml-training.
Thank you Erik for fast answer.
I don't know what I did wrong but actual I'm confused because everything what I tried, every tutorial what I read has no success. Also default model tiny-yolo-v3 has NO detection but in console is another output. Yesterday I've tried it with blob converter but the same as earlier -> nothing happens. OpenVINO version is probably doesn't matter if they are match with blob file and script.
If I try my model with python depthai_demo.py -cnn custom_model_folder_under_nn --cnn_input_size 608x608
there is no results but this is output from console:
my converted blob files looks like "yolov4-tiny_custom_openvino_2021.3_5shave.blob". From tutorials I've changed JSON file, renamed it to like a blob file and put them in the same folder:
`{
"nn_config":
{
"output_format" : "detection",
"NN_family" : "YOLO",
"input_size": "608x608",
"NN_specific_metadata" :
{
"classes" : 2,
"coordinates" : 4,
"anchors" : [10,14, 23,27, 37,58, 81,82, 135,169, 344,319],
"anchor_masks" :
{
"side26" : [1,2,3],
"side13" : [3,4,5]
},
"iou_threshold" : 0.5,
"confidence_threshold" : 0.1
}
},
"mappings":
{
"labels":
[
"1",
"2"
]
}
}
`
however it doesn't work and I'm at the moment frustrated that simple things don't work as a should! Also the default version looks like with a bug or issue with my device?
with default parameters from tiny-yolo-v3 python depthai_demo.py -cnn tiny-yolo-v3
there is something with wrong CNN input size. But I don't know which HxW it was trained and where is it stored
I find ever different versions:
https://docs.luxonis.com/en/latest/pages/tutorials/first_steps/#using-custom-models
https://blog.roboflow.com/deploy-luxonis-oak/
https://colab.research.google.com/github/luxonis/depthai-ml-training/blob/use_blobconverter/colab-notebooks/Easy_TinyYOLOv4_Object_Detector_Training_on_Custom_Data.ipynb
https://colab.research.google.com/github/luxonis/depthai-ml-training/blob/master/colab-notebooks/Easy_TinyYOLOv4_Object_Detector_Training_on_Custom_Data.ipynb
Could you tell me what is wrong or provide me how can tell me it? Probably you need more information, let me know. At the moment I was only trying with default setting to be sure that everything works well but it isn't...
EDIT: I've changed config (json) file from default tiny-yolo with correct nn size 416x416 and it works. But my custom model can not detect anything although in colab version it works fine. I've renamed my json file accroding folder name
with python depthai_demo.py -cnn custom_model_folder_under_nn
with blob file and custom_model_folder_under_nn.json there is no output (no detections, nothing in console). Now I don't know what is wrong. Probably 608x608 nn-size is to large for OAK-D WiFi although there are ~7-8FPS
from depthai-ml-training.
Hello @Whisper94,
I apologize for your dissatisfaction with the UX of the DepthAI. We are actively trying to improve it and resolve all the bugs as fast as possible. One example, as you mentioned, is the incorrect tiny-yolo-v3
size in the depthai_demo.py
. We just merged the PR (luxonis/depthai#392) so it is fixed now.
For training, we advise you to use Roboflow, as it removed tons of complicated steps - steps where one can lose a lot of time, especially if it's the first time training. They even have an article about deploying the model to OAK-D, as you pointed out.
Our training examples are for users that want more customizability. And we have just updated all the notebooks with the PR I mentioned above.
If something isn't working as expected in the depthai
repo, you can either open an issue on that repo or ask for help on our discord server - for an easier communication.
Thanks, Erik
from depthai-ml-training.
Related Issues (20)
- yolov7 custom tiny model: X_LINK_ERROR | side values? | poor detection with OAK-D HOT 7
- Google Colab MobilenetSSD training does not use GPU HOT 2
- tensorflow 1.x not working anymore HOT 6
- YoloV7 Training Colab Error: AttributeError: module 'numpy' has no attribute 'int'` HOT 3
- Several Dependency Conflicts on YOLOv6n training notebook. HOT 4
- Converting a SavedModel Tensorflow Format to Luxonis Blob format HOT 2
- YoloV6 pt to blob converter tool not working HOT 4
- converting deeplabv3 graph HOT 3
- Bad results with YoloV6N blob model HOT 8
- Yolov7 issue HOT 4
- loc("Power_3939"): error: SCALARS are not supported HOT 9
- Error when running main.py device-decoding HOT 4
- test
- YOLOv6 notebook not working due to new release HOT 33
- Conversion issue HOT 13
- Yolov7 issue with people count
- Yolov7 issue with people count HOT 1
- mobilenetssd for OAK-1 HOT 3
- tiny yolo and yolo not performing well on OAK-D stereocamera HOT 5
- Add postprocessing in OAK-d-PoE HOT 5
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 depthai-ml-training.