Last active
December 18, 2018 15:10
-
-
Save jetsonhacks/13e0b9decc1561c80215eb45459ca45e to your computer and use it in GitHub Desktop.
Get the JasonAtNVIDIA JetsonTFBuild scripts without the wheel files
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
#!/bin/bash | |
cd $HOME | |
# Get TensorFlow build scripts from JasonAtNvidia JetsonTFBuild repository | |
git clone --no-checkout https://github.com/JasonAtNvidia/JetsonTFBuild.git | |
cd JetsonTFBuild | |
# Sparse checkout tells git not to checkout the wheels directory | |
# where all of the .whl files are kept | |
git config core.sparsecheckout true | |
# Do not checkout the wheels directory | |
echo '!wheels/*' >> .git/info/sparse-checkout | |
# But checkout everything else | |
echo "/*" >> .git/info/sparse-checkout | |
git checkout | |
echo "JetsonTFBuild checked out" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment