提交 b59067fa 编写于 作者: I Isaac Yang

Merge branch 'digits-6.0'

......@@ -65,12 +65,6 @@ matrix:
on:
repo: NVIDIA/DIGITS
branch: master
- provider: script # not pypi because travis-ci/dpl#334
skip_cleanup: true
script: ./scripts/travis/pypi-upload.sh
on:
repo: NVIDIA/DIGITS
tags: true
cache:
apt: true
......
......@@ -29,7 +29,7 @@ def load_url_list():
if 'DIGITS_MODEL_STORE_URL' in os.environ:
url_list = os.environ['DIGITS_MODEL_STORE_URL']
else:
url_list = "http://developer.download.nvidia.com/compute/machine-learning/modelstore/5.0"
url_list = "http://developer.download.nvidia.com/compute/machine-learning/modelstore/6.0"
return validate(url_list).split(',')
......
# Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
__version__ = '6.0.0-rc.2'
__version__ = '6.0.0'
......@@ -7,11 +7,11 @@ Users can imports models from Model Store into DIGITS.
## Setting up environment variable
The configuration of Model Store requires one environment variable DIGITS_MODEL_STORE_URL to be set.
NVIDIA plans to publish one public Model Store at http://developer.download.nvidia.com/compute/machine-learning/modelstore/5.0.
NVIDIA plans to publish one public Model Store at http://developer.download.nvidia.com/compute/machine-learning/modelstore/6.0.
You can set up the environment variable with that url before launching DIGITS.
For example, run the following command in your Bash shell.
``` shell
export DIGITS_MODEL_STORE_URL='http://developer.download.nvidia.com/compute/machine-learning/modelstore/5.0'
export DIGITS_MODEL_STORE_URL='http://developer.download.nvidia.com/compute/machine-learning/modelstore/6.0'
```
If multiple model stores are available, specify their url's, separated by the comma (,).
``` shell
......@@ -108,7 +108,7 @@ $ DIGITS_MODEL_STORE_URL=http://localhost:8000 ./digits-devserver
```
To use multiple model stores, just separate the URLs with a comma:
```sh
$ DIGITS_MODEL_STORE_URL="http://developer.download.nvidia.com/compute/machine-learning/modelstore/5.0,http://localhost:8000" ./digits-devserver
$ DIGITS_MODEL_STORE_URL="http://developer.download.nvidia.com/compute/machine-learning/modelstore/6.0,http://localhost:8000" ./digits-devserver
```
> NOTE: If you have installed DIGITS with a deb package, see [UbuntuInstall.md](UbuntuInstall.md) for instructions about how to reconfigure and restart your server.
......
......@@ -15,6 +15,6 @@ lmdb==0.87
h5py>=2.2.1,<=2.6.0
pydot>=1.0.28,<=1.0.29
psutil>=1.2.1,<=3.4.2
matplotlib>=1.3.1,<=1.5.1
matplotlib>=1.3.1,<=1.5.2
scikit-fmm>=0.0.9
python-magic>=0.2
#!/bin/bash
# Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
# NOTE: don't use "set -x" in this script
set -e
LOCAL_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
ROOT_DIR=$( dirname "$(dirname "$LOCAL_DIR")")
cd "$ROOT_DIR"
set +x # double-check that x is unset
cat > ~/.pypirc << EOF
[pypi]
repository = https://pypi.python.org/pypi
username = luke.yeager
password = ${PYPI_PASSWORD}
EOF
twine upload -r pypi dist/*
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册