sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
941179ecb7e7680e8c2c7cb2841b3d38ac44cf7416179e0c2d4e8691b4e57a3f
Shell
2,492
55
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
a72f50c0de61ba11d5df6fc41c44c295558079271a6ee596403c3dd1e40bf3a4
Shell
2,493
87
#!/usr/bin/env bash # Copyright 2015, Mitsubishi Electric Research Laboratories, MERL (Author: Shinji Watanabe) . ./cmd.sh . ./path.sh # Config: cmd=run.pl bmf="1 2 3 4" . utils/parse_options.sh || exit 1; if [ $# != 3 ]; then echo "Wrong #arguments ($#, expected 3)" echo "Usage: local/run_beamformit.sh [opt...
faff93dd9f37098fe4869302691bca1416b2b74947f2a364e3be213d44a0626d
Shell
2,493
67
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
225d813c881539b0461dff909a9776da2ce3c32304ac65a23e9247930286d79f
Shell
2,497
102
#!/usr/bin/env bash # Copyright 2014 Johns Hopkins University (author: Daniel Povey) # Copyright 2016 Tsinghua University (author: Dong Wang) # Apache 2.0 # Adapted from librispeech recipe local/download_and_untar.sh remove_archive=false if [ "$1" == --remove-archive ]; then remove_archive=true shift fi ...
2bee6d1616abb5733682189aaf63496a77c697e44c212ccbf324cb56ecd6051c
Shell
2,497
92
#!/bin/bash # Copyright 2020 Huawei Technologies Co., Ltd # # 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 ...
241edaab6552fe713a1d7daad6b83379c5b748aa147134b255188a6c94cb567d
Shell
2,500
89
#! /bin/bash # Copyright Johns Hopkins University # 2019 Fei Wu # Prepares cmu_kids. # Should be run from egs/cmu_cslu_kids set -eu corpus=cmu_kids/kids data=data/data_cmu test_percentage=30 . ./path.sh . ./utils/parse_options.sh total_cnt=0 test_cnt=0 train_cnt=0 for d in $data/train $data/test; do mkdir ...
2758bf9cebf4dee3b9e9cf5f71bd4bb989ce673fe5a3dd03314b2066b4cec81a
Shell
2,502
86
#!/usr/bin/env bash # This script validates a directory containing training or test images # for image-classification tasks with fixed-size images. if [ $# != 1 ]; then echo "Usage: $0 <image-dir-to-validate>" echo "e.g.: $0 data/cifar10_train" fi dir=$1 [ -e ./path.sh ] && . ./path.sh if [ ! -d $dir ]; then ...
95b9a88e3f13faa2f89244ca5767156893b689a60bd1ab3fd9f00cd5da6abc39
Shell
2,502
51
#!/bin/bash -l # Batch script to run a serial array job under SGE # Request 20 minutes of wallclock time (format hours:minutes:seconds). # one job ran on frontend was 2 min #$ -l h_rt=0:20:0 # Request 1 gigabyte of RAM (must be an integer followed by M, G, or T) # /usr/bin/time --verbose codeml gave Maximum resident...
68dce86e12ad47d95b95146e8c68b3b9c6a98f59b2dfaf9477d8a5e548c10954
Shell
2,506
73
#!/usr/bin/env bash # Copyright 2015 Mitsubishi Electric Research Laboratories (Author: Shinji Watanabe) # Apache 2.0. set -e if [ $# -ne 2 ]; then printf "\nUSAGE: %s <training experiment directory> <enhancement method>\n\n" `basename $0` printf "%s exp/tri3b_tr05_sr_noisy noisy\n\n" `basename $0` exit 1;...
adb8d58af720005c7271a2adf13a941dff24a64dc00b8dce1ae39904abd4ddc4
Shell
2,509
88
#!/bin/bash # Copyright 2020 Huawei Technologies Co., Ltd # # 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 ...
d13a8f79c1d84ddffe438971f5d4a82cd9af0c07a68726437575dd9d2bd3d4c5
Shell
2,509
88
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
9ff612bf22fdd29e4a1831317eb9fb94642cd811b8091146c0752c21d50dbff0
Shell
2,511
87
#!/usr/bin/env bash # Dongji Gao set -e set -o pipefail set -u stage=0 dir=data/local/pocolm cmd=run.pl order=4 extra_text="" . ./utils/parse_options.sh lm_dir=${dir}/data lm_name=10m_${order} mkdir -p $dir . ./path.sh export PATH=$KALDI_ROOT/tools/pocolm/scripts:$PATH if [ $stage -le 0 ]; then mkdir -p ${di...
82cc5a0f9feb0d2daed6de468aaab93988d38125113098a2e79b575a9e8feb4f
Shell
2,512
86
#!/bin/sh #author: Mahbub Ul Alam (mahbub@dsv.su.se) #version: 1.0+ #copyright: Copyright (c) Mahbub Ul Alam (mahbub@dsv.su.se) #license : MIT License #sh run_batch_text_experiments.sh -e 50 -b 500 -c Huang -t short -s episode_wise_precision -l 1 &>> new_huang_50_500_short.txt & #['imputed', 'non_imputed', 'GAN_imp...
e5f8a5506bb5b6883bb0ce4630122fbc35fc742644124182ecf6ef78a10cc5d8
Shell
2,512
50
#!/bin/sh # # (Re)build one named GDS graph projection per connectome for the VFB Circuit # Browser, once Neo4j is accepting queries. Backgrounded from loadDB.sh. # # GDS in-memory projections are NOT persisted -- they are lost on every restart, # so this runs on every container start (after the DB is restored and up)....
15a75bad7192d05a80de2b91d1892fc274a0dd63fc1b3e89a9a6b86cca39f44d
Shell
2,513
77
#!/usr/bin/env bash # Copyright 2017 Xingyu Na # Apache 2.0 . ./path.sh || exit 1; if [ $# != 2 ]; then echo "Usage: $0 <corpus-path> <data-path>" echo " $0 /export/a05/xna/data/data_aishell data/aishell" exit 1; fi aishell_audio_dir=$1/wav aishell_text=$1/transcript/aishell_transcript_v0.8.txt data=data/aish...
c652c6a602903e64f2a8a250a30e626564e2fd583e093bf66bd5f860e640fc0d
Shell
2,513
108
#!/usr/bin/env bash # Copyright 2014 Johns Hopkins University (author: Daniel Povey) # 2017 Xingyu Na # Apache 2.0 remove_archive=false if [ "$1" == --remove-archive ]; then remove_archive=true shift fi if [ $# -ne 3 ]; then echo "Usage: $0 [--remove-archive] <data-base> <url-base> <corpus-par...
2adf4d4d420a7b88d108f4b500130130135a40a18f0bcacbb0e0516cfbed7a30
Shell
2,514
59
#!/usr/bin/bash set -euxo pipefail GSE=GSE1303990 sf_marker='GABAergic_markers_fc.txt,Glutamatergic_markers_fc.txt,Non.Neuronal_markers_fc.txt' ta_marker='tasic2016_gaba.csv,tasic2016_glu.csv,tasic2016_gli.csv' cu_marker='cusanovich2018_inh.txt,cusanovich2018_ext.txt,cusanovich2018_gli.txt' if [ "$2" == "rank" ]; then...
8b9c420ae8e2dfe036764e3b3c9d72d0c5118620154894f6caa1867316631610
Shell
2,514
64
#!/usr/bin/env bash # Copyright 2017 QCRI (author: Ahmed Ali) # 2019 Dongji Gao # Apache 2.0 # This script prepares the subword dictionary. set -e dir=data/local/dict lexicon_url1="http://alt.qcri.org//resources/speech/dictionary/ar-ar_grapheme_lexicon_2016-02-09.bz2"; lexicon_url2="http://alt.qcri.org//res...
7f3a21ea1e7cabdaeaf0360178e267e089fe2f2fffff053675ac7409d38f209d
Shell
2,515
88
#PBS -N EHDN #PBS -l vmem=80g,mem=80g,walltime=24:00:00 #PBS -joe #PBS -d . if [ -z $EHDN ] then exit; fi if [ -z ${g1k_manifest} ] then exit; fi if [ -z $ref ] then exit; fi if [ -z $script_dir ] then exit; fi scripts="${script_dir}"; if [ -z $family ]; then family=$1; fi; if [ -z $pipeline ]; ...
d4624b93d382ffb0064b2ccaae2ef4f5bfd660bfe6f09e651395cc1a2b8c6fa2
Shell
2,516
100
#!/bin/bash ## ## chip-seq peak calling ## # script filename script_path="${BASH_SOURCE[0]}" script_name=$(basename "$script_path") route_name=${script_name/%.sh/} echo -e "\n ========== ROUTE: $route_name ========== \n" >&2 # check for correct number of arguments if [ ! $# == 3 ] ; then echo -e "\n $script_name ...
b72c85a51551791b024ea1ebfcfe629c5a4e9618d14944f281a759e7fe1bcd18
Shell
2,517
20
#!/bin/bash #SBATCH --job-name=DECON_EXPR_PREPROCESS_EUR #SBATCH --output=/groups/umcg-biogen/tmp01/output/2019-11-06-FreezeTwoDotOne/2020-10-12-deconvolution/deconvolution/preprocess_scripts/pre_process_decon_expression_matrix/jobs/DECON_EXPR_PREPROCESS_EUR.out #SBATCH --error=/groups/umcg-biogen/tmp01/output/2019-11-...
dc3c10b4217a9f9a72388f3a01c6313854e62766d7b55ae7d1a56f2449dea37f
Shell
2,520
93
#!/bin/bash # Copyright 2020 Huawei Technologies Co., Ltd # # 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 ...
ba9bdbd0fb7e8aacc174142ea7e7e6d2ea81090a34a22b046c38fdef8a3a62de
Shell
2,523
99
#!/usr/bin/env bash # shellcheck source=../utils.sh source $( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )/../utils.sh # Check if there is input [[ ( $# -eq 0 ) ]] && displayhelp $0 1 # Preparing the default values for variables computeoutliers=no tmp=. ### print input printline=$( basename -- $0 ) echo "${pr...
2f76ded723a9cb78b6f3a76e8d48304c0eb3072c7ca1d182c66eab0e0c3bb7c7
Shell
2,526
69
#!/usr/bin/env bash # Copyright 2016, Brno University of Technology (Author: Karel Vesely) # Apache 2.0 . ./path.sh . ./cmd.sh train=data_ihm-fmllr-tri4/ihm/train dev=data_ihm-fmllr-tri4/ihm/dev eval=data_ihm-fmllr-tri4/ihm/eval gmm=exp/ihm/tri4a # Output directory for models and i-vectors, ivec_absdir=$(readlink -...
c254a75b4e1ee77ba62e190248b81cd784a91cf8e26429117b30852a0d679f80
Shell
2,527
69
#!/bin/bash # Copyright 2020-2021 Huawei Technologies Co., Ltd # # 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...
d54ddfa6f734235724ae39626c2f7026567f50ba3bf63236f9b766c343219afd
Shell
2,531
105
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
9c3feb1049a610ceaca28c67cdf8df8967dda889461aaf6523904f404f3a21fe
Shell
2,539
44
# you can change cmd.sh depending on what type of queue you are using. # If you have no queueing system and want to run on a local machine, you # can change all instances 'queue.pl' to run.pl (but be careful and run # commands one by one: most recipes will exhaust the memory on your # machine). queue.pl works with Gri...
7029cf3efb092c89fefb3ba4da0ac949018ac0640a8d6ac47eb5b5a4b38bdf93
Shell
2,552
85
#MOLGENIS walltime=24:00:00 nodes=1 cores=1 mem=6gb #Parameter mapping #string onekgGenomeFasta #string cramFileDir #string annotationGtf #string htseqTxtOutput #string samtoolsVersion #string htseqVersion #string stranded #string htseqDir #string mode #string sortType #string featureType #string internalId #string sa...
f9ef0a9e76fe23f10a40bb2fb119b851885265b861e79f7259041c619a5167d8
Shell
2,557
81
#!/usr/bin/env bash # Copyright 2016 Tokyo Institute of Technology (Authors: Tomohiro Tanaka, Takafumi Moriya and Takahiro Shinozaki) # 2016 Mitsubishi Electric Research Laboratories (Author: Shinji Watanabe) # Apache 2.0 # Acknowledgement This work was supported by JSPS KAKENHI Grant Number 26280055. [ ...
fbdbeafa01efb0a45066aa1976b4000cde5d7ed14e6238b94b1c106a0594be70
Shell
2,559
56
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
d743d25e17eb22f5cd13ea62b6a6c284a9068b2acfc7e8a09b915e2a1d82f98c
Shell
2,560
56
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
4240b7b2889511512a70b842d3d8a693b4c93bcf56f79905efa3d1b5374b1ea1
Shell
2,566
87
#!/usr/bin/env bash # This script aims at helping create a PR to update the manifests of the # kserve/kserve repo. # This script: # 1. Checks out a new branch # 2. Copies files to the correct places # 3. Commits the changes # # Afterwards the developers can submit the PR to the kubeflow/manifests # repo, based on that...
4724cf66cf1835f92a9871fae63af89e444b3eb048b23e2f28545a039970390f
Shell
2,567
90
#!/bin/bash # Copyright 2013 Johns Hopkins University (authors: Yenda Trmal) # 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 # # THIS CODE IS...
d623f51aa0f2c6944ec673d48344e16534d4aabbb6e0e8f1911079105ed1c28c
Shell
2,567
64
#!/usr/bin/env bash . ./cmd.sh # This step interpolates a small RNNLM (with weight 0.25) with the 4-gram LM. steps/rnnlmrescore.sh \ --N 100 --cmd "$decode_cmd" --inv-acwt 17 \ 0.25 data/lang_test_bd_fg data/local/rnnlm.h30.voc10k data/test_eval92 \ exp/tri3b/decode_bd_tgpr_eval92_fg exp/tri3b/decode_bd_tgpr_e...
128e2491f9cb2946c20d059e47dd57a60ba49424cac3144accc12383b792bf73
Shell
2,568
79
#$ -S /bin/bash #$ -cwd #$ -m be #$ -M s.moia@bcbl.eu module load singularity/3.3.0 ########################################################################################################################## ##---START OF SCRIPT-------------------------------------------------------------------------------------------...
f38497f10232cbd903edb55e89794d6a1e90b9d912daa8d9f95d96fd87ca77f9
Shell
2,570
60
#!/usr/bin/env bash . ./cmd.sh # Train and test MMI (and boosted MMI) on tri2b system. steps/make_denlats.sh --sub-split 20 --nj 10 --cmd "$train_cmd" \ data/train_si84 data/lang exp/tri2b exp/tri2b_denlats_si84 || exit 1; # train the basic MMI system. steps/train_mmi.sh --cmd "$train_cmd" \ data/train_si84 data...
cb16d4e57a7416ce3680fa7dbe61d490baeac5333946207050606d79b13057d3
Shell
2,571
72
#!/usr/bin/env bash # Copyright 2015 Mitsubishi Electric Research Laboratories (Author: Shinji Watanabe) # Apache 2.0. set -e if [ $# -ne 3 ]; then printf "\nUSAGE: %s <training experiment directory> <enhancement method> <graph_dir>\n\n" `basename $0` printf "%s exp/tri3b_tr05_sr_noisy noisy exp/tri4a_dnn_tr...
d1a1bd590aa189a99ffe5b189b3d7eb0a58027ad65c6486c714d1cb85a851468
Shell
2,582
62
#!/usr/bin/bash set -euxo pipefail GSE=GSE126074 #GSE_train=GSE123576 sf_marker='GABAergic_markers_fc.txt,Glutamatergic_markers_fc.txt,Non.Neuronal_markers_fc.txt' ta_marker='tasic2016_gaba.csv,tasic2016_glu.csv,tasic2016_gli.csv' cu_marker='cusanovich2018_inh.txt,cusanovich2018_ext.txt,cusanovich2018_gli.txt' if [ "$...
1dc82f194d799f59247d183e46862180cab051e90e21e0ab7fc79ffcf9b13bf8
Shell
2,583
94
#!/bin/bash usage() { cat << EOF Usage: qmrimaps [-h] [-m model_file] DATA_DIR OUTPUT_DIR Process MRI in DATA_DIR and put results into OUTPUT_DIR. optional arguments: -h|--help show this usage -m|--model Use given trained model -t|--t1 T1 for anatomy segmentation (default: anat/T1.nii.gz) -r|--ref Reference...
0961d5c40a6ce9f01afb8f24d5ffa89755c73e1c8908e6dc6a418dbea6f6c6b1
Shell
2,591
93
#!/bin/bash # Copyright 2020-2021 Huawei Technologies Co., Ltd # # 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...
c31765fde839334f0e67981236aedc6ff0c30124627c0bf6f5054b1b1b656459
Shell
2,591
88
#!/usr/bin/env bash # Copyright 2015 Tokyo Institute of Technology (Authors: Takafumi Moriya and Takahiro Shinozaki) # 2015 Mitsubishi Electric Research Laboratories (Author: Shinji Watanabe) # Apache 2.0 # Acknowledgement This work was supported by JSPS KAKENHI Grant Number 26280055. # Official evaluati...
a4c0697b7fdeeb3e5a83791e4be6065353a85a8bd35d8faf4db7776abc4d7174
Shell
2,592
81
#!/bin/bash # Copyright 2019 David Snyder # 2020 Desh Raj # Apache 2.0. # # This script takes an input directory that has a segments file (and # a feats.scp file), and performs diarization on it, using BUTs # Bayesian HMM-based diarization model. A first-pass of AHC is performed # first followed by V...
cae7e47fa3a8cefa1d465f3e614786ab22f607dd8e00f398a38bea645ca983cc
Shell
2,594
79
#!/bin/bash -u # Copyright 2012 Arnab Ghoshal # 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 # # THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT...
735af3dd7e563a79642a98bc6f070a987c27768c617090cd2cd1a0c6ce6a0469
Shell
2,595
79
#!/usr/bin/env bash # Copyright 2010-2011 Microsoft Corporation # 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 # # THIS CODE IS PROVIDED *AS IS...
de7bbb3a1bed007f683f36d37573f98f0ad042f789a82081b84cc468214157c6
Shell
2,596
105
#!/usr/bin/env bash # shellcheck source=../utils.sh source $( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )/../utils.sh # Check if there is input [[ ( $# -eq 0 ) ]] && displayhelp $0 1 # Preparing the default values for variables tmp=. ### print input printline=$( basename -- $0 ) echo "${printline}" "$@" # Pa...
c71163eb17b1f88df9a8aaa0a1ab4cf96a30ee1c519184be59c673ddbcda3117
Shell
2,597
79
#!/bin/bash # model selection scripts keep the same structure for every software # ARGS: input_msa output_dir restore_ckp skip_eval data_type # restore_ckp = {true, false} # skip_eval = {true, false} # data_type = {nt, aa} modeltest_bin=modeltest-ng MT_ARGS="-t mp -f ef -h uigf" input_msa=$1 ou...
aa1bab96fe277a072334b9bae7649296a5fbc7c777d9e0cd2da2452fc73fcc75
Shell
2,598
75
#! /usr/bin/env bash # Start the carla-cosmos server container with sensible defaults and print the API token. # # ./run_server.sh [--image IMG] [--port 8000] [--state ~/.carla-cosmos/state] [--gpus all] [--profile auto] # [--token TOKEN] [--no-guardrails] # # Everything the service needs (weights, ...
af8899c369bde7b88d28ef20a2e06dac31adee388a0b8b3bf25002c438728190
Shell
2,607
71
#!/usr/bin/env bash # Copyright 2012 Microsoft Corporation Johns Hopkins University (Author: Daniel Povey) # Apache 2.0 # This script takes data prepared in a corpus-dependent way # in data/local/, and converts it into the "canonical" form, # in various subdirectories of data/, e.g. data/lang, data/lang_test_ug, # ...
5a5aa51f3556481473c96bd7f608dbe3e18fe450220485a9031bf7ac78e909d0
Shell
2,612
110
#!/usr/bin/env bash # Copyright 2014 Johns Hopkins University (author: Daniel Povey) # 2017 Xingyu Na # Apache 2.0 remove_archive=false if [ "$1" == --remove-archive ]; then remove_archive=true shift fi if [ $# -ne 3 ]; then echo "Usage: $0 [--remove-archive] <data-base> <url-base> <corpus-par...
979c08bd4e94e17ebc78998f69bffed9066bda91ba3bdb167a12303ae503f952
Shell
2,618
113
while [[ $# -gt 0 ]] do key="$1" case $key in -m|--model) modelName="$2" shift # past argument shift # past value ;; -p|--pattern) patern="$2" shift # past argument shift # past value ;; -u|--uri) uri="$2" shift # past argument shift # past va...
1bb0a4d1626525d11f92e67b94dbca702eec697e6e5cc56c6888b1bbbb057231
Shell
2,620
81
#!/usr/bin/env bash # Copyright 2017 Johns Hopkins University (Author: Aswin Shanmugam Subramanian) # Apache 2.0 . ./cmd.sh . ./path.sh # Config: nj=10 cmd=run.pl track=6 . utils/parse_options.sh || exit 1; if [ $# != 4 ]; then echo "Wrong #arguments ($#, expected 4)" echo "Usage: local/run_blstm_gev.sh [optio...
e82d96e4e11cec91ea909fa6abdc0c23b337246139e345b989bf1213b47df2e1
Shell
2,627
71
#!/bin/bash -u # Copyright 2015 (c) Johns Hopkins University (Jan Trmal <jtrmal@gmail.com>) # 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 # #...
55729d9da19cf4438dd5716668f99cf61369dee60482fea42fe77f55f3e2d70d
Shell
2,633
67
#!/usr/bin/env bash steps/align_raw_fmllr.sh --nj 10 --cmd "$train_cmd" --use-graphs true \ data/train_si84 data/lang exp/tri2b exp/tri2b_ali_si84_raw steps/train_raw_sat.sh --cmd "$train_cmd" \ 2500 15000 data/train_si84 data/lang exp/tri2b_ali_si84_raw exp/tri3c || exit 1; mfccdir=mfcc for x in test_eval9...
037d47d4cbea2f38b9bdcca100b52ed03c06ac15ca8996784b4a331326b016cc
Shell
2,639
113
#!/bin/bash # Copyright 2014 Johns Hopkins University (author: Daniel Povey) # 2017 Xingyu Na # Apache 2.0 remove_archive=false if [ "$1" == --remove-archive ]; then remove_archive=true shift fi if [ $# -ne 3 ]; then echo "Usage: $0 [--remove-archive] <data-base> <url-base> <corpus-part>" ec...
c134aaba3aed046acff45d3f31bfa92c8e7fe5af976a424859797f73ad8db32f
Shell
2,643
108
#!/usr/bin/env bash # shellcheck source=../utils.sh source $( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )/../utils.sh # Check if there is input [[ ( $# -eq 0 ) ]] && displayhelp $0 1 # Preparing the default values for variables mmres=0 aref=none tmp=. ### print input printline=$( basename -- $0 ) echo "${pri...
b20a779116275a4d1a481209f5a1b16b31b5250a067324fc83e75e46bf2f1e8a
Shell
2,645
94
#!/usr/bin/env bash # Copyright 2014 Johns Hopkins University (Author: Yenda Trmal) # Apache 2.0 # Begin configuration section. iters=5 stage=0 encoding='utf-8' remove_tags=true only_words=true icu_transform="Any-Lower" cmd=run.pl # End configuration section. echo "$0 $@" # Print the command line for logging [ -f ...
2423640a6faced0f4bed29fcb9c611651a718e1954713baa64e6c4f2bf513478
Shell
2,656
94
#!/usr/bin/env bash # Copyright 2014 Johns Hopkins University (Author: Yenda Trmal) # Apache 2.0 # Begin configuration section. iters=5 stage=0 encoding='utf-8' remove_tags=true only_words=true icu_transform="Any-Lower" cmd=run.pl # End configuration section. echo "$0 $@" # Print the command line for logging [ -...
243d81f0f969fc5131985b7d8d266ba8d1f63d819b5400f6c27045115e986b19
Shell
2,669
80
#!/usr/bin/env bash # Formatting the Mississippi State dictionary for use in Edinburgh. Differs # from the one in Kaldi s5 recipe in that it uses lower-case --Arnab (Jan 2013) # To be run from one directory above this script. . ./path.sh #check existing directories [ $# != 0 ] && echo "Usage: local/swbd1_data_prep...
35f56d05642f6c730b6a06604418c6d4da829dde9e6a7888d40f7616789c8fbe
Shell
2,669
60
#!/usr/bin/env bash # Copyright 2015-2016 Sarah Flora Juan # Copyright 2016 Johns Hopkins University (Author: Yenda Trmal) # Copyright 2018 Yuan-Fu Liao, National Taipei University of Technology # AsusTek Computer Inc. (Author: Alex Hung) # Apache 2.0 set -e -o pipefail train_dir=NER-Trs-Vol1/Trai...
a76ef7296ac77545d5e6630b2733ce0af19e8ff68ff24cf2e55afe2949b54670
Shell
2,671
78
#!/usr/bin/env bash # Copyright 2017 David Snyder # Apache 2.0. # # This script prepares the Callhome portion of the NIST SRE 2000 # corpus (LDC2001S97). It is the evaluation dataset used in the # callhome_diarization recipe. if [ $# -ne 2 ]; then echo "Usage: $0 <callhome-speech> <out-data-dir>" echo "e.g.: $0 ...
26184a9b51a87ba0a3815c4c1b94b41d333e2befdbe05c940e5bc606911e903b
Shell
2,679
76
#!/usr/bin/env bash # Copyright 2014 Vassil Panayotov # Apache 2.0 if [ $# -ne "2" ]; then echo "Usage: $0 <base-url> <download_dir>" echo "e.g.: $0 http://www.openslr.org/resources/11 data/local/lm" exit 1 fi base_url=$1 dst_dir=$2 # given a filename returns the corresponding file size in bytes # The switch ...
3641bde1f3923446809879dfd4f3884cc1ff13979503cc80f50da297bfbfdec4
Shell
2,679
94
#!/usr/bin/env bash # Copyright 2015, Mitsubishi Electric Research Laboratories, MERL (Author: Shinji Watanabe) . ./cmd.sh . ./path.sh # Config: nj=10 cmd=run.pl . utils/parse_options.sh || exit 1; if [ $# != 2 ]; then echo "Wrong #arguments ($#, expected 2)" echo "Usage: local/chime3_beamform.sh [options] <...
4b3f4cdc97baa4541bbf16a901aa7dd9df421a974847f778516fb10f2bb4f6a3
Shell
2,681
77
#!/usr/bin/env bash # Copyright 2016-2018 David Snyder # 2017-2018 Matthew Maciejewski # Apache 2.0. # This script computes PLDA scores from pairs of ivectors extracted # from segments of a recording. # Begin configuration section. cmd="run.pl" stage=0 target_energy=0.1 nj=10 cleanup=true # End configur...
be56ff7d92685fa5424b72065340e66942be3814a697650cf1af65b5caf0f6e3
Shell
2,685
73
#!/usr/bin/env bash # Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0. # begin configuration section. cmd=run.pl stage=0 decode_mbr=true min_lmwt=7 max_lmwt=17 #end configuration section. [ -f ./path.sh ] && . ./path.sh . parse_options.sh || exit 1; if [ $# -ne 3 ]; then echo "Usage: lo...
f12a012b4373b8f9fe7feebaf89976ecf7e011b05a7ebb9358ddbe6e411f21d6
Shell
2,686
99
#! /bin/bash # Copyright 2016 Vimal Manohar # Apache 2.0. # This script prepares 1996 English Broadcast News Dev and Eval (HUB4) # https://catalog.ldc.upenn.edu/LDC97S66 set -e set -o pipefail if [ $# -ne 2 ]; then echo "Usage: $0 <SOURCE-DIR> <dir>" echo "$0 /export/corpora/LDC/LDC97S66/1996_eng_bcast_dev_eva...
4c4723a355d6605b497e6cc8aa4459a03299ffdbf5407f3e3625425a678ea970
Shell
2,697
84
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
85d92655d44f7f420e2164fccf93e875a3ba3554491699d71ae2216f7dcdf64a
Shell
2,708
62
#!/usr/bin/env bash # Preflight for add-ros-message-type. Read-only, no sudo. # Exits non-zero only on hard blockers. # On-camera banner: every skill run announces itself, so a terminal recording # shows which skill is doing the work rather than just its output. The name is # taken from the directory so it cannot drift...
169f2060dc9daaaf207d196ee7a86093dcb6e61b1ae15ffaa6c7f98fa6f869e4
Shell
2,715
20
#!/bin/bash #SBATCH --job-name=DECON_EXPR_PREPROCESS_AFR #SBATCH --output=/groups/umcg-biogen/tmp01/output/2019-11-06-FreezeTwoDotOne/2020-10-12-deconvolution/deconvolution/preprocess_scripts/pre_process_decon_expression_matrix/jobs/DECON_EXPR_PREPROCESS_AFR.out #SBATCH --error=/groups/umcg-biogen/tmp01/output/2019-11-...
d03b2c844045426a18e2d3e29cb2573c0d16d060182aa84ed35ffed0e4c0b82b
Shell
2,715
113
#!/bin/bash # input arguments DATA="${1-MUTAG}" # MUTAG, ENZYMES, NCI1, NCI109, DD, PTC, PROTEINS, COLLAB, IMDBBINARY, IMDBMULTI fold=${2-1} # which fold as testing data test_number=${3-0} # if specified, use the last test_number graphs as test data # general settings gm=DGCNN # model gpu_or_cpu=gpu GPU=0 # sele...
0fc258d6bb384be775f155de19414bb14147832976c7614666fc12a110448ad2
Shell
2,716
104
#!/usr/bin/env bash # shellcheck source=../utils.sh source $( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )/../utils.sh # Check if there is input [[ ( $# -eq 0 ) ]] && displayhelp $0 1 # Preparing the default values for variables voldiscard=0 despike=no slicetimeinterp=none tmp=. ### print input printline=$( b...
e23326ea028ed8c9e03cc7a2932679d105605480b985d51dd58d207397ca3627
Shell
2,719
71
#!/usr/bin/env bash #adapted from fisher dict preparation script, Author: Pawel Swietojanski dir=data/local/dict mkdir -p $dir echo "Getting CMU dictionary" svn co https://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict $dir/cmudict # silence phones, one per line. for w in sil laughter noise oov; do echo $w; done ...
19e7b27f682077fc4f001c2428340c9a683d775596436718d7f64fae15696f69
Shell
2,726
83
#!/bin/bash # Copyright 2016-2018 David Snyder # 2017-2018 Matthew Maciejewski # 2020 Maxim Korenevsky (STC-innovations Ltd) # Apache 2.0. # This script is a modified version of diarization/score_plda.sh # that replaces i-vectors with x-vectors. # # This script computes cosine similarity...
b7e56c80c4c75b82cad78a15d940a4eabba4b6fe85245580ec4b50747589bfdf
Shell
2,727
95
#!/usr/bin/env bash # Copyright 2018 Johns Hopkins University (Author: Aswin Shanmugan Subramamian) # Updated by Bar Ben-Yair, March 2020 # Apache 2.0 . ./cmd.sh . ./path.sh # Config: nj=1 cmd=run.pl . utils/parse_options.sh || exit 1; if [ $# != 3 ]; then echo "Wrong #arguments ($#, expected 3)" echo "Usage:...
8ae6db8fc2db6814fffa1cfe2c493d291901a63ffaaab0d3a5263c99e6dd4964
Shell
2,733
85
#!/bin/bash # first check that the venv is active if [ -z $VIRTUAL_ENV ]; then echo "Virtual environment is not active, you might want to run:" echo "source external/deface/bin/activate" return fi currenv=$(echo $VIRTUAL_ENV|awk -F "/" '{print $NF}'); if [ $currenv != "deface" ]; then echo "Your active environm...
9af8f13aed33667b981117b9645f0b0318f39c04b7b0f5c0d6ccb51352802244
Shell
2,736
93
#!/usr/bin/env bash # Copyright 2018 Vimal Manohar # Apache 2.0 num_data_reps=1 cmd=run.pl nj=20 include_clean=false . utils/parse_options.sh . ./path.sh if [ $# -ne 4 ]; then echo "Usage: $0 <train-data-dir> <noisy-latdir> <clean-latdir> <output-latdir>" exit 1 fi train_data_dir=$1 noisy_latdir=$2 clean_latd...
34cf660f83fc2084081e9f0d627619aa10b9d16f85baee18aff289f8998c1d71
Shell
2,737
114
#!/bin/bash # patch_lammps.sh [-e] /path/to/lammps/ do_e_mode=false while [ "$#" -gt 0 ]; do case "$1" in -e) do_e_mode=true shift ;; -h|--help) echo "patch_lammps.sh [-e] /path/to/lammps/" exit ;; --) shift break ;; -*) echo "Unknown optio...
16f683fa5f80deb2989c8eb775d0a94caaca5a54dc425c9f1705e163f38ed21f
Shell
2,740
83
#!/usr/bin/env bash # # Apache 2.0. # This script applies sliding window CMVN and removes silence frames. This # is performed on the raw features prior to generating examples for training # the x-vector system. Once the training examples are generated, the features # created by this script can be removed. nj=40 cmd...
5e35b638ee5f5e46040f22807dae515a754c7896d2d82124eee9bea3b242943e
Shell
2,742
86
#!/bin/bash # Copyright 2013 Johns Hopkins University (authors: Yenda Trmal) # 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 # # THIS CODE IS...
20e16db570ce48a84e68394d62579fdf0cfd5f6fb816d31e839effbf8b09f343
Shell
2,748
77
#!/bin/bash # Copyright 2020 Huawei Technologies Co., Ltd # # 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 ...
592ff93a463e2e9c506821c9523582bce850a4017ab8e6cfe9e538a3548a34d8
Shell
2,748
96
#!/bin/bash set -e DOC_STRING="Build the CARLA UE5 development docker image." USAGE_STRING=$(cat <<- END Usage: $0 [options] User and group options: --user UID:GID Set host UID and GID for the container (default: current user) --docker-gid GID Set GID of the Docker group (default: $(getent group ...
f4d323461d23f56430817bea61a6134d1928ecf4c4c64f94d811fcacff5bb424
Shell
2,748
75
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # 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 ...
55e8d0786e5ccae3fd4c71ec481a6abdc6a930996e81d86d79a6134ba9078bd6
Shell
2,752
82
#!/usr/bin/env bash . ./cmd.sh . ./path.sh # Global options, graph=exp/ihm/tri4a/graph_ami_fsh.o3g.kn.pr1-7 arpa_gz=data/local/lm/ami_fsh.o3g.kn.pr1-7.gz lmwt=12 # Dev-set options, dev_data=data/ihm/dev dev_latdir=exp/ihm/tri4a_mmi_b0.1/decode_dev_4.mdl_ami_fsh.o3g.kn.pr1-7 # Eval-set options, eval_data=data/ihm/eva...
bf1b495f2abd18cc648cfec9a35548bb24ea08c4d772666fd73dbe45a0ddc2c7
Shell
2,752
96
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
bb212dfb57622856cf60c3c455c64ec829c175b34f2923619c7b49c336d25cec
Shell
2,753
111
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # 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 ...
dbf5447aa5195348955a5e0e84f06d1c0c1f47aad947431b5d2a21b3843a2fa9
Shell
2,756
84
#!/usr/bin/env bash # # Copied from egs/sre16/v1/local/nnet3/xvector/prepare_feats_for_egs.sh (commit 3ea534070fd2cccd2e4ee21772132230033022ce). # # Apache 2.0. # This script applies sliding window cmvn and removes silence frames. This # is performed on the raw features prior to generating examples for training # the...
3cf975435d37c97a7ec4a408e19752d893ca866e9b3038e5bef5ba4129d7558d
Shell
2,758
84
#!/usr/bin/env bash # # Copied from egs/sre16/v1/local/nnet3/xvector/prepare_feats_for_egs.sh (commit 3ea534070fd2cccd2e4ee21772132230033022ce). # # Apache 2.0. # This script applies sliding window cmvn and removes silence frames. This # is performed on the raw features prior to generating examples for training # the...
e477a129157b6b23353184b1aa8835249a1bccf46323ab6b7458fe4e627cbf7e
Shell
2,767
98
#!/bin/sh #author: Mahbub Ul Alam (mahbub@dsv.su.se) #version: 1.0+ #copyright: Copyright (c) Mahbub Ul Alam (mahbub@dsv.su.se) #license : MIT License #sh run_numeric_and_text_experiments.sh -x 27 -b 500 -h 800 -H 3 -d 0 -e 3 -i GAN_imputed_100_alpha -c Huang -C long # Huang -t short # -t long #['experiment_number...
25259a44820bc2badde420b99d39892c893c4ceade672020c99a0d0b27038320
Shell
2,780
96
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Yenda Trmal) # Apache 2.0. # Begin configuration section. # case_insensitive=true extraid= kwlist= ecf= rttm= f4de_prefix= # End configuration section. help_message="$0: score the kwslist using the F4DE scorer from NIST Example: ...
538aa43389548d7459060584ae4ba25c4b7bb869dd1ad5c4beb22ae719174d5a
Shell
2,786
88
#!/usr/bin/env bash # Copyright 2013 Johns Hopkins University (authors: Yenda Trmal) # 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 # # THIS C...
1da288164ff228c3b011679833babfceef28a9e992037e3ac3226348e68abdbe
Shell
2,791
75
#!/usr/bin/env bash # Copyright 2017 Johns Hopkins University (author: Hossein Hadian) # Apache 2.0 # This script loads the training and test data for CIFAR-10 or CIFAR-100. [ -f ./path.sh ] && . ./path.sh; # source the path. dl_dir=data/download cifar10=$dl_dir/cifar-10-batches-bin cifar10_url=https://www.cs.toron...
23eef5f0871c2265119bfb23836e6c88ad4e85d44113120b89aabb8ef2bdc376
Shell
2,794
100
module load Java #module load parallel module load Python module load BWA if [ $# -lt 2 ] then echo "Usage: indir threads" exit 1 fi indir=$1 threads=$2 dateprefix=$(date '+%Y-%m-%d') # calculate fdr if not done yet if [ ! -f "$indir/eQTLsFDR0.05.txt.gz" ]; then lnct=$(zcat $indir/eQTLs.txt.gz | wc -l) l...
8da57fd678650a273fbd4e0e910cb9766866109ecb92493f3cc80b20c0949f30
Shell
2,797
104
#!/usr/bin/env bash # Copyright 2020 Huawei Technologies Co., Ltd # # 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 applica...
393fe28aa650f46c10a2c60e990a67bc4039a68426dc0a32bd371d610bb515e2
Shell
2,798
95
#!/usr/bin/env bash # Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0. # begin configuration section. cmd=run.pl stage=0 decode_mbr=true beam=5 word_ins_penalty=0.5 min_lmwt=7 max_lmwt=17 model= #end configuration section. #debugging stuff echo $0 $@ [ -f ./path.sh ] && . ./path.sh [ -f ...
9c3eaa8b249305bff4e6b15fc4c0fea7b14736ea08b93f6cd6d0dfc5570140eb
Shell
2,799
109
#!/bin/bash ## ## whole genome/exome/targeted sequencing somatic single/simple/short nucleotide variant calling ## # script filename script_path="${BASH_SOURCE[0]}" script_name=$(basename "$script_path") route_name=${script_name/%.sh/} echo -e "\n ========== ROUTE: $route_name ========== \n" >&2 # check for correc...
e9985ded2249959723f5d3cd593fde8d78f8c442f6d57032ba710105698c6c93
Shell
2,801
79
#!/usr/bin/env bash # Copyright 2012-2013 Johns Hopkins University (Author: Guoguo Chen, Yenda Trmal) # Apache 2.0. # 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/...
011979e96fdf6db99ea0dc7084981d22cdbde19a747f1765c1b4dede3ccd567c
Shell
2,806
115
#!/bin/bash -e interrupt_handler() { scancel $(printf " %s" "${jobs[@]}") 2>/dev/null [ -n "${logfile}" ] && rm -f "${logfile}.out."* "${logfile}.err."* rmdir --ignore-fail-on-non-empty $(dirname "${logfile}") exit 3 } if [ -d "/scratch/work/${USER}" ] then logfile="/scratch/work/${USER}/log/$(date '+%Y-%m-%d-%H...
3273121fef2d3a03d18564b359874dade40058ec51dda2b1adb6c4e1a48f4825
Shell
2,810
83
#!/usr/bin/env bash # Copyright 2015 Mitsubishi Electric Research Laboratories (Author: Shinji Watanabe) # Apache 2.0. set -e # Config: eval_flag=true # make it true when the evaluation data are released . utils/parse_options.sh || exit 1; if [ $# -ne 3 ]; then printf "\nUSAGE: %s <training experiment direct...
20a2d090373f7e19cf19ffc21a9a8100f16bad36e745e7ec1d8bff8f1df9f7b9
Shell
2,811
99
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
6a6a9c53a89def87ef2fca87bf63d4b71da9d9941dd3e238e36bf551572fe5f1
Shell
2,812
85
#!/usr/bin/env bash # Copyright 2015 Mitsubishi Electric Research Laboratories (Author: Shinji Watanabe) # Apache 2.0. set -e # Config: eval_flag=true # make it true when the evaluation data are released . utils/parse_options.sh || exit 1; if [ $# -ne 3 ]; then printf "\nUSAGE: %s <training experiment direct...
f2bf9422503f63de56b3afd442d172890b63d5570f77c88b4afe69ab53daf1d4
Shell
2,812
84
#!/usr/bin/env bash # Copyright Vijayaditya Peddinti, 2016. # Apache 2.0. # This script generates uniformly segmented data dir, if the directory # already has a segments file (e.g. in data/dev_aspire) we create directory # without segments and then uniformly segment it. # It also extracts hires mfcc features set -e s...