-
Notifications
You must be signed in to change notification settings - Fork 27
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
New frame selection model #195
Merged
Merged
Changes from 28 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
f57d3e8
new model and kwargs
ejm714 7370b7e
WIP load new model, remove old exp
ejm714 81f16fa
support video detection and postprocess as a single array
ejm714 b69c9f0
black
ejm714 a4eea90
fix tests
ejm714 e4858a2
remove old object detection model
ejm714 972da83
fix tests
ejm714 e13997a
use image size from config
ejm714 4b308b1
source for tiny exp
ejm714 38d44e5
first pass at distributed training
ejm714 8ddbc7d
use normal array
ejm714 41ac90d
remove padding and just resize
ejm714 d46bfb4
resize instead of pad
ejm714 1e4ebff
flake8
ejm714 2d6b798
remove extra code
ejm714 0da2b30
three boxes found for dog image
ejm714 2bea54f
cleanup
ejm714 9f6e2cb
fix test
ejm714 ce4bac8
scale and pad
ejm714 ffcb842
fix tests
ejm714 6efe15a
black
ejm714 15fc91d
remove extra code
ejm714 2522ba3
torch.no_grad is super duper important
ejm714 55c11d9
iterate over batches of 64
ejm714 229f1a8
black
ejm714 0bf851d
spacing
ejm714 0d12b9a
decrease batch size so this fits
ed9a8d6
set crf to default
ejm714 6b21005
act2 is now part of bn2
ejm714 b641e0d
update manifest
ejm714 cad32d9
Merge branch 'new-frame-selection-model' of github.com:drivendataorg/…
ejm714 19f9541
set frame batch size as param
ejm714 92b9b07
preallocate
ejm714 16ff182
add api reference for mdlite
ejm714 506e7ad
fix all object detection links
ejm714 9e0d5cd
update manifest
ejm714 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from zamba.object_detection.yolox.yolox_base import YoloXBase | ||
from zamba.object_detection.yolox.yolox_nano import YoloXNano | ||
from zamba.object_detection.yolox.yolox_model import YoloXArgs, YoloXExp, YoloXModel | ||
|
||
__all__ = ["YoloXBase", "YoloXNano"] | ||
__all__ = ["YoloXArgs", "YoloXExp", "YoloXModel"] |
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
zamba/object_detection/yolox/assets/yolox_tiny_640_20220528_model_kwargs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
ejm714 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"num_classes": 1, | ||
"backbone": "yolox-tiny", | ||
"image_size": 640 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
set CRF to default (otherwise test fails due to lossy compression in creating the test video): https://trac.ffmpeg.org/wiki/Encode/H.264