-
Notifications
You must be signed in to change notification settings - Fork 513
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
Model management #188
Merged
Merged
Model management #188
Changes from 39 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
08d720b
model management setup
dhruv2295 2cacc19
filter list based on type
dhruv2295 57b1655
file download library setup
dhruv2295 146f6af
add pathtype enum to model class
dhruv2295 f53667e
model management model listing from config file
dhruv2295 5bca8f7
style file
dhruv2295 23abf62
model download progress
dhruv2295 f21f3e2
replace path with name for download
dhruv2295 fe4b185
load config from assets if it doesn't exist in app directory and copy…
dhruv2295 57adbbc
add id key to model class
dhruv2295 09e3897
storage permission
dhruv2295 a25caa2
setup file picker and add extension to file name in config
dhruv2295 33320b7
id setting fix for open picker model
dhruv2295 24868fe
model details screen
dhruv2295 280a43d
change submit text to done
dhruv2295 e3cf427
edit model UI overhaul, and model object update on edit
dhruv2295 022360a
remove setting model entries from xml
dhruv2295 b083251
remove unused code in preferences
dhruv2295 9127bf7
model loading doesn't need persmissions. fixed those. update data cha…
dhruv2295 0395aa4
hook new model system with all screens
dhruv2295 409f793
package autopilot model in app for simplicity and code cleanup
dhruv2295 3ede9b9
refactor download gradle file
dhruv2295 62b2651
delete model functionality
dhruv2295 6c54388
edit icon for model management
dhruv2295 5e24e43
style file
dhruv2295 3748696
edit model details on add from storage
dhruv2295 783c623
filter class in edit model screen based on type
dhruv2295 f2d50e8
fix extension in edit model screen
dhruv2295 706bc46
1. copy add model only after user approves it
dhruv2295 84b4a7a
1. model added message fix
dhruv2295 2d330c2
model file path fix after being renamed
dhruv2295 c29b68b
style file
dhruv2295 341dfbe
remove model picker from autopilot screen
dhruv2295 4be8c8b
save selected models
dhruv2295 8d9d61e
move file picker to model management
thias15 d42982c
fix shared prefs for default activity
thias15 7b9a1e5
minor refactor
thias15 7dd37bb
apply style
thias15 55ee345
default activity resolution fix
dhruv2295 69358f5
add some models
thias15 e32b804
rename models for consistency
thias15 1fed90e
fix number of threads displayed
thias15 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[ | ||
{ | ||
"id": 1, | ||
"class": "AUTOPILOT_F", | ||
"type": "AUTOPILOT", | ||
"name": "Autopilot_F.tflite", | ||
"pathType": "ASSET", | ||
"path": "networks/autopilot_float.tflite", | ||
"inputSize": "256x96" | ||
}, | ||
{ | ||
"id": 2, | ||
"class": "MOBILENETV1_1_0_Q", | ||
"type": "DETECTOR", | ||
"name": "MobileNetV1_1_0_Q.tflite", | ||
"pathType": "ASSET", | ||
"path": "networks/mobile_ssd_v1_1.0_quant_coco.tflite", | ||
"inputSize": "300x300" | ||
}, | ||
{ | ||
"id": 3, | ||
"class": "MOBILENETV3_S_Q", | ||
"type": "DETECTOR", | ||
"name": "MobileNetV3_S_Q.tflite", | ||
"pathType": "URL", | ||
"path": "https://storage.googleapis.com/openbot_models/mobile_ssd_v3_small_quant_coco.tflite", | ||
"inputSize": "320x320" | ||
}, | ||
{ | ||
"id": 4, | ||
"class": "YOLOV4", | ||
"type": "DETECTOR", | ||
"name": "YoloV4.tflite", | ||
"pathType": "URL", | ||
"path": "https://storage.googleapis.com/openbot_models/yolo_v4_tiny_float_coco.tflite", | ||
"inputSize": "416x416" | ||
} | ||
] |
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
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.
Would be nice to still maintain the previously selected model.