Created
November 16, 2021 17:34
-
-
Save dhruvbird/4c844de1fdca7aef5e5bf9f9a53db9c9 to your computer and use it in GitHub Desktop.
View the contents of a PyTorch Lite Model
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
zf = zipfile.ZipFile("AddTensorsModel.ptl") | |
zf.infolist() | |
[<ZipInfo filename='AddTensorsModel/extra/model_info.txt' file_size=70>, | |
<ZipInfo filename='AddTensorsModel/data.pkl' file_size=86>, | |
<ZipInfo filename='AddTensorsModel/code/__torch__.py' compress_type=deflate file_size=247 compress_size=166>, | |
<ZipInfo filename='AddTensorsModel/code/__torch__.py.debug_pkl' file_size=145>, | |
<ZipInfo filename='AddTensorsModel/constants.pkl' file_size=4>, | |
<ZipInfo filename='AddTensorsModel/bytecode.pkl' file_size=452>, | |
<ZipInfo filename='AddTensorsModel/version' file_size=2>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment