-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Create RetinaNet object detection guide #2069
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
base: master
Are you sure you want to change the base?
Conversation
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.
Thanks for the PR @sachinprasadhs - since this is a guide - we should have more detailed explanations that would help users understand our framework better. Lets add more of that.
Thanks!
object_detector.summary() | ||
|
||
""" | ||
## Preprocessing Layers |
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.
add a single line or a few lines of description of what this section will be about
|
||
""" | ||
### Predict and Visualize | ||
Next, let's get some predictions from our object detector: |
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.
add a bit more of description on what you will be doing here
backbones here https://keras.io/keras_hub/presets/ | ||
""" | ||
|
||
object_detector = keras_hub.models.ImageObjectDetector.from_preset( |
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.
provide just the preset name here - `keras_hub.models.ImageObjectDetector.from_preset('retinanet_resnet50_fpn_coco')
) | ||
|
||
""" | ||
### Prediction on evaluation data |
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.
In general for all the heading please add more description.
rows=2, | ||
cols=2, | ||
class_mapping=INDEX_TO_CLASS, | ||
) |
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.
write conclusion, point to further resource links to explore etc
No description provided.