Skip to content

Instantly share code, notes, and snippets.

@dangpzanco
Last active Oct 11, 2019
Embed
What would you like to do?
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