-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix onnx input ordering, add onnxruntime-gpu timings
- Loading branch information
1 parent
b9198d0
commit b549ab6
Showing
4 changed files
with
54 additions
and
14 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# all models in manually defined array of models | ||
models=( | ||
"sat-1l-sm" | ||
"sat-3l-sm" | ||
"sat-6l-sm" | ||
"sat-9l-sm" | ||
"sat-12l-sm" | ||
"sat-1l" | ||
"sat-3l" | ||
"sat-6l" | ||
"sat-9l" | ||
"sat-12l" | ||
"sat-1l-no-limited-lookahead" | ||
"sat-3l-no-limited-lookahead" | ||
"sat-6l-no-limited-lookahead" | ||
"sat-9l-no-limited-lookahead" | ||
"sat-12l-no-limited-lookahead" | ||
) | ||
|
||
for model in "${models[@]}" | ||
do | ||
python scripts/export_to_onnx_sat.py --model_name_or_path=segment-any-text/$model --output_dir=output_onnx_exports/$model --upload_to_hub=True | ||
done |
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