Skip to content

Instantly share code, notes, and snippets.

@dhruvbird
Created November 16, 2021 17:37
Show Gist options
  • Save dhruvbird/31ed8369dce40573398a7007f4dc8fa8 to your computer and use it in GitHub Desktop.
Save dhruvbird/31ed8369dce40573398a7007f4dc8fa8 to your computer and use it in GitHub Desktop.
Use the zipfile module to view the contents of the added metadata file
print(zf.read("AddTensorsModel/extra/model_info.txt"))
b"This model's forward() method accepts 2 tensors, and returns their sum"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment