Created
January 27, 2022 05:26
-
-
Save eddyxu/48165e32f69323b6e7b56acc5114b6b4 to your computer and use it in GitHub Desktop.
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
SELECT | |
image_id, | |
image, | |
detection, | |
entropy(detection.scores) as entropy | |
FROM ( | |
SELECT | |
image_id, | |
image, | |
explode(ML_PREDICT(class_scores, image)) AS detection | |
FROM coco | |
) ORDER BY entropy DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment