Skip to content

Instantly share code, notes, and snippets.

@dangpzanco
Last active October 11, 2019 16:05
Show Gist options
  • 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