Created
April 6, 2020 06:55
-
-
Save Alakhator/193896e62f0b84f795eeb134dedfab7a to your computer and use it in GitHub Desktop.
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
import os | |
import pathlib | |
if "models" in pathlib.Path.cwd().parts: | |
while "models" in pathlib.Path.cwd().parts: | |
os.chdir('..') | |
elif not pathlib.Path('models').exists(): | |
!git clone --depth 1 https://github.com/tensorflow/models |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment