-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object detection workflow #735
Object detection workflow #735
Conversation
154a8dc
to
6f97b92
Compare
I removed |
Error handling for creating KITTI datasets is not good. Exceptions raised while the task is running should be caught and logged as errors, like so: Also, I can't see any results on the |
I actually had that but the problem was I was missing something like this: I have updated the "data extension" framework with better error handling (including those that occur in reader threads). So you would now get something like: |
c15d6c0
to
8db89c3
Compare
aab27d4
to
a7a8029
Compare
Updated to remove dependency on OpenCV bindings for Python. |
@@ -0,0 +1,284 @@ | |||
#!/usr/bin/env python2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this script really executable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops. I'll remove that line.
Woohoo I just successfully completed the whole object detection workflow! |
Excellent! Which SHA1 did you use (there's been quite a few revisions so I'd like to make sure you've been using one of the last ones). |
The latest for this branch. I think we need to figure out how to add DetectNet as a "default/standard/zoo" network before this makes sense to merge, maybe? Also, maybe we should enable the gradient thing? It could be a cool walkthrough demo for DIGITS. |
To be used with networks like Detectnet
a7a8029
to
2613082
Compare
Object detection workflow
Planning to split this into small pull requests. This is the complete object detection work flow.
This includes frameworks for data and view extensions.
The object detection data extension creates datasets from object detection datasets. On the main page, select
![select-object-detection](https://cloud.githubusercontent.com/assets/3889770/15430910/aa23d694-1ea7-11e6-8b27-cc0455f3b200.png)
New dataset > Images > Object Detection
The dataset is configured with a form:
![object-detection-form](https://cloud.githubusercontent.com/assets/3889770/15430878/90207694-1ea7-11e6-8506-969109558dd2.png)
To create the model: on the main page, select
New Model > Images > Object Detection
.After the model is trained, on the model page, select the bounding box view extension:
![select-bounding-box-view](https://cloud.githubusercontent.com/assets/3889770/15247767/86a6463e-1916-11e6-98de-71ddea205734.png)
Then proceed to inference as usual. If you do
![detector-inference](https://cloud.githubusercontent.com/assets/3889770/15247801/c97fc552-1916-11e6-8d57-2d858faf29d8.png)
Test Many
, you may see something like:This includes as a bonus:- an image gradient work flow (the data extension creates datasets as in the image regression example) and the view extension displays arrows that point to the "light" in the images,- an image processing work flow (the data extension creates datasets with images as inputs/outputs - useful for FCNs)Example of gradient visualization:
![gradient-config](https://cloud.githubusercontent.com/assets/3889770/15248216/4c42ad2c-1919-11e6-9bc6-740ce38ba840.png)