Skip to content

Instantly share code, notes, and snippets.

@hyonschu
Created February 15, 2016 19:25
Show Gist options
  • Save hyonschu/57f9cefda245337d8b5d to your computer and use it in GitHub Desktop.
Save hyonschu/57f9cefda245337d8b5d to your computer and use it in GitHub Desktop.
"""
this was done using make sysinstall on a Retina MacBook Pro 2015
"""
### in ipython ###
args = parser.parse_args()
### output
2016-02-15 10:59:21,891 - neon.backends.nervanacpu - WARNING - Problems inferring BLAS info, CPU performance may be suboptimal
### in ipython notebook ###
import logging
logger = logging.getLogger()
from neon.util.argparser import NeonArgparser
parser = NeonArgparser()
args = parser.parse_args()
### output:
usage: __main__.py [-h] [--version] [-c CONFIG] [-v] [--no_progress_bar]
[-w DATA_DIR] [-e EPOCHS] [-s SAVE_PATH] [--serialize [N]]
[--model_file MODEL_FILE] [-l [LOGFILE]] [-o OUTPUT_FILE]
[-eval EVAL_FREQ] [-H HISTORY] [-b {cpu,gpu,mgpu,argon}]
[-i DEVICE_ID] [-m MAX_DEVICES] [-r SEED] [-u [BITS]]
[-d default datatype] [-z BATCH_SIZE] [--caffe]
[--deterministic]
__main__.py: error: unrecognized arguments: -f /Users/hyon_s_chu/Library/Jupyter/runtime/kernel-85bbeea6-c0b9-439e-bf1d-f74478f4a74e.json
An exception has occurred, use %tb to see the full traceback.
SystemExit: 2
To exit: use 'exit', 'quit', or Ctrl-D.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment