7 Star 22 Fork 9

NVIDIA_Developer_Community/DIGITS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
digits-test 677 Bytes
一键复制 编辑 原始数据 按行查看 历史
Luke Yeager 提交于 2017-01-18 02:48 +08:00 . Update copyright year for 2017
#!/bin/bash
# Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
set -e
function set_exe {
# Sets a global variable to the location of an executable
# Arguments:
# $1 -- the variable name
# $2 -- the executable
# Check to make sure the executable exists
hash $2 2>/dev/null || { echo >&2 "ERROR: \"$2\" executable not found!"; exit 1; }
# Print the path to the executable
local __resultvar=$1
eval $__resultvar="'$(command -v $2)'"
}
# Some hacking necessary to respect virtualenv installations
set_exe PYTHON_EXE python2
set_exe NOSE_EXE nosetests
DIGITS_MODE_TEST=1 $PYTHON_EXE $NOSE_EXE \
--no-path-adjustment $@
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/NVIDIA_Developer_Community/DIGITS.git
git@gitee.com:NVIDIA_Developer_Community/DIGITS.git
NVIDIA_Developer_Community
DIGITS
DIGITS
master

搜索帮助