content stringlengths 1 1.02M ⌀ |
|---|
#!/bin/bash
# Running skydns based on instructions at: https://testdatamanagement.wordpress.com/2015/09/01/running-kubernetes-in-docker-with-dns-on-a-single-node/
PWD=`pwd`
BASEDIR=`readlink -e $(dirname ${0})`
cd ${BASEDIR}
KUBECTL='docker exec hyperkube /hyperkube kubectl'
#RUN_SKYDNS="yes"
RUN_SKYDNS="no"
# DNS... |
#!/bin/bash
# cp -i /etc/kubernetes/admin.conf /root/kube-admin.conf
kubectl --kubeconfig /root/kube-admin.conf $*
|
#!/bin/bash
set -e
if [ "$1" = "/opt/logstash/bin/logstash" ]; then
exec "$1" agent -f /opt/conf/logstash.conf
else
exec "$@"
fi |
#---------#
# Seqdiag #
#---------#
# Watches for files named *.diag in the given directory (recursive) and generates the
# corresponding PNG file.
# $1: the folder to watch (Default: pwd)
# shellcheck disable=SC2034
seqWatch() {
local folder="$1"
[[ -n "$folder" ]] || {
printfc 'Folder not defined, it was se... |
#!/bin/bash
# Author: Eason Yi
# Date: 2017-05-17
pbpaste|awk '!/^[ ]*$/'|pbcopy|pbpaste
|
#!/usr/bin/env bash
PWD_DIR=$(pwd)
function cleanup {
cd "$PWD_DIR"
}
trap cleanup EXIT
GREP=grep
SED=sed
AWK=awk
MAKE=make
# Fixup ancient Bash
# https://unix.stackexchange.com/q/468579/56041
if [[ -z "$BASH_SOURCE" ]]; then
BASH_SOURCE="$0"
fi
# Fixup, Solaris and friends
if [[ (-d /usr/xpg4/bin) ]]; then
S... |
#!/bin/bash
# Copyright 2018 The Kubernetes Authors.
#
# Licensed 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
#
# Unless required by applicable law ... |
#!/bin/sh
prog=wave1D_u0_s.py
grep 'if n == 90:' $prog
if [ $? -ne 0 ]; then
echo "insert if n == 90: st.savefig('frame_C%s.pdf' % C) in $prog"
exit
fi
C_values="1.0 0.95 0.2 1.0015"
for C in $C_values; do
python $prog $C
scitools movie output_file=index.html fps=2 frame*.png
scitools movie encoder=convert output... |
export KUBERNETES_SERVICE_HOST=master.serverless-6e97.openshiftworkshop.com
export KUBERNETES_SERVICE_PORT=443
export KUBERNETES_CLIENT_SERVICEACCOUNT_ROOT=$(pwd)/istio
export COOLSTORE_GW_ENDPOINT=http://istio-ingressgateway-istio-system.apps.serverless-6e97.openshiftworkshop.com
#export COOLSTORE_SCENARIOS_ENDPOINT=h... |
# Combined file for easier scripting
export MQSI_SIGNAL_EXCLUSIONS=11
export MQSI_NO_CACHE_SUPPORT=1
. /opt/ibm/ace-12/server/bin/mqsiprofile
export LD_LIBRARY_PATH=/lib:/opt/ibm/java/jre/lib/amd64/compressedrefs:/opt/ibm/java/jre/lib/amd64:$LD_LIBRARY_PATH
# Not really ibmjava-related, but still needed
export LD_LI... |
#!/bin/bash
#
# This file is open source software, licensed to you under the terms
# of the Apache License, Version 2.0 (the "License"). See the NOTICE file
# distributed with this work for additional information regarding copyright
# ownership. You may not use this file except in compliance with the License.
#
# You... |
#!/usr/bin/env bash
set -e
function check_command() {
if ! command -v $1 >/dev/null; then
echo -e "Install \033[1m$1\033[0m"
exit 1
fi
}
check_command mvn
check_command jq
check_command yq
check_command yarn
check_command npm
check_command docker
if [[ "$#" != "1" ]] || [[ ! "$1" =~ ^(patch|minor|major)$... |
#!/bin/bash
. /HolismHolding/Infra/Scripts/Message.sh
function LinkConnectionStrings()
{
Info "Linking ConnectionStrings.json ...";
sudo ln -s -f /$Organization/Common/ConnectionStrings.json /$Organization/$Repository/ConnectionStrings.json
Divide
} |
#!/usr/bin/env bash
# get run options
while test $# -gt 0; do
case "$1" in
-h|--help)
echo "pac-man$ docker-test - run lambda package"
echo " "
echo "pac-man$ docker-test [options]"
echo " "
echo "options:"
echo "-h, --help show brief help"
echo "-b, --bui... |
printf "testing '$1'\n"
printf "testing python... "
ppp_file=$1
py_output=$(python3 $ppp_file 2>&1)
py_exit_code=$?
if [ "$py_exit_code" -eq "0" ]; then
printf "succeeded\n"
else
printf "FAILED!\n"
fi
printf "testing C++... "
cpp_comp_output=$(g++ -x c++ -std=c++14 $ppp_file -o tmp_bin 2>&1)
cpp_comp_exit_code... |
#!/bin/bash
export HOME=/root/
source $HOME/.bashrc
source $HOME/conda/bin/activate
conda activate tali
cd $CODE_DIR
git pull
pip install -r $CODE_DIR/requirements.txt
source $CODE_DIR/setup_scripts/setup_base_experiment_disk.sh
source $CODE_DIR/setup_scripts/setup_wandb_credentials.sh
cd $CODE_DIR
fuser -k /dev/nv... |
#!/usr/bin/env bash
watch --color --beep 'bash script/ci.sh t'
|
#!/bin/sh
# generate sim input
echo "(1/5) generating simulation input data"
cd tests
./sim_input.py sim_points.txt sim_input.h || exit $?
cd ..
# compile simulation
echo "(2/5) compiling the simulation program"
./compile.sh sim || exit $?
# flash target with simulation program
echo "(3/5) flashing the target"
./fla... |
#!/bin/bash
# ------------------------------------------------------------------------------
# SCM Breeze - Streamline your SCM workflow.
# Copyright 2011 Nathan Broadbent (http://madebynathan.com). All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
# ------------------------------------... |
#!/bin/bash
# Boost for compiling 32-bit binaries on 64-bit:
# ./bootstrap.sh
# ./b2 link=static address-model=32 stage
set -eu
function boost-static
{
sed -i 's/^\(oakfoam_LDADD =\) \(.*\) \($(HOARD_LIB).*\)$/\1 -Wl,-Bstatic \2 -Wl,-Bdynamic -pthread \3/' Makefile
}
VER=`cat config.h | sed -n 's/.*PACKAGE_VER... |
#!/bin/sh
if [ "$USER" != "root" ]
then
echo "This installer must be run with root privileges. Please run sudo $0"
return 1
fi
# Ensure the libraries we use are installed
apt install python3 python3-rpi.gpio python3-requests
addgroup --system doorbot
adduser --system --ingroup gpio doorbot
for N in doorbo... |
#!/bin/bash
for file in *.gv
do
name=${file%%.*}
dot -Tsvg:cairo:cairo $name.gv > ../output/$name.svg
done
|
python transformers/examples/language-modeling/run_language_modeling.py --model_type gpt2 --tokenizer_name model-configs/1024-config --config_name model-configs/1024-config/config.json --train_data_file ../data/wikitext-103-raw/wiki.train.raw --eval_data_file ../data/wikitext-103-raw/wiki.valid.raw --output_dir train-o... |
#!/bin/bash
dieharder -d 206 -g 27 -S 844198761
|
#!/usr/bin/env bash
set -eu
set -o pipefail
EULA=${EULA:-false}
HEAP_SIZE=${HEAP_SIZE:-1024}
JVM_OPTS=${JVM_OPTS:-}
RCON_PASSWORD=${RCON_PASSWORD:-}
SERVER_OPTS=${SERVER_OPTS:-}
cd $(pwd)/config
if [ $(ls -1 ../overrides | wc -l) != "0" ]; then
echo "Copying configuration overrides..."
for file in ../overri... |
#!/usr/bin/env bash
export DOKKU_QUIET_OUTPUT=1
export DOKKU_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/dokku"
export DOKKU_VERSION=${DOKKU_VERSION:-"master"}
export PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/bin:$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/dokku:$PATH"
export PLUGIN_COMMAND_PREFIX="... |
#!/bin/bash
grunt
rm test/res/js/pagenav.js
cp pagenav.js test/res/js/pagenav.js
cp pagenav.min.js test/res/js/pagenav.min.js |
#!/bin/bash
printCommandHelp() {
echo "Command Help:"
echo -e "source patchPeerDeployment.sh <peerSubscriptionID> <peerResourceGroup> <peerAKSClusterName>"
echo
echo "Arguments:"
echo -e "\tpeerSubscriptionID : Subscription ID of AKS-HLF peer template deployment"
echo -e "\tpeerResourceGroup... |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... |
. inc/common.sh
if ! $XB_BIN --help 2>&1 | grep -q debug-sync; then
echo "Requires --debug-sync support" > $SKIPPED_REASON
exit $SKIPPED_EXIT_CODE
fi
start_server --innodb_log_file_size=1M --innodb_thread_concurrency=1 \
--innodb_log_buffer_size=1M
load_dbase_schema sakila
load_dbase_data sakila
mkdir $t... |
#!/bin/sh
#
# Vivado(TM)
# runme.sh: a Vivado-generated Runs Script for UNIX
# Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.
#
if [ -z "$PATH" ]; then
PATH=/home/varun/tools/XilinX/Vitis/2020.2/bin:/home/varun/tools/XilinX/Vivado/2020.2/ids_lite/ISE/bin/lin64:/home/varun/tools/XilinX/Vivado/2020.2/bin
els... |
#!/bin/bash
if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then
export DISABLE_AUTOBREW=1
$R CMD INSTALL --build .
else
mkdir -p $PREFIX/lib/R/library/rgbif
mv * $PREFIX/lib/R/library/rgbif
if [[ $target_platfor... |
#!/bin/sh
# Script which does some configuration of the system for laptops/desktops
test -e /sbin/rc-update
use_openrc=$?
setupZFSArc(){
# Tune ZFS ARC
###############################################
grep -q "vfs.zfs.arc_max=" "/boot/loader.conf"
if [ $? -eq 0 ] ; then
return 0 #Do not overwrite current ... |
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
# 2) Add t... |
#!/bin/bash
#Copyright (c) 2016, Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Karrenbauer Oliver, Marek Felix, Meissner Pascal, Stroh Daniel, Trautmann Jeremias
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following condi... |
#!/bin/sh
docker push robodomo/icomfort-microservice
|
#!/usr/bin/env bash
set -e
set -o pipefail
# vars
PYTHON=python
PIP=pip
VENV_NAME=
# process options
while getopts "h?3e:" opt; do
case "$opt" in
h|\?)
echo "install.sh parameters"
echo ""
echo "-3 install for Python 3.3+"
echo "-e [environment name] instal... |
#!/bin/bash
echo ""
echo "Applying migration AssociatedEnterpriseCheckYourAnswers"
echo "Adding routes to conf/app.routes"
echo "" >> ../conf/app.routes
echo "GET /associatedEnterpriseCheckYourAnswers controllers.AssociatedEnterpriseCheckYourAnswersController.onPageLoad()" >> ../conf/app.... |
rsync -avzP --update * ericmjl@rous:~/github/protein-convolutional-nets --exclude-from rsync_exclude.txt
rsync -avzP --update ericmjl@rous:~/github/protein-convolutional-nets/* ./ --exclude-from rsync_exclude.txt
|
#!/bin/bash
# LICENSE UPL 1.0
#
# Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved.
#
# Since: January, 2018
# Author: sanjay.singh@oracle.com, paramdeep.saini@oracle.com
# Description: Add a Grid node and add Oracle Database instance based on following parameters:
# $PUBLIC_HOSTNAME
# ... |
#!/bin/sh
if [ $# -ne 2 ]; then
echo "invalid parameter"
exit 1
fi
DATE=$1
GROUP_ID=$2
which gdate > /dev/null 2>&1
if [ $? -eq 1 ]; then
echo "not found gdate command"
exit 1
fi
gdate +%Y%m%d --date "${DATE}"
if [ $? -eq 1 ]; then
echo "invalid date: ${DATE}"
exit 1
fi
API_URL="http://loca... |
python transformers/examples/language-modeling/run_language_modeling.py --model_name_or_path train-outputs/1024+0+512-STWS/model --tokenizer_name model-configs/1536-config --eval_data_file ../data/wikitext-103-raw/wiki.valid.raw --output_dir eval-outputs/1024+0+512-STWS/512+512+512-HPMI-256 --do_eval --per_device_eval_... |
#!/usr/bin/env bash
# Copyright 2015 Cloudera Inc.
#
# Licensed 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
#
# Unless required by applicable law or agre... |
#!/bin/ash -xe
get_from_event() {
jq -r "$1" "${GITHUB_EVENT_PATH}"
}
if jq --exit-status '.inputs.deployment_id' "$GITHUB_EVENT_PATH" >/dev/null; then
MONOPOLIS_URL="https://github-api.monopolis.cloud/rollout/start/$(get_from_event '.repository.full_name')/$(get_from_event '.inputs.deployment_id')"
echo ::set-... |
#!/usr/bin/env bash
#shellcheck disable=SC2128
#shellcheck source=/dev/null
set -x
source ../dapp-test-common.sh
source "../x2ethereum/publicTest.sh"
sendAddress="12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
sendPriKey="0x4257d8692ef7fe13c68b65d6a52f03933db2fa5ce8faf210b5b8b80c721ced01"
MAIN_HTTP=""
chain33SenderAddr... |
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/set-kubeconfig.sh
open http://127.0.0.1:4040
kubectl port-forward -n kube-system "$(kubectl get -n kube-system pod --selector=weave-scope-component=app -o jsonpath='{.items..metadata.name}')" 4040
|
setup_emsdk()
{
if [ ! -d "./tools/emsdk" ]
then
if [ ! -d "./tools" ]
then
mkdir ./tools
fi
cd ./tools
git clone https://github.com/emscripten-core/emsdk.git
cd ./emsdk
git pull
./emsdk install latest
./emsdk... |
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks=16
#SBATCH --mem=8gb
module load fastqc
module load trimgalore
module load samtools
module load bowtie2
module load bedtools
### Fastqc for untrimmed files
cd /gpfs/group/pipkin/hdiao/T_Cell_ChIP/0_fastq
fastq_untrimmed_1=SRR1731132_1.fastq
fastqc $fastq_untrimmed_1
###... |
#!/bin/bash -x
# Exit on error
set -e
# Test code goes here
rm -rf valid_lowisbet valid_lowisbet_?.log
mkdir -p valid_lowisbet
extra_opts="--no-shuffle --seed 1111 --maxi-batch 1 --maxi-batch-sort none"
extra_opts="$extra_opts --dim-emb 64 --dim-rnn 128 --mini-batch 32"
extra_opts="$extra_opts --cost-type ce-mean --... |
#!/usr/bin/env bash
# --------------------------------------------------------------------------
# Copyright 2013-2016 Sam Deane, Elegant Chaos. All rights reserved.
# This source code is distributed under the terms of Elegant Chaos's
# liberal license: http://www.elegantchaos.com/license/liberal
# ----------------... |
#!/bin/bash
CUDA_VISIBLE_DEVICES="0" python runner.py
|
#!/bin/bash
rm -rf dist || exit 0;
mkdir dist;
npm run build
cp ./ops/CNAME ./dist
( cd dist
git init
git add .
git commit -m "Deployed to Github Pages"
git push --force git@github.com:anvaka/npmgraph.an.git master:gh-pages
)
|
find . -name '*.go' -exec sed -i 's?k8s.io/kubernetes/plugin/pkg/scheduler?github.com/KubeDevice/kube-scheduler/pkg?g' {} +
|
#!/usr/bin/env bash
#
# MetaCall Configuration Environment Bash Script by Parra Studios
# Configure and install MetaCall environment script utility.
#
# Copyright (C) 2016 - 2021 Vicente Eduardo Ferrer Garcia <vic798@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this ... |
#
# Copyright (C) 2013 Julian Atienza Herrero <j.atienza at har.mrc.ac.uk>
#
# MEDICAL RESEARCH COUNCIL UK MRC
#
# Harwell Mammalian Genetics Unit
#
# http://www.har.mrc.ac.uk
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may o... |
#!/bin/sh
#NEWROOT=:pserver:$(id -un)@cvs.bh.exept.de:/cvs/stx
if [ -z "$1" ]; then
echo "Common CVS roots:"
# Do not show these to other people, these are useless for them
# anyway
if [ "$USER" = "jv" ]; then
echo " :ext:vrany@exeptn:/cvs/stx "
echo
echo " :ext:vrany@dialin.exept.de:/cvs/stx ... |
#!/bin/bash
REGEX="https:\/\/[a-z]{7}.*.iso"
Link=$(wget -qO- www.debian.org | grep -Eo $REGEX)
echo $Link
wget $Link -P ~/
#wget -qO- www.debian.org |
#grep -Eoi '<a [^>]+>' |
#grep -Eo 'href="[^\"]+"' |
#grep -Eo '(http|https)://[^/"]+'
|
#!/bin/bash
kubectl get secret --namespace monitoring grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
export POD_NAME=$(kubectl get pods --namespace monitoring -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=grafana" -o jsonpath="{.items[0].metadata.name}")
kubectl --namespace moni... |
data_directory=../../model_training_data/Fine-ET/RS_NDS_from_2
ckpt_directory=$data_directory/ckpts
dataset_file=../../datasets/sampled_datasets/RS_NDS_from_2.json.gz
mkdir -p $data_directory
mkdir -p $ckpt_directory
# Model parameters
rnn_hidden_neurons=200
keep_prob=0.5
learning_rate=0.002
batch_size=500
char_embe... |
#!/bin/bash
set -e
BLUE='\033[1;34m'
NC='\033[0m'
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
python_dir="$script_dir/occlum_instance/image/opt/python-occlum"
cd occlum_instance && rm -rf image
copy_bom -f ../pytorch.yaml --root image --include-dir /opt/occlum/etc/template
if [ !... |
# set the android paths globally
export ANDROID_HOME="/opt/android-sdk-linux"
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/build-tools/24.0.0
|
#!/bin/bash
# Hi!
# If you're reading this, you're probably interested in what's
# going on within this script. We've provided what we hope are useful
# comments inline, as well as color-coded relevant shell output.
# We hope it's useful for you, but if you have any questions or suggestions
# please open an issue on ... |
#!/bin/bash
set -e
source $(dirname $0)/lib.sh
req_env_var "
USER $USER
HOME $HOME
ENVLIB $ENVLIB
SCRIPT_BASE $SCRIPT_BASE
CIRRUS_REPO_NAME $CIRRUS_REPO_NAME
CIRRUS_CHANGE_IN_REPO $CIRRUS_CHANGE_IN_REPO
CIRRUS_WORKING_DIR $CIRRUS_WORKING_DIR
"
[[ "$SHELL" =~ "bash" ]] || chsh -s /bin/bash... |
export MALI_LIBS=/scratch/ZCU102_PL/ZynqMP/build/tmp/sysroots/plnx_aarch64/usr/lib
export MALI_INCLUDE=/scratch/ZCU102_PL/ZynqMP/build/tmp/sysroots/plnx_aarch64/usr/include
export ARM_CROSS_COMPILER_PATH=/proj/petalinux/petalinux-v2017.1_daily_latest/petalinux-v2017.1-final/tools/linux-i386/aarch64-linux-gnu/bin/aarch6... |
#!/bin/bash -ve
./node_modules/.bin/marionette-mocha \
--host-log stdout \
--host $(pwd)/node_modules/graphene-marionette-runner/host/index.js \
--runtime ./graphene/Contents/MacOS/graphene \
--start-manifest http://localhost:6060/manifest.webapp \
$(find test -name '*_test.js') $@;
|
#!/bin/bash
#
# 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");... |
#!/bin/sh
echo "/patched-lib" > /etc/ld.so.conf.d/000-patched-lib.conf && \
mkdir -p "/patched-lib" && \
PATCH_OUTPUT_DIR=/patched-lib /usr/local/bin/patch.sh && \
cd /patched-lib && \
for f in * ; do
suffix="${f##*.so}"
name="$(basename "$f" "$suffix")"
[ -h "$name" ] || ln -sf "$f" "$name"
[ -h "$nam... |
export NGPUS=8
python3 -m torch.distributed.launch --nproc_per_node=$NGPUS tools/train_net.py --config-file configs/e2e_faster_rcnn_DETNAS_COCO_FPN_300M_search.yaml OUTPUT_DIR models/DETNAS_COCO_FPN_300M_1x_search
|
# === === === === ===
# Capture stdout and stderr to log files
## I don't totally understand this line. Sourced from https://stackoverflow.com/a/2364896/100596 as of 2020-07-05:
exec 3>&1 4>&2
## Redirect stdout to log
exec 1>/tmp/dotfiles-install-stdout.log
## Redirect stderr to log
exec 2>/tmp/dotfiles-install-stde... |
#!/usr/bin/env bash
DIR="$(cd "$(dirname "$0")" >/dev/null 2>&1 && pwd)"
GO_SRC="$DIR/.."
rm -rf "$GO_SRC/.go"
|
#!/bin/bash
# Get script arguments
PARAMS=""
while (("$#")); do
[[ $1 == --*=* ]] && set -- "${1%%=*}" "${1#*=}" "${@:2}"
case "$1" in
--organization-url)
if [ -n "$2" ] && [ "${2:0:1}" != "-" ]; then
organization_url=$2
shift 2
else
echo "Error: Argument... |
export DETECTRON2_DATASETS=~/datasets
python train_detectron.py --num-gpus 2 \
--config-file ./detectron_configs/COCO-Keypoints/keypoint_rcnn_resnet50_triplet_attention_FPN_1x.yaml \
#--eval-only MODEL.WEIGHTS ./output/model_final.pth
|
#!/bin/bash
# Copyright 2021 VMware Tanzu Community Edition contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
set -e
MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
TCE_REPO_PATH=${MY_DIR}/../../../../..
TCE_VERSION="v0.9.1"
echo "Installing TCE ${TCE_VERSION}"
BU... |
#!/bin/bash
./configure --prefix=${PREFIX}
make -j${CPU_COUNT}
make check -j${CPU_COUNT}
make install -j${CPU_COUNT}
|
#!/bin/sh
# This script requires google's cloud_sql_proxy on your PATH. One way to set this up:
# $ brew cask install google-cloud-sdk
# $ gcloud components install cloud_sql_proxy
# $ PATH="$PATH:/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin"
# OR
# $ ln -s /usr/local/Caskroom/google-cloud-sdk/late... |
#!/bin/bash
exec /usr/local/bin/preoomkiller &
while :; do sleep 1; done
|
#!/bin/bash
# Copyright 2017-2020 Authors of Cilium
# SPDX-License-Identifier: Apache-2.0
set -o errexit
set -o pipefail
set -o nounset
MAKER_IMAGE="${MAKER_IMAGE:-docker.io/cilium/image-maker:3e2ea4f151593908c362307a1de22e68610d955c}"
if [ "$#" -ne 1 ] ; then
echo "$0 supports exactly 1 argument"
exit 1
fi
ro... |
#!/usr/bin/env bash
# Copyright 2017 Hainan Xu
# Apache 2.0
# This script rescores lattices with KALDI RNNLM trained on reversed text.
# The input directory should already be rescored with a forward RNNLM, preferably
# with the pruned algorithm, since smaller lattices make rescoring much faster.
# An example of the... |
End of preview. Expand in Data Studio
This dataset is a collection of bash programs from various GitHub repositories and open source projects. The dataset might contain harmful code.
- Downloads last month
- 50