sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
9d1a62a57f19eea1be6855de657c5a32ed3e8ce3b57b3cd694a59f1b04de6971
Shell
2,227
64
#!/bin/bash # Copyright 2023 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 ...
23e3dacf73189e49af8d511d96b56107dc94d9cb338b7fa80511a97419eeba9f
Shell
2,230
80
#!/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 ...
e9fe261445d65a19a2cb7417f0acfe4ba3d507c6ff8820c38b4a1d1ea0b7a752
Shell
2,230
59
#!/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 ...
34c5f85cc8c18a8cf839c66f7e80da8e53eadc6ba34048aaf75951319f890d05
Shell
2,233
59
#!/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 ...
ee10fdabfeb10a3a910c5f59c7452756b1119c5eea28660ecc6f7db289afd838
Shell
2,236
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 ...
b30e0556f7bcbae37edeb1e97e6ee12a28f2a46d6cda07a51596efb108b2e269
Shell
2,238
68
set -e # Terminal formatting export line=$(printf -vl "%${COLUMNS:-`tput cols 2>&-||echo 80`}s\n" && echo ${l// /-}) # input data and base directory export TEST_BASE="." export TEST_DATA_PRETRAINING='ZINC_raw_small.tsv' export TEST_DATA_FINETUNING='A2AR_raw_small.tsv' export TEST_DATA_SCAFFOLD='pyrazines.tsv' # pref...
2d8d49f9fc17c197d6ce45f4959f83acd768799225fd585051ba70ad7dd1a676
Shell
2,239
93
#!/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 ...
6fd75fd6fdf1352b7da5c9cbe60e0728fce350294b19e837f1be172542d926a9
Shell
2,240
72
#!/usr/bin/env bash help="Usage: $(basename $0) <input-lexicon-with-tabs> <word2syllable-lexicon-out> <syllable-lexicon-out> E.g. $(basename $0) data/local/lexicon.txt word2syllable_lexicon.txt data/local/syllables/lexicon.txt Here, <input-lexicon-with-tabs> is the text-form lexicon but with tabs separating t...
b0e5c819eec0f5f307d19b2b380afe9fce4df6bf74c0d05985fe6fd97499b73e
Shell
2,240
70
#!/bin/bash #SBATCH --job-name=abcddownload #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --account=iacc_nbc #SBATCH --qos=qos_download #SBATCH --partition=download # Outputs ---------------------------------- #SBATCH --output=/home/data/abcd/abcd-hispanic-via/code/log/%x/%x_%j.out #SBATCH --error=/home/data/abcd/abcd-h...
bcf7407957ba23fb9b19eb2ec362d1a6b1678f474a0d39a48c4301114df0ed2c
Shell
2,240
72
#!/usr/bin/env bash #Simple script to create compound set info that will allow for more automatized #work with the shadow set. # #The notion of shadow data set came from the need to be able to verify #the output of the recognizer during decoding the evaluation data. #The idea is simple -- instead of decoding just the ...
f5b3815eb7eba72a1985afb054806644e9557ae6812e23390e1fe8b10072bcd3
Shell
2,241
72
#!/usr/bin/env bash #Simple script to create compound set info that will allow for more automatized #work with the shadow set. # #The notion of shadow data set came from the need to be able to verify #the output of the recognizer during decoding the evaluation data. #The idea is simple -- instead of decoding just the...
1e8673a677679ae97456806b710dee88f0b7f6a6350f6ac814e4215519790136
Shell
2,245
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 ...
b25eb8f2529c0b4282e804073c69e8a5ea60de20c15e44bc7351f30f6cc34f7a
Shell
2,245
66
#!/bin/bash if [ $# -ne 1 ]; then echo "Usage: $0 <path_to_straw_executable>" exit 1 fi STRAW_EXE="$1" LOG_FILE="straw_test_results.log" echo "Starting tests with straw executable: $STRAW_EXE" | tee "$LOG_FILE" echo "Timestamp: $(date)" | tee -a "$LOG_FILE" echo "----------------------------------------" | t...
d0b62d49a90d7164cfcb066330192fb83edba1afd1505398b5603384ea963232
Shell
2,249
65
# !/bin/bash # This script uses weight transfer as a transfer learning method to transfer # already trained neural net model on aishell2 to a finetune data set. . ./path.sh . ./cmd.sh data_set=finetune data_dir=data/${data_set} ali_dir=exp/${data_set}_ali src_dir=exp/nnet3/tdnn_sp dir=${src_dir}_${data_set} num_jobs...
1a79b1d75295e9181a9967b46c52f888e261ddb8517fd9e758cdd14d69ab7033
Shell
2,259
52
#!/usr/bin/env bash # Prerequisite checks for set-weather. Read-only, no sudo. Fast probe so the MCP # check_prerequisites(name) tool never hangs. # Exits non-zero ONLY on hard blockers: no `carla` module, or no reachable server. # On-camera banner: every skill run announces itself, so a terminal recording # shows whic...
91aa8e5ba7f8d719f30dd710bfeff430b07ca6df89f3cb63423d0009b3f5f804
Shell
2,260
60
#!/usr/bin/env bash # Copyright 2019 Ashish Arora, Vimal Manohar # 2020 Ivan Medennikov # Apache 2.0. # This script takes an rttm file, and prepares a diarized data directory. # The output directory contains a text file which can be used for scoring. stage=0 nj=8 cmd=run.pl echo "$0 $@" # Print the ...
63cbb8101e541112617cd20bd094cf0e41800bc56c909ecb6b33890c8547ef9b
Shell
2,266
53
#!/usr/bin/env bash # Prerequisite checks for navigate-to. Read-only, no sudo. Fast probe. # Hard blockers: no `carla` module, no `agents` package (needs CARLA_ROOT), or no # reachable server. # On-camera banner: every skill run announces itself, so a terminal recording # shows which skill is doing the work rather than...
ea599096ec95504ed75a64deff3cf54494aec4a213418040f9a7750ee43e0b50
Shell
2,266
61
#!/usr/bin/env bash # Copyright 2014 Vassil Panayotov # 2020-2021 Xiaomi Corporation (Author: Junbo Zhang, Yongqing Wang) # Apache 2.0 # Prepares input directory of `utils/prepare_lang.sh` . utils/parse_options.sh || exit 1; . ./path.sh || exit 1 if [ $# -ne 2 ]; then echo "Usage: $0 [options] ...
31597be02c7a7c6795681507ecf145b2d8c4384da996716ae8bbcca5800a5f4d
Shell
2,268
72
#!/usr/bin/env bash # Report WER for reports and conversational # Copyright 2014 QCRI (author: Ahmed Ali) # Apache 2.0 if [ $# -ne 1 ]; then echo "Arguments should be the gale folder, see ../run.sh for example." exit 1; fi [ -f ./path.sh ] && . ./path.sh galeFolder=$(utils/make_absolute.sh $1) symtab=./data/...
26b69e66580d5dee11792504eed64109698b6a0f6f32866d33d333e261f7b89e
Shell
2,270
73
#!/usr/bin/env bash . conf/common_vars.sh . ./lang.conf . ./cmd.sh set -e set -o pipefail set -u function best_system_path_kws { path_to_outputs=$1 best_out=`(find $path_to_outputs -name "sum.txt" | xargs grep "^| *Occ") | cut -f 1,13,17 -d '|' | sed 's/|//g' | sort -r -n -k 3 | head -n 1| awk '{print $1}'...
8a6f6ced9bf927f84a7eceef32436c532d96207466c3fb3d2f4a96371003da49
Shell
2,272
72
#!/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 spectral # clustering. stage=0 nj=10 cmd="run.pl" rttm_affix= echo "$0 $@" # Print the command li...
584a76cdf0ddf5c5753f25b3baa94fc969fdc8aae621dd2934caecd5ffecea03
Shell
2,275
63
#!/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 ...
d765fdf8e842397b230de4adcfbf07a875b00137e75fe941df682ca0ad8c1e35
Shell
2,275
68
#!/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 ...
aa484dda006aa329fefc764df18e1b6f8e876ff2bc94eb85fc85d714d6cbaf6a
Shell
2,279
63
#!/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 ...
3097448204c1af7d483265daa2c18c5c30bbb5a9bff66181af0d796edc8c32d3
Shell
2,284
69
#!/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 ...
9ce1f501a6acc40b765ef7e7ecfddcdc097f9bfbd2874149070b71825693cc6c
Shell
2,285
17
OUT=/srv/gsfs0/scratch/leepc12/run/DREAM_challenge_hidden/CHIPseq.ATF2.MCF-7.EXPID_ENCSR881UOO/out peak1=$OUT/peak/spp/rep1/CHIPseq.ATF2.MCF-7.EXPID_ENCSR881UOO.BSID_ENCBS866ZXX.BSREP1.TECHREP1.FILEIDENCFF164ZYB.R1.PE2SE.nodup.tagAlign_x_CONTROL.MCF-7.R1.PE2SE.nodup.40M.tagAlign.regionPeak.gz peak2=$OUT/peak/spp/rep2/...
f1b66c4a04531d3253fd5df74637139b98a9855aa02f4beedfa541443767051b
Shell
2,290
67
#!/bin/sh ############################################################ # Data used for training with the online intervals sampler ############################################################ wget https://zenodo.org/record/2214970/files/online_sampler_data.tar.gz tar -xzvf online_sampler_data.tar.gz -C ./1_train_with...
c66b199a084c88d7fe51096eda49f2e5134d0c91e1b1b384af2dae7b6abc14b3
Shell
2,291
90
# This script runs 8th step to making GeneNetwork: Center and scale first column wise then row wise the PC scores set -e set -u infile= outfile= main(){ module load RPlus/3.5.1-foss-2015b-v19.04.1 parse_commandline "$@" file_dir=$(dirname "$0") mkdir -p $(dirname $outfile) Rscript $file_dir/../...
fdf19df42359a07baf5809b6c99f9183eb1597e673f384038a46d52066e3df9f
Shell
2,293
54
#!/usr/bin/env bash # Prerequisite checks for check-ue5-limitations. Read-only, no sudo, fast. # # `gaps.sh list` needs nothing at all; `check` needs a ue5-dev checkout, and # `diff` additionally needs a ue58-dev one. # On-camera banner: every skill run announces itself, so a terminal recording # shows which skill is d...
862f3935255ff8ad72fe2fdda99612ba54e81f9b8463dfb4e24ff743cd10204f
Shell
2,294
75
#!/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 ...
8d0d56c0b42d5863aa5bb4433f76ba684cbe5097209820dea106a4e6d8039ef2
Shell
2,296
65
#!/bin/bash # Requirements for this script # installed versions of FSL (version 5.0.6+) and modified HCP-gradunwarp (version 1.0.2) # modified to account for spacing in gradient coefficients file of RRI 7T scanner if [ "$#" -lt 4 ] then echo "Usage $0 <input image> <output image> <grad coefficient file> <output tr...
d06d6b269c5b0a21918a95c9a0c0fd600b8523f07c2cb2827df321eea21a6d38
Shell
2,296
86
#!/usr/bin/env bash # Copyright 2018 Johns Hopkins University (Author: Aswin Shanmugam Subramanian) # Apache 2.0 . ./cmd.sh . ./path.sh # Config: nj=4 cmd=run.pl . utils/parse_options.sh || exit 1; if [ $# != 3 ]; then echo "Wrong #arguments ($#, expected 3)" echo "Usage: local/run_wpe.sh [options] <wav-in-di...
b62058ed13da264652de946286b0a1ed47500b47b7234cabea43505fe9ba7e7b
Shell
2,299
53
#!/usr/bin/env bash # Copyright 2016 Api.ai (Author: Ilya Platonov) # Apache 2.0 # This script demonstrates kaldi decoding using pretrained model. It will decode list of wav files. # # IMPORTANT: wav files must be in 16kHz, 16 bit little-endian format. # # This script tries to follow with what other scripts are doing ...
7ba7b695c806725a5cc2426a9e0fbdabbad3d4f17521ac423d61b97dcc3b1cef
Shell
2,302
52
#!/usr/bin/env bash # Self-contained environment for the add-ros-publisher skill. # Source before the other scripts: source env.sh # # This skill edits C++ sources inside a CARLA checkout: the ros2 publisher / # subscriber layer, its dispatch in ROS2.cpp, and the call sites in the UE4 # plugin. It never runs a simulat...
7ec3769a8967b37754d9fd1f46efe1c4745fb50d1afbfc44a6ec20ad187cb37c
Shell
2,305
86
#!/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 ...
edb737f97acde0c4dd3a6d77ceec7c5ce3287157580d9e8eb183193362988906
Shell
2,305
75
#!/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 ...
64c3771ba2e9e46e7af2f7e265beffc71d9311bcbcea314c66da938598ef4114
Shell
2,307
98
#!/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 ...
06b1465562451a407ffdb833d264284c33682dc942e5446df87fa8213cd3882c
Shell
2,308
63
#!/usr/bin/env bash # 2015 Xingyu Na # This script runs on the full training set, using ConvNet setup on top of # fbank features, on GPU. The ConvNet has four hidden layers, two convolutional # layers and two affine transform layers with ReLU nonlinearity. # Convolutional layer [1]: # convolution1d, input feature di...
4888d7ddc2b34d475fb1a416a0b1e7ead150b16b4f86d68ffe34d2e729066b2f
Shell
2,308
85
#!/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: ...
d7831b2dc896692f898d6631e717f33e76b2e5b1aa2fc8823f67088d5b9ff0a4
Shell
2,310
76
#!/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 ...
f637061216cbd9ca7cce5c118af185ee998f07dc0a50c036fd962cbb92f16f21
Shell
2,310
72
#!/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 I...
5b67f4890d0cbdc137a6f15fc0896761f5603b2b942e9b28384a76d5f63d07f7
Shell
2,311
90
#!/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 ...
2281b6cf4ff459047cafa8fd19415502f9c2727d8b19508137aa75f8e73954b8
Shell
2,312
83
set -e export PYTHONPATH=".." # input data and base directory export TEST_BASE="." export TEST_DATA_PRETRAINING='ZINC_raw_small.tsv' export TEST_DATA_FINETUNING='A2AR_raw_small.tsv' export TEST_DATA_ENVIRONMENT='A2AR_raw_small_env.tsv' # prefixes for output files export VOC_PREFIX='vocabulary' export PRETRAINING_PRE...
a62004c60b651469860383aedff51d46d53d52638da47897ae0a290744eda600
Shell
2,312
84
#!/bin/bash DATA_NAME=(${@:1:1}) echo ${DATA_NAME} #HEURISTIC_FILE=(${@:2:1}) #echo ${HEURISTIC_FILE} # HEURISTIC_FILE="src/Heuristics_Abbas_all_T1_T2_fMRI_DTI_SWI.py" SEARCH_LV=1 LOG_FILE=${DATA_NAME}_heudiconv LOG_FILE_r1=${LOG_FILE}_run1.log LOG_FILE_r2=${LOG_FILE}_run2.log WD_DIR=${HOME}/scratch DATA_DIR=${WD_DIR}...
421622d0b7c5936e1fcac93c8c907b487a7be5d596789092a923fc16e4c2bd0d
Shell
2,326
66
#!/usr/bin/env bash # this script creates a new data directory data/$new_mic # where the train, dev and eval directories are copied from $original_mic # in addition to these a new data directory train_parallel is created which has # the segment ids from data/$original_mic but the wav data is copied from # data/$paral...
237e867e9e2785d769de8ee79328dc52df841aed6022a04a3e91a82cc055a777
Shell
2,327
120
#!/bin/bash # run FastQC # script filename script_path="${BASH_SOURCE[0]}" script_name=$(basename "$script_path") segment_name=${script_name/%.sh/} echo -e "\n ========== SEGMENT: $segment_name ========== \n" >&2 # check for correct number of arguments if [ ! $# == 4 ] ; then echo -e "\n $script_name ERROR: WRONG...
d04a45eab9994cee460d8592ebf0dc66617b132d694e8a9c1862c36a11139274
Shell
2,328
71
#!/bin/bash JASPAR_folder_name=$1 weighted=$2 cluster_cutoff=$3 motif_cutoff=$4 gap=$5 #specify file locations workdir=regulation/data/TFs/ClusterBuster res=$workdir/results/$JASPAR_folder_name #where jaspar_output files are to be found subs=$workdir/results/$JASPAR_folder_name/subset_cbust #where to put all of this ...
b6d5c325ac3aa4e1fa1ee469cfa3f036dc8e74be3df1750fd58516789b6d727a
Shell
2,329
52
#!/bin/bash #1 ######### map with bwa2 ########## r1=/data/share/htp/TRNP1/dna_resequencing/Trnp1_Ferret/trimmed/R1.fastq r2=/data/share/htp/TRNP1/dna_resequencing/Trnp1_Ferret/trimmed/R2.fastq bam=/data/share/htp/TRNP1/dna_resequencing/Trnp1_Ferret/ferret_trnp1_bwa.bam genomeFa=/data/share/htp/TRNP1/dna_resequencing/...
b811009d6d24235d9d1f0afbfbcf1ca9cbd17a6fe1aa28732fd7a8a91214fe66
Shell
2,329
85
#!/usr/bin/env bash # Copyright 2018 Johns Hopkins University (Author: Aswin Shanmugam Subramanian) # Apache 2.0 . ./cmd.sh . ./path.sh # Config: nj=4 cmd=run.pl . utils/parse_options.sh || exit 1; if [ $# != 3 ]; then echo "Wrong #arguments ($#, expected 3)" echo "Usage: local/run_wpe.sh [options] <wav-in-di...
9c0d6edff4a6c41bdeafbf6d8e680e9cc21530714bf976c4eb192dff21aae7e4
Shell
2,331
82
#!/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 ...
6b6744cedca9ba74f0e4d83f9e859aa71c0ac8c606d5ad1db9735992dba953e3
Shell
2,332
57
#!/usr/bin/env bash # Copyright (c) 2016, Johns Hopkins University ( Yenda Trmal <jtrmal@gmail.com> ) # License: Apache 2.0 # Begin configuration section. cmd=run.pl acwt=0.1 beam=8 # End configuration section echo $0 "$@" . ./utils/parse_options.sh set -e -o pipefail set -o nounset # Tre...
3249b6f7067ad0e239a91d68295a061cdb274ba5ccfb79e290336a0191661628
Shell
2,337
90
#!/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 ...
cbcc307212437a6d1b6b57306f402ebe3b35b9c738b879d5f9e7f1c1635434ba
Shell
2,338
82
#! /bin/bash # Copyright Johns Hopkins University # 2019 Fei Wu # Decode on new data set using trained model. # The data directory should be prepared in kaldi style. # Usage: # ./local/chain/tdnnF_decode.sh --data_src <prepared_data_dir> set -euo pipefail echo "$0 $@" stage=0 decode_nj=10 data_src= affix= t...
f4cd946ccbe97ed8cb482ee3cfb95f24ccdbc128980f8d695b2f3c9ae0c59c26
Shell
2,340
94
#!/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 ...
28e52f545dd62b5172e0415551642ff12de7377f5156511c6100f50b94166c0f
Shell
2,346
63
#!/bin/bash #SBATCH --error=regulation/data/TFs/ClusterBuster/results/slurms/slurm-%J.err #SBATCH --output=regulation/data/TFs/ClusterBuster/results/slurms/slurm-%J.out workingdir=regulation/data/TFs JASPAR_folder_name=$1 fasta=$2 weighted=$3 cluster_cutoff=$4 motif_cutoff=$5 gap=$6 cd $workingdir/JASPAR_2020/JAS...
80173a4de36bd34f96dbb78081adbe053eececee320098c4cda39237a559651a
Shell
2,347
52
#!/usr/bin/bash set -euxo pipefail GSE=BICCN2 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' tn_marker='tasic2018_gaba.txt,t...
d08d4bf72b60b894275459b2d4651c67b882d3dfb1597a8fe2e970df0654c7f0
Shell
2,347
93
#!/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 pepolar=none breverse=none bforward=none scriptdir="$( cd -- "$(dirname "$0")" >/d...
a6fc3c44cd384b77022a710118b10c2cd09c4056cec46cd4ec42261c1db6bac8
Shell
2,350
74
#!/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 agglomerative # hierarchical clustering. The output directory contains an RTTM file # which can b...
87fc9ee0ea60e213406965b3ad5c77b20b321043417c432f8cef2ca749f27169
Shell
2,351
95
#!/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 ...
25d69ef66a5eb886eb26412d6d863f983c520e75fcd8be501d40ba34c275c7ea
Shell
2,352
56
#!/usr/bin/env bash # Prerequisite checks for load-map. Read-only, no sudo. Fast (short connect # timeout) so the MCP check_prerequisites(name) tool never hangs. # Exits non-zero ONLY on hard blockers: no `carla` module, or no reachable server. # On-camera banner: every skill run announces itself, so a terminal recordi...
5d07d8ea30cfdece0018e973b61fed0e09d1fff1858e020a26989d0b5b3ec790
Shell
2,354
69
#!/usr/bin/env bash stage=0 train_stage=-100 # This trains only unadapted (just cepstral mean normalized) features, # and uses various combinations of VTLN warping factor and time-warping # factor to artificially expand the amount of data. . ./cmd.sh . utils/parse_options.sh # to parse the --stage option, if given...
84549aee1196c7efee80c14dcd329a580873801fbc75c6c6961374e0939ee9a0
Shell
2,358
52
#!/usr/bin/bash set -euxo pipefail GSE=BICCN2 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' tn_marker='tasic2018_gaba.txt,t...
94db760a317247e2aa52a6d0e2d5721ddd5206c94ca0ea602f62ee871d2cb14b
Shell
2,365
74
#!/bin/bash # Copyright 2021 Xiaomi Corporation (Author: Yongqing Wang) # Seasalt AI, Inc (Author: Guoguo Chen) # This script rains a typical ngram language model. set -e -o pipefail stage=0 lm_order=4 vocab_size=50000000 # Cap the vocabulary so that it won't blow up. cmd=run.pl mem=10G . ./cm...
fb38e7d18c7abdb59efc97993b5f3bab77c9338b8adb54d789ba90a7b5e30113
Shell
2,367
90
#!/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 ...
3635a5e9d591988bdb1382ca8d38c9ba745c417c06a736eaee0bdee2df9871f4
Shell
2,370
95
#!/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 ...
a387e570a5322ffef12682de6748b9cb5353fbd30dd4c6ce1284967bbc846d82
Shell
2,373
78
#!/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 ...
b962285d205ec83f66ee21db5582dc3e2c30392e74045ee7a5efc44934ec4fb8
Shell
2,378
78
#!/bin/bash # Copyright (c) 2021. Huawei Technologies Co., Ltd. All rights reserved. # # 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 # # Un...
45a1bab8944c15bb037c801f3d6d66676ef754e803d14a1af8f183ff755197e2
Shell
2,379
74
#MOLGENIS walltime=24:00:00 nodes=1 cores=1 mem=6gb #Parameter mapping #string cramFileDir #string annotationGtf #string htseqTxtOutput #string samtoolsVersion #string htseqVersion #string stranded #string htseqDir #string mode #string sortType #string featureType #string internalId #string sampleName #string project ...
1e78bc3e681f3bcda68196ca0c7d9021baee994341ef0cd72d0bb60b62dfb5b4
Shell
2,387
110
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Guoguo Chen) # Apache 2.0. if [ $# -ne 2 ]; then echo "Usage: local/generate_example_kws.sh <data-dir> <kws-data-dir>" echo " e.g.: local/generate_example_kws.sh data/test_eval92/ <data/kws>" exit 1; fi datadir=$1; kwsdatadir=$2; text=...
30333288850d33986fd755158e6e9f0b88c553a168a57222b85152959283ef7b
Shell
2,387
86
#!/usr/bin/env bash # Copyright 2014 Johns Hopkins University (author: Daniel Povey) # 2020-2021 Xiaomi Corporation (Author: Junbo Zhang, Yongqing Wang) # Apache 2.0 set -e remove_archive=false if [ "$1" == --remove-archive ]; then remove_archive=true shift fi if [ $# -ne 2 ]; then echo "Usag...
cfe6fdd74193691190a000baac9ddefe0dbbd4ff7defe6c6a426e30d15fe0cee
Shell
2,388
81
#!/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 ...
3904558971b7fabb79a4f3a2996a35e1c5c0ede472eda4ce12438ac153b50621
Shell
2,391
110
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Guoguo Chen) # Apache 2.0. if [ $# -ne 2 ]; then echo "Usage: local/generate_example_kws.sh <data-dir> <kws-data-dir>" echo " e.g.: local/generate_example_kws.sh data/test_eval92/ <data/kws>" exit 1; fi datadir=$1; kwsdatadir=$2; text=...
8acf28ff57e236f5d62279f1ab96f8e7522b0ff09db15ba78d40b24fb130c5df
Shell
2,395
87
#!/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 ...
375867c34ef69aa53310c1c5cc00804c6362d34393290894424c61ef56feac30
Shell
2,397
78
#!/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 ...
1967c6e0480cb7449b7f77e598da993e584b1907ae40c10c08ad157bbc9ef3b3
Shell
2,398
71
#!/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 ...
3cd77bf7ad3ea0b358f298717e00f8fbd77aaecffd6636723d7ba77a59eac2ea
Shell
2,406
98
#!/bin/bash # Usage # ./Depict2Run.sh <traitfile> <output folder> <parameterfile> # Path to the depict2 compatible zscore matrix or gene pvalues when using RUN2 # Parameter file is a bashscript containing the paramters voor een run # If any exit code in this script is not 0, quit set -e # Load java ml Java echo "[IN...
41891986df2db36e812190b1b2016e564a0595d0ec06f05037b39a66bfe60d41
Shell
2,409
54
#!/usr/bin/env bash # Prerequisite checks for set-world-settings. Read-only, no sudo. Fast probe so # the MCP check_prerequisites(name) tool never hangs. # Exits non-zero ONLY on hard blockers: no `carla` module, or no reachable server. # On-camera banner: every skill run announces itself, so a terminal recording # sho...
add97ee68c911a5c0e22f4437e4096323c8a5d31bee54648d5992fd9fa8d9698
Shell
2,411
70
#!/usr/bin/env bash # Copyright 2015 Johns Hopkins University (author: Vijayaditya Peddinti) # Apache 2.0 # This script downloads Multichannel Acoustic Reverberation Database at # http://www.commsp.ee.ic.ac.uk/~sap/resources/mardy-multichannel-acoustic-reverberation-database-at-york-database/ #========================...
813c7266236a6689b4c71bda647126164034ec9cc3b7bcb8c9aab0953cf8e2d5
Shell
2,413
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 ...
16e9827228711b5a4fa20e64ad954f07f870812e006cc5df68acadfb4240e2db
Shell
2,414
65
#!/usr/bin/env bash # Copyright 2015, Mitsubishi Electric Research Laboratories, MERL (Author: Shinji Watanabe) . ./cmd.sh if [ -f ./path.sh ]; then . ./path.sh; fi # Config: cmd=run.pl nj=4 multiarray=outer_array_mics bss_iterations=5 context_samples=160000 . utils/parse_options.sh || exit 1; if [ $# != 3 ]; then ...
960ad15aeaff1e4202bd3282437a1f1370a8a9e86bee4bca705691060a73ecb1
Shell
2,414
68
#!/usr/bin/env bash # Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0. # begin configuration section. cmd=run.pl min_lmwt=5 max_lmwt=17 #end configuration section. [ -f ./path.sh ] && . ./path.sh . parse_options.sh || exit 1; if [ $# -ne 3 ]; then echo "Usage: $0 [--cmd (run.pl|queue.pl....
b0b7912e768c16f590444634db63979edde81a439d8c5023f5aec3b2b18cd728
Shell
2,414
69
#!/usr/bin/env bash # Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0. # begin configuration section. cmd=run.pl min_lmwt=5 max_lmwt=17 word_ins_penalty=0.0,0.5,1.0 #end configuration section. [ -f ./path.sh ] && . ./path.sh . parse_options.sh || exit 1; if [ $# -ne 3 ]; then echo "Usag...
4d128d4670fb4803ba5212877faca95de133f11c78d990e1dc4aad8915367523
Shell
2,416
97
#!/usr/bin/env bash # Copyright 2018 Emotech LTD (Author: Xuechen Liu) # compare wer between diff. models in hkust chain directory # exemplar usage: local/chain/compare_wer.sh --online exp/chain/tdnn_7h_sp # note: this script is made quite general since we kinda wanna give more flexibility to # users on adding ...
de655eb80a3e9b816d3decf7de30f9f280a1372af60bf6ecd8cf4307841f1772
Shell
2,428
100
#!/usr/bin/env bash # Copyright 2014 Johns Hopkins University (author: Daniel Povey) # 2019 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...
521b383d1b2b2de5643db16a9186805e5478b0369ba80006dde565b5e1edc4b2
Shell
2,431
83
#!/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 3)" echo "Usage: local/run_beamform_2ch_track.sh [opt...
060b833c38bbfe60e8ad743337c58cd45bf1a78ad553c5441f84705471cf1247
Shell
2,432
71
#!/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 ...
8f26caa14da2f827606917fd53c81a91bf3b95e5ef704d844b51e1f9911c76f5
Shell
2,434
97
#!/usr/bin/env bash # Copyright 2018 Emotech LTD (Author: Xuechen Liu) # compare wer between diff. models in aidatatang_200zh chain directory # exemplar usage: local/chain/compare_wer.sh --online exp/chain/tdnn_2a_sp # note: this script is made quite general since we kinda wanna give more flexibility to # users...
5562cc9bb99d05858683e72e9b05017bd82bdbce445c46078cd5ba524546d14c
Shell
2,435
73
#!/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 ...
08b1d656b3ae4aa2754017ff77845cbf5c6bc5a90fcc2d49f78139484337bcfd
Shell
2,441
89
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Yenda Trmal) # Apache 2.0. # Begin configuration section. # case_insensitive=true extraid= min_lmwt=8 max_lmwt=12 cmd=run.pl stage=0 ntrue_from= # End configuration section. help_message="$0: score the kwslist using the F4DE scorer ...
7ff2b9802bbe6b01ef6266b00bfe697e40567a7d4427a6c70c04c40386b67849
Shell
2,442
60
#!/usr/bin/env bash # Prerequisite checks for check-feature-support. Read-only, no sudo, fast. # # This skill has NO hard prerequisites on purpose: `matrix` and `broken` answer # from the skill's own text, so they work on a machine with no CARLA at all. The # checks below only report how much `probe` will be able to se...
3c9aa3ea47401a3962e16d58e29da948a93cbd3beb8c0778c586a1c5dc58344f
Shell
2,463
66
#!/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 ...
efebcd490484e2876d7731cc8469513add8851e48369fd294e0fa8fbfb2d08e1
Shell
2,465
73
#!/usr/bin/env bash # Copyright 2015 Johns Hopkins University (author: Vijayaditya Peddinti) # Apache 2.0 # This script downloads the Aachen impulse response database # http://www.ind.rwth-aachen.de/en/research/tools-downloads/aachen-impulse-response-database/ #============================================== download...
d5d10137b3467de77d5e87629ad2c4195e73713f45422bf5cf6562cd531e8e3f
Shell
2,467
39
#!/usr/bin/env bash numb_of_files=$1 out=$2 sample=$3 aux=$4 quality=$5 echo 'Selecting unique UMIs' if [[ $numb_of_files == 1 ]]; then # IF SE READS bedtools bamtobed -i ${out}/${sample}.q${quality}.bam | awk '$6 == "+"' | awk '{OFS="\t";print $4,$1,$2,"+"}' > $aux/forward & pid1=$! # if + strand DSB location is ...
29f67eeca990df9867c9ad0c06724b7d264a2c6255c46634ea6baf823860346b
Shell
2,468
74
#!/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_aidatatang_200zh data/aidatatang" exit 1; fi aidatatang_audio_dir=$1/corpus aidatatang_text=$1/transcript/aidatatang_200_zh_tra...
4f6a5984b5dd78eba9ececed54a1f0ae51414d9ecfacb9bdf30e27067cefd157
Shell
2,471
97
#!/usr/bin/env bash cmd=queue.pl nj=40 stage=0 speed_perturb=true . ./path.sh . utils/parse_options.sh if [ $# -ne 4 ]; then echo "Usage: $0 <utt-map> <data-dir> <src-lat-dir> <out-lat-dir>" exit 1 fi utt_map=$1 data=$2 srcdir=$3 dir=$4 mkdir -p $dir cp $srcdir/{phones.txt,tree,final.mdl} $dir || exit 1 cp $s...
9cc7176382ea57174f90d3b358bf8729507b7dada1ebd7e8276b4f9c7ef52d5c
Shell
2,474
75
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Daniel Povey) # 2014 Brno University of Technology (Author: Karel Vesely) # Apache 2.0 # begin configuration section. cmd=run.pl stage=0 min_lmwt=1 max_lmwt=10 #end configuration section. [ -f ./path.sh ] && . ./path.sh . parse_options...
06b0b0d1b9348bc056841f7a87eec19f229c4baea0b851fef0ba3af074eab94f
Shell
2,485
48
# 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 set size (kbyte...
89577458469fd958a99ff91e95d19096c481aac7e52e88cb7e215a33321d63fd
Shell
2,485
70
#!/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 ...
7e4de8abec8574ab40e5a3fc6b73d9d213666e7075b0a45f225b2396b8216437
Shell
2,488
105
#!/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...
8aa4844389c5c5037140ea8c3a411403702fabcb5914c30d42fdaf317a4c23a1
Shell
2,489
105
#!/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...