Created
July 7, 2020 18:51
-
-
Save pmundt/2b23b98dd63f99d876b30e755222ae64 to your computer and use it in GitHub Desktop.
EdgeTPU Device Query Example
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
from edgetpu.basic import edgetpu_utils | |
version = edgetpu_utils.GetRuntimeVersion() | |
print(version) | |
all_edgetpu_paths = edgetpu_utils.ListEdgeTpuPaths(edgetpu_utils.EDGE_TPU_STATE_NONE) | |
print('Available EdgeTPU Device(s):') | |
print(''.join(all_edgetpu_paths)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment