Run with Python:
pip-2.7 install cffi PYTHON=python2.7 sh go.sh
Run with PyPy:
pip-pypy install cffi PYTHON=pypy sh go.sh
import numpy as np | |
import autogluon as ag | |
import ray | |
from ray import tune | |
import mxnet as mx | |
from mxnet.gluon import nn, Trainer | |
from mxnet.util import use_np | |
def get_mxnet_visible_gpus(): | |
"""Get the number of GPUs that are visible to MXNet. |
import numpy as np | |
import autogluon as ag | |
import mxnet as mx | |
from mxnet.gluon import nn, Trainer | |
from mxnet.util import use_np | |
def get_mxnet_visible_gpus(): | |
"""Get the number of GPUs that are visible to MXNet. | |
Returns |
# Licensed to the Apache Software Foundation (ASF) under one | |
# or more contributor license agreements. See the NOTICE file | |
# distributed with this work for additional information | |
# regarding copyright ownership. The ASF licenses this file | |
# to you under the Apache License, Version 2.0 (the | |
# "License"); you may not use this file except in compliance | |
# with the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
{0: u'__background__', | |
1: u'person', | |
2: u'bicycle', | |
3: u'car', | |
4: u'motorcycle', | |
5: u'airplane', | |
6: u'bus', | |
7: u'train', | |
8: u'truck', | |
9: u'boat', |
#!/bin/bash | |
# example use: | |
# [~/gitrepos/dkmehrmann.github.io/_ipynb]$ ../scripts/convert.sh google_maps.ipynb | |
# | |
BUILD_DIR="/home/andrew/gitrepos/dkmehrmann.github.io/_ipynb/" | |
POST_DIR="/home/andrew/gitrepos/dkmehrmann.github.io/_posts/" | |
# use nbconvert on the file |
Run with Python:
pip-2.7 install cffi PYTHON=python2.7 sh go.sh
Run with PyPy:
pip-pypy install cffi PYTHON=pypy sh go.sh
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |