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