Skip to content

Instantly share code, notes, and snippets.

@rpsene
Created April 23, 2019 13:40
Show Gist options
  • Save rpsene/7cb8a5c765de65fac82d100b17226130 to your computer and use it in GitHub Desktop.
Save rpsene/7cb8a5c765de65fac82d100b17226130 to your computer and use it in GitHub Desktop.
OpenPower Hands-on
1 - nvidia-docker run -it --env LICENSE=yes -p <PORT>:<PORT>/tcp ibmcom/powerai:1.6.0.all bash
2 - python -c "import torch;print(torch.__version__)"
3 - python -c "import tensorflow as tf;print(tf.__version__)"
4 - conda install -y git jupyter matplotlib
5 - git clone https://github.com/pvaneck/tf_mnist
6 - cd tf_mnist
10 - python ./train_basic_model.py
11 - python ./classify_mnist.py sample-images/img_1.jpg
12 - jupyter notebook --generate-config
13 - jupyter notebook password
14 - jupyter notebook --ip=0.0.0.0 --port=<PORT> --allow-root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment