Created
November 16, 2021 22:28
-
-
Save dhruvbird/cb2b88e7adc02427cec139cd56449b6b to your computer and use it in GitHub Desktop.
Get the top level folder name of the 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
elem = zf.infolist()[0] | |
archive_name = elem.filename.split("/")[0] | |
print(archive_name) | |
AddTensorsModel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment