Skip to content

Instantly share code, notes, and snippets.

@dangpzanco
Last active October 11, 2019 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dangpzanco/ee4ec0722168f96c8c8f1379f14c74fe to your computer and use it in GitHub Desktop.
Save dangpzanco/ee4ec0722168f96c8c8f1379f14c74fe to your computer and use it in GitHub Desktop.
Setup Miniconda on a fresh linux installation.
#!/bin/bash
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
mkdir ~/.conda # https://github.com/ContinuumIO/anaconda-issues/issues/11148
sh Miniconda3-latest-Linux-x86_64.sh
conda update --all -y
conda install -y tensorflow git
git clone https://github.com/tensorflow/benchmarks
cd benchmarks/scripts/tf_cnn_benchmarks
python tf_cnn_benchmarks.py --use_unified_memory --num_intra_threads=12 --num_inter_threads=1 --num_batches=100 --batch_size=2048 --data_format=NHWC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment