Skip to content
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

Add benchmark script for segment anything v2 #22169

Merged
merged 1 commit into from
Sep 21, 2024

Add benchmark script for sam2

d5b9907
Select commit
Loading
Failed to load commit list.
Merged

Add benchmark script for segment anything v2 #22169

Add benchmark script for sam2
d5b9907
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Sep 20, 2024 in 4s

1 configuration not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 1 configuration present on refs/heads/main was not found:

API upload

  • ❓  <default>

New alerts in code changed by this pull request

  • 6 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 191 in onnxruntime/python/tools/transformers/models/sam2/benchmark_sam2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable _image_features_0 is not used.

Check notice on line 191 in onnxruntime/python/tools/transformers/models/sam2/benchmark_sam2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable _image_features_1 is not used.

Check notice on line 191 in onnxruntime/python/tools/transformers/models/sam2/benchmark_sam2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable _image_embeddings is not used.

Check notice on line 215 in onnxruntime/python/tools/transformers/models/sam2/benchmark_sam2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable _masks is not used.

Check notice on line 215 in onnxruntime/python/tools/transformers/models/sam2/benchmark_sam2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable _iou_predictions is not used.

Check notice on line 215 in onnxruntime/python/tools/transformers/models/sam2/benchmark_sam2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable _low_res_masks is not used.