Created
September 7, 2021 16:24
-
-
Save J3698/3cda3da3187dc1717dd2e37cdaaf8b12 to your computer and use it in GitHub Desktop.
Convert OpenVINO to blob
This file contains hidden or 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
import blobconverter | |
def convert_blob(name): | |
xmlfile = os.path.join("./exports", name) + ".xml" | |
binfile = os.path.join("./exports", name) + ".bin" | |
blob_path = blobconverter.from_openvino( | |
xml = xmlfile, | |
bin = binfile, | |
data_type = "FP16", | |
shaves = 5, | |
output_dir = "./exports" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment