sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
6b17fe25b024398b46024673730bbb55ffefa8c690004874503ff27a92cbfc88
Shell
2,814
78
#!/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 ...
b0ee2247ee1ee214936da006eb331c9f7e4ea304a2cea2963f41785afc08d240
Shell
2,817
85
#!/usr/bin/env bash # Copyright 2012 Vassil Panayotov # 2017 Ewald Enzinger # Apache 2.0 # Adapted from egs/voxforge/s5/local/voxforge_prepare_dict.sh (commit acb5439bf97a39398d5eeb926a2a5cfa71b5f72a) . path.sh || exit 1 locdata=data/local locdict=$locdata/dict echo "=== Preparing the dictionary ..."...
42198700d80965b3ce58ea2a2306d859659d0eb2f7a156e6baf69a0fea417d46
Shell
2,818
104
#!/usr/bin/env bash # shellcheck source=./utils.sh source $(dirname "$0")/utils.sh # Check if there is input [[ ( $# -eq 0 ) ]] && displayhelp $0 1 # Preparing the default values for variables overwrite=no scriptdir="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" stdpath=${scriptdir}/90.template mmres=no tas...
66287b61be3b868d6260e93e91eb71fb8ab42fb66ffb2b7e7d9f93864e6a56b7
Shell
2,820
78
#!/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 ...
455e4f4d90c4f02a4c7181619fb3c8750d3746bc2ff91e9506b524862b1bd5f6
Shell
2,821
65
#! /usr/bin/env bash # Build the carla-cosmos image. # # ./build_image.sh --nano|--full [--tag carla-cosmos:nano] [--hf-cache ~/.cache/huggingface] # [--hf-token-file ~/.hf_token] [--no-models] [--push] [--platform linux/amd64] # # --hf-cache reuse weights from a local Hugging Face cache (HF...
4d2841e4113683f8e1d0d4804737a4163be32d947cd368d338d9b02346c87039
Shell
2,824
76
#!/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 # #...
9047c26e0e59131e10064212665a83841e75881a4befbc0ed01a1f7f35f05c9c
Shell
2,824
80
#!/bin/sh # Control number of threads used for numpy parallelism. export MKL_NUM_THREADS=2 export NUMEXPR_NUM_THREADS=2 export OMP_NUM_THREADS=2 SERMODS_ROOM_TEMP=$DATA_PATH/models/5HT/5HT_AugmentedGIFs.lmod SERMODS_HEATED=$DATA_PATH/models/5HT_heated/5HT_AugmentedGIFs.lmod REPEATS=20 PROCESSES=10 # Generate GIFnet ...
08592f799200ce2b33cddafa9fdbc6944dcd8f3e57a68c3d10680e217e75f6c2
Shell
2,825
104
#!/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 ...
e62a73d07ac7258f9bc9281cfef051879ddff0e8a89bea0d8076dba0d4730d73
Shell
2,825
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 ...
a14a7188e58c717bcad20fb72463a754b934cd6e34b90fe4e6a208edc0d9d132
Shell
2,826
100
#!/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 ### print input printline=$( basename -- $0 ) echo "${printline}" "$@" # Parsing required and optional variables with flags # A...
7de2063b8277421e1123fc5ca867f7a78cd44f2a260ad2c4ad45fb02687cd6e5
Shell
2,831
115
#!/usr/bin/env bash # Copyright 2021 Behavox (Author: Hossein Hadian). # Apache 2.0. # Run an ASR pipeline from the GMM training stage up to the chain model training. # Expects the data/lang to be prepared already. Specifially, these should # exist before running this script: # -- data/$train_set # -- data/lang_nosp...
2054edd7a71b5ea43961492603938b94926746b887002124dfbf0dd4007a8798
Shell
2,833
110
#!/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...
9e82c7ce0dec8155168a091c1bcbbf84b64ad2309b3111e9ae13cc401e4513d1
Shell
2,835
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 ...
e214f57f2ff5777c49445d187aee7f6cd9c310695ddff48f3479d54a5fd35aa2
Shell
2,836
79
#!/usr/bin/env bash # Kaldi ASR baseline for the 3rd CHiME Challenge # # Copyright 2015 University of Sheffield (Jon Barker, Ricard Marxer) # Inria (Emmanuel Vincent) # Mitsubishi Electric Research Labs (Shinji Watanabe) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) . ./pat...
896f7b071b71523748d448d0cdae34280ec0d672eb8833c97064591e20a292e5
Shell
2,844
101
#!/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 ...
452f6c76e6f121a0dc07d304526a2aa3512d02ff74aca4aebae37b31c0e00627
Shell
2,846
96
#!/bin/bash # 2016 Modified by Takafumi Moriya at Tokyo Institute of Technology # for Japanese speech recognition using CSJ. # Copyright 2013 Arnab Ghoshal # Johns Hopkins University (author: Daniel Povey) # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file...
ce02bb1dc4dab7ba7bb7d7d7218974004c4fbddf1005bc68898aebbe3b744f4d
Shell
2,847
54
#!/usr/bin/env bash # Step 07 — end-to-end verification against the FROM-SOURCE build. # # This skill builds source artifacts, not a Dist/ package, so verification runs # the UNCOOKED server directly ([[run-carla-server]], `UE4Editor -game -nullrhi`) # rather than a cooked CarlaUE4.sh. It boots that server, waits for t...
9807946c172809e86e75bdb9821fbd0b02e9cd86d14250f6f52d26b4811a258c
Shell
2,854
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...
806f9d0a152c55be2d249d5f266eba9d1fc94c92178a8c5147cb8ea1ed63b967
Shell
2,864
96
#!/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 ...
8f6f2bd6a24117a5d178c097baea737caf47b7002a8cabd8a0b02a96fd84923f
Shell
2,867
70
#!/bin/bash export LC_ALL=C if [ $# -ne 5 ]; then echo "Usage: recipes/02_preprocess_text.sh <transcript_list> <lid_model> <mptable> <recipe>" echo " <corpus_dir>" echo "e.g.: $0 transcripts.list recipes/lid.176.bin generated/mp-table.csv" echo " recipes/parl_t...
af66a9d11bf65ff4fe1e7ce2f695ba927e02e9328e2ee7a17cb5b70413f12137
Shell
2,867
83
#This script is not really supposed to be run directly #Instead, it should be sourced from the decoding script #It makes many assumption on existence of certain environmental #variables as well as certain directory structure. if [ ${dataset_type} != "supervised" ] ; then mandatory_variables="my_data_dir my_data_list ...
0fba615b8f14c19fe4db0200863d32527dfb610fe959ec1d10c4baed03c2a6a7
Shell
2,870
86
#!/usr/bin/env bash # # Apache 2.0. # This script applies sliding window CMVN and writes the features to disk. # # Although this kind of script isn't necessary in speaker recognition recipes, # it can be helpful in the diarization recipes. The script # diarization/nnet3/xvector/extract_xvectors.sh extracts x-vectors ...
9648836e2405ff1f3b80b2ac951b49260214bd95092df3db230e8236de7e7391
Shell
2,870
83
#This script is not really supposed to be run directly #Instead, it should be sourced from the decoding script #It makes many assumption on existence of certain environmental #variables as well as certain directory structure. if [ ${dataset_type} != "supervised" ] ; then mandatory_variables="my_data_dir my_data_list...
4ba41831e3512ee7e8e0b4d1187fb2d502e8ac2a6163afbed83833a83fed18a0
Shell
2,877
101
#!/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 ...
68cf89a653b1df8a6e7e48eebfd6b8842848f489dfec99e1178146a934d54055
Shell
2,879
86
#!/usr/bin/env bash # # Apache 2.0. # This script applies sliding window CMVN and writes the features to disk. # # Although this kind of script isn't necessary in speaker recognition recipes, # it can be helpful in the diarization recipes. The script # diarization/nnet3/xvector/extract_xvectors.sh extracts x-vectors ...
1cb7ecabe7b01f246b19c7026d7bf8db23234887e6cdd3628d4db4e16616d8d9
Shell
2,880
80
#!/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 ...
300267166148016b08f7f921fa0549bbf2510f7b5204e59c063aa6a36df9a8ba
Shell
2,881
114
#!/usr/bin/env bash # 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, WI...
cdb9185dc324ca6b0f4e8195064a9b9461828ea98d21316f4b779b22e1655a77
Shell
2,881
70
#!/bin/bash export LC_ALL=C if [ $# -ne 3 ]; then echo "Usage: recipes/05_create_final_kaldi_files.sh <input_dir> <output_dir> <corpus_dir>" echo "e.g.: $0 generated/autumn2020 final_outputs/fi-parl-autumn2020 path/to/corpus" echo echo "This script creates combined Kaldi files for all session Kaldi f...
f419f02e9e4a33ce1ebe94c4e39a27fe215016dd0d7648f2dd465c9bed54326a
Shell
2,884
86
#!/usr/bin/env bash # Copyright 2014 Pegah Ghahremani # 2014 Johns Hopkins (Yenda Trmal) # Apache 2.0 # This is really an alternative path to the BNF-SGMM, # where we train a DNN instead of an SGMM. . conf/common_vars.sh . ./lang.conf [ -f local.conf ] && . ./local.conf set -e set -o pipefail set -u ...
ffd72a42b96f46dee3a8ed6628751d74baface017f575d9d3413bc06d82198d2
Shell
2,884
85
#!/usr/bin/env bash # Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0. # Modified by Takafumi Moriya for Japanese speech recognition using CSJ. # This script is for scoring with morpheme. # begin configuration section. cmd=run.pl min_lmwt=5 max_lmwt=17 #end configuration section. [ -f ./p...
47f7d784231b6a578ef55a14c32d196991feea0b2c84b84e62ddcfaa1f472bfc
Shell
2,887
74
#!/usr/bin/env bash # Copyright 2019 Ashish Arora, Vimal Manohar # Apache 2.0. # This script takes an rttm file, and performs decoding on on a test directory. # The output directory contains a text file which can be used for scoring. stage=0 nj=8 cmd=queue.pl echo "$0 $@" # Print the command line for logging if ...
b11d7fe7e477a923ea22162922a24f61a1215c010ef181e447a07171dc8f12ac
Shell
2,889
111
#!/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 ...
945eacad019c6a18c7e6a2c2b463cce3a790edcbda8f6c9e5d85349aa1ed5176
Shell
2,892
61
#!/usr/bin/env bash # Self-contained environment for the install-python-api skill. # Source before the other scripts: source env.sh # # This skill installs the CARLA *client* (the `carla` python package) into an # interpreter. It never touches the simulator. # # PYTHON interpreter to install INTO. Defa...
4370383a40a9acf7a54b339ede035607bf2d48deb5d01bae3c5ebb87f25aaa03
Shell
2,895
106
#!/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...
db2c8aa50ce70be513235e382c8161bb9d9485156793d7c2afa2afefeb96896a
Shell
2,903
91
#!/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} prottest_bin=bin/prottest/prottest-3.4.2.jar PT_ARGS="-I -G -F -BIC -AIC ...
e931c308171db580aebdd73fe31d37db76c9f309dd09955578b1f826bdbfea15
Shell
2,904
77
#!/bin/bash set -euxo pipefail echo $PATH 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,tasic2...
78cf06b4f896012c43fe7fa410a4433fb815a2ffc3c7ab3c4d9586a4966b43c8
Shell
2,908
80
#!/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/...
1967e1f40148d7da93a2d79228996613392c2afe1312bc2c7d38aeb2244ed050
Shell
2,923
88
#!/usr/bin/env bash . ./path.sh #First get the list of unique words from our text file if [ $# -lt 1 ]; then echo 'Usage callhome_prepare_dict.sh lexicon' exit 1; fi stage=0 dir=`pwd`/data/local/dict datadir=`pwd`/data/local/data/train_all mkdir -p $dir local=`pwd`/local utils=`pwd`/utils tmpdir=`pwd`/data/loca...
8d3c137f09c90c0c983eb0bf5cc8cc5fb386701ddbf4982d0943e6aa57a287fb
Shell
2,924
109
# Please note that we can make no guarantees regarding the use of this patch # and provide no warranties, explicit or implied. # It has been tested for pixman version 0.38 in Ubuntu 18.04 and 20.04 # # Preparation: # 1. ensure a deb-src source is uncommented # sudo nano /etc/apt/sources.list if grep -q ^deb-src /etc/ap...
9c89c4d47752a37622dacbef1c1ccc0fc6001efe191f22bf096dd1d0ab363bf0
Shell
2,925
106
#!/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...
86cca5db10f600a5e076c6df8a448a38c6973d906105a0bad9a92a6976594759
Shell
2,926
105
#!/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...
aeceabb0f552e40f688c61635eaa901c8901cbec5ccf3cd3a20ac0f6a77be1e5
Shell
2,927
82
#!/usr/bin/env bash # this script has common stages shared across librispeech chain recipes. # It generates a new topology in a new lang directory, gets the alignments as # lattices, and builds a tree for the new topology set -e stage=11 # input directory names. These options are actually compulsory, and they have #...
72e4e53dd218e4602b824f112f7641cb3b61a32d2344919a528c52be1ac554f7
Shell
2,931
95
#!/usr/bin/env bash # this is an example to show a "tdnn" system in raw nnet configuration # i.e. without a transition model # It uses corrupted (reverberation + noise) speech as input and clean speech # as output. . ./cmd.sh stage=0 affix= train_stage=-10 common_egs_dir= egs_opts= num_data_reps=10 remove_egs=true...
9dd891b3f981de9fc117a9a37b25a266e0d97e5a3f857714d12b533c11d533d2
Shell
2,940
115
#!/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...
6bf426ee1e260fdc290da2eb9ad64a5249e406fcdc61eaa6f2c27dee5fbd8573
Shell
2,941
128
#!/bin/bash set -e # pretraining data echo $line echo "Test: Generate data for pretraining the fragment-based graph transformer..." echo $line python -m drugex.dataset \ ${DATASET_COMMON_ARGS} \ -i ${TEST_DATA_PRETRAINING} \ -o ${PRETRAINING_PREFIX} \ -mt graph ${DATASET_FRAGMENT_ARGS} echo "Test: Done." # finetunin...
84bfceaa6bb7906c36d3686ea50b2e773ee8c25cd2b7563d704658ee0f822d00
Shell
2,944
86
#!/usr/bin/env bash # Copyright 2016 Johns Hopkins University (Author: Daniel Povey, Vijayaditya Peddinti) # 2019 Vimal Manohar # Apache 2.0. # This script converts lattices available from a first pass decode into a per-frame weights file # The ctms generated from the lattices are filtered. Silence frames a...
becde4616abfd5a62ecbd86260d2973e78197b789fe453b469d5ee1db3203020
Shell
2,947
106
#!/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 ...
b8ede09fbac3ff0f172670da6af082dcc2bb67a307eba7307a969dc75cf3164e
Shell
2,948
72
#!/bin/bash set -euxo pipefail GSE=GSE127257 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,tas...
3921be5d2ee4e07a97169328f3bda2943d21a0f664a5adcc6e4e3e8145f256e0
Shell
2,951
78
dsname=$1 mkdir -p ./qcout/ # simple maf filter plink --bfile $dsname --mind 0.1 --maf 0.01 \ --geno 0.05 \ --hwe 0.00001 \ --make-bed \ --out ./qcout/$dsname\-filterstep1 #read -p "Press enter to continue1" # missingness plink --bfile $dsname \ --missing \ --out ./qcout/$dsname #read -p "Press enter to conti...
f045ba4a5a341243eea90547e38994ea37def29138549dab230297ff86c6a760
Shell
2,952
111
#!/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 ...
623a2f68c8ce106ee377bb2738ee3689997b5962e05cdd0153bebef394449f13
Shell
2,958
90
#!/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} jmodeltest_bin=bin/jmodeltest/jModelTest.jar JMT_ARGS="-i -g 4 -f -s 11 -...
3ea8d37dab06c040460474784e00c20cb7d4bde9105b183e29cfee351f300682
Shell
2,963
111
#!/usr/bin/env bash # Copyright (c) 2015, Johns Hopkins University ( Yenda Trmal <jtrmal@gmail.com> ) # License: Apache 2.0 # Begin configuration section. flen=0.01 segments= utt_table= # End configuration section echo $0 "$@" . ./utils/parse_options.sh || exit 1; set -e -o pipefail set -o nounset ...
f0eade6b1be2450e47fc705338a92cba9adaa6d4f02249f49032aec8125acad1
Shell
2,969
81
#!/usr/bin/env bash # Copyright 2021 Behavox (author: Hossein Hadian) # Apache 2.0 set -euo pipefail # This script: # 1. Perturbs the train data and prepares hires features for training. # 2. Prepares hires features for the test sets. # 3. Appends _sp and _sp_hires suffixes accordingly. # Note: this script does no...
260aa2e77ff398ba5e3893416bdeac9093bfa35d210cd051f63e628fba0764dd
Shell
2,971
84
#!/usr/bin/env bash # 2016 Modified by Takafumi Moriya at Tokyo Institute of Technology # for Japanese speech recognition using CSJ. # Copyright 2015 Brno University of Technology (Author: Karel Vesely) # Apache 2.0 # This example script trains a LSTM network on FBANK features. # The LSTM code comes from Yiayu DU, ...
1cbd6366a2e17a2e6474d3ea17e45ef6c87921fc671ddb782ac0a843876d8fae
Shell
2,975
100
#!/usr/bin/env bash # Copyright 2015, Mitsubishi Electric Research Laboratories, MERL (Author: Shinji Watanabe) . ./cmd.sh . ./path.sh # Config: nj=10 cmd=run.pl bmf="1 3 4 5 6" eval_flag=true # make it true when the evaluation data are released . utils/parse_options.sh || exit 1; if [ $# != 2 ]; then echo "Wro...
a2bcba38845f41b7224b50955674d7bef9f88e19d4f8d454ce5257c51428a024
Shell
2,976
88
#!/usr/bin/env bash # started from tedlium recipe with few edits set -e -o pipefail -u # First the options that are passed through to run_ivector_common.sh # (some of which are also used in this script directly). stage=0 nj=30 decode_nj=30 min_seg_len=1.55 train_set=train gmm=tri2b # this is the source gmm-dir for ...
dbd840fa0f6db9d8359b57bcfe2be4a3ad88a9315c05c43efedcc42cf6c433a3
Shell
2,980
72
#!/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=1:00:0 # Request 1 gigabyte of RAM (must be an integer followed by M, G, or T) # /usr/bin/time --verbose codeml gave Maximum resident...
66740e62ada53379813fb5269ed33261ab4bf80aecd20f40c3a4cfb8abc5fd69
Shell
2,983
87
#!/usr/bin/env bash set -e -o pipefail # this is called from the other nnet and chain training scripts. # It prepares normal-resolution MFCC features for purposes of getting # alignments and/or lattices on the speed-perturbed data. # These will either be from the IHM data (with the --use-ihm-ali true option), # or wi...
0c212eb0f0ed8d2cf861feffa379b7abc0322bb1e826481a4cd542b85ff375bc
Shell
2,987
98
#!/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 ...
1c1c8bba85a5e2f1d73c9c91a529987eb184c2c02c87f1e3e023ae2f31e41793
Shell
2,988
85
#!/usr/bin/env bash # Copyright Johns Hopkins University (Author: Daniel Povey, Vijayaditya Peddinti) 2016. Apache 2.0. # This script converts lattices available from a first pass decode into a per-frame weights file # The ctms generated from the lattices are filtered. Silence frames are assigned a low weight (e.g.0....
817bc60d6da608c1471833906d60232ac6ece34efb5373ccd6946e6a0694b4e0
Shell
2,988
95
#!/usr/bin/env bash # Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski) # AMI Corpus training data preparation # Apache 2.0 # To be run from one directory above this script. . ./path.sh #check existing directories if [ $# != 1 ]; then echo "Usage: ami_ihm_data_prep.sh /path/to/AMI" exit 1; ...
cc16138370e2837a4a94d33abeb1a98e86d50f1989a73f4e5a0a4ec44ab6c9b6
Shell
2,988
89
#!/usr/bin/env bash # # Apache 2.0. # This script applies sliding window CMVN and writes the features to disk. # # Although this kind of script isn't necessary in speaker recognition recipes, # it can be helpful in the diarization recipes. The script # diarization/nnet3/xvector/extract_xvectors.sh extracts x-vectors ...
a7c2c0dcf10251c2b7706cd46f825d33976dfae2362bea96e6d6a10bed5ab689
Shell
2,990
83
#!/usr/bin/env bash # Copyright 2016-2018 David Snyder # 2017-2018 Matthew Maciejewski # Apache 2.0. # This script is a modified version of diarization/score_plda.sh # that replaces i-vectors with x-vectors. # # This script computes PLDA scores from pairs of x-vectors extracted # from segments of a recor...
c62359aa9363a98aa860c57f6453673a3abb7dd59e271f62a18cc14d712fa5d7
Shell
3,003
87
#!/usr/bin/bash set -euxo pipefail GSE=GSE126074 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.tx...
95e8e089799ff02b1c356b1c23b73b8cb99200fe0cab41f9053e1de1342d1065
Shell
3,008
83
#!/usr/bin/env bash # Copyright 2010-2012 Microsoft Corporation Johns Hopkins University (Author: Daniel Povey) # 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/lic...
37e99287d3e479bff312e70c0c1679b25fda3e31f9a9702eefcda551b5fe7565
Shell
3,009
83
#!/usr/bin/env bash # Copyright 2010-2012 Microsoft Corporation Johns Hopkins University (Author: Daniel Povey) # 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/lic...
555d1608402b8b05f512d2166c60b1acd058d5bd7bc5be7d6ced52cb056f3c3e
Shell
3,009
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 mask=none masksource_in=none ### print input printline=$( basename -- $0 ) echo "...
80ec02b578b9468011be04b973cb6286881b1e427a3b819e596c1c8de8d7a14e
Shell
3,010
91
#!/usr/bin/env bash # # Apache 2.0. # This script adds deltas, applies sliding window CMVN and writes the features to disk. # # Although this kind of script isn't necessary in speaker recognition recipes, # it can be helpful in the diarization recipes. The script # diarization/extract_ivectors.sh extracts i-vectors f...
ad4f1228644c2a8acf0cf891cdf7fb6a7e748ba5dc821b8dfd034f8bb2093be1
Shell
3,012
106
#!/usr/bin/env bash # this script is used for comparing decoding results between systems. # e.g. local/chain/compare_wer_general.sh exp/chain_cleaned/tdnn_{c,d}_sp # For use with discriminatively trained systems you specify the epochs after a colon: # for instance, # local/chain/compare_wer_general.sh exp/chain_cleane...
0ef903896f45b90a7ccd751adf7b71c6637f9a8fcdc0fc70189589b4ea5ab464
Shell
3,018
87
#!/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' tn_marker='tasic2018_gaba.t...
3dad67df0904f61c68eaf75acb515431130d18dfee55d5c856b13cf71941794c
Shell
3,018
116
#!/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 ...
2299a8aab90aa61e992d392daf46ffff324bb97d83359ad25a20ccc4be554972
Shell
3,027
127
#!/bin/bash set -e echo $line echo "Test: Generate data for pretraining the fragment-based sequence models..." echo $line python -m drugex.dataset \ ${DATASET_COMMON_ARGS} \ -i ${TEST_DATA_PRETRAINING} \ -o ${PRETRAINING_PREFIX} \ -mt smiles \ ${DATASET_FRAGMENT_ARGS} echo "Test: Done." echo $line echo "Test: Genera...
53d05753eceb15e10db4a3f13f362a305cb0cdee96f48c0edb416054d8e2484d
Shell
3,030
96
#!/usr/bin/env bash # This script aims at helping create a PR to update the manifests of the # kubeflow/kubeflow 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 ...
b0544418c5dcd9441c6aa5ba987548e6b62ee21dfe858963b59128ed2daebd1f
Shell
3,036
10
sed -n '/Mandrillus_sphinx/,/^$/p' /data/share/htp/TRNP1/paper_data/regulation/data/TFs/ClusterBuster/results/OWMs_apes_intron_weighted/cbust_weighted_c5_m3_f1.txt > /data/share/htp/TRNP1/paper_data/regulation/data/TFs/ClusterBuster/results/OWMs_apes_intron_weighted/subset_cbust/scores/Mandrillus_sphinx.txt sed -n '/Ma...
25d766a4038a1b538f13bf62984fe714ee8c771bcf70132d9089777e11c21361
Shell
3,037
116
#!/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 ...
4744137d94442106e1928450421718dc108f0bf0e76452e0aac343d168f10922
Shell
3,039
111
#!/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...
4227dd22ee87c148da6bcd212e86cea76c6cd3aac1d6d40088672fe158d831df
Shell
3,040
69
#!/usr/bin/env bash # Copyright 2015 David Snyder # Copyright 2017 Emre Yilmaz (Adapted) # Apache 2.0. # if [ $# != 6 ]; then echo "Usage: $0 <plda-data-dir> <enroll-data-dir> <test-data-dir> <plda-ivec-dir> <enroll-ivec-dir> <test-ivec-dir>" fi plda_data_dir=${1%/} enroll_data_dir=${2%/} test_data_dir=${3%/} pld...
2e46d833fc91d4c26819b3cc647f58707ed938024d69ccb5d9102d9a1f5c554c
Shell
3,042
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 ...
4c77ecc843232fa9d2f32cd870e7b3b1fd2765ac1b224b5fee3ad16a3497bd5a
Shell
3,042
116
#!/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 ...
0ec9709c42db433935531046f4d99901a7465af8a22da21f97e4b6f72a50c1b7
Shell
3,046
10
sed -n '/Mandrillus_sphinx/,/^>/p' /data/share/htp/TRNP1/paper_data/regulation/data/TFs/ClusterBuster/results/OWMs_apes_intron_weighted/cbust_weighted_c5_m3.txt > /data/share/htp/TRNP1/paper_data/regulation/data/TFs/ClusterBuster/results/OWMs_apes_intron_weighted/subset_cbust/motifs/tmp/Mandrillus_sphinx.txt sed -n '/M...
25061d2595dbcd06ba1d6e8fbb32af37657e5a343717e2856fb1ce48630b0af6
Shell
3,049
91
#!/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...
cf60e5b1659663636d736ee4c3529077b6fdd3eb528289f827d6e7627c446baf
Shell
3,051
75
#!/usr/bin/env bash # The script reports: # 1. Images used by the Kubeflow Working Groups # 2. All images used by Kubeflow # The reported image lists are saved in respective files under ../docs/image_lists directory # The script must be executed from the `hack` folder as it use relative paths # Future release process...
7272d94cc81c98a5be469e53f6a537f03d641d78b2ee83f0012aae783416b22c
Shell
3,054
72
#!/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...
506c8aeacab00a6a96f3bc990305a90508455ccd0c9b4cd99be6dceaa169ad01
Shell
3,056
117
#!/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 ...
5c0288f22b39c18f7df5765aae34c6198502902a00a8d25bbb2ffd5f52cdfa4d
Shell
3,058
72
#!/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...
8dc8781bd954834a88ae397f773add2f57669a832b6cd1df75cce80e17b9dc66
Shell
3,058
72
#!/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...
99ac7c7db95e7f8b03b740a278d9a352d1204f72afe7f00f7b591419a35b59eb
Shell
3,059
173
#!/bin/bash DATA_NAME=(${@:1:1}) echo ${DATA_NAME} DATA_NAME=PPMI WD_DIR=${HOME}/scratch MRIQC_VERSION=0.16.1 CON_IMG=${HOME}/scratch/container_images/mriqc_${MRIQC_VERSION}.simg BIDS_DIR=${WD_DIR}/${DATA_NAME}_BIDS DATA_DIR=${WD_DIR}/${DATA_NAME}_fmriprep_anat_20.2.0/fmriprep OUT_DIR=${WD_DIR}/${DATA_NAME}_mriqc-${MR...
fc2d43155037e9e0d6cf8e33807f0b0e57e52afecd04d8e74a15af712aa1b242
Shell
3,059
73
#!/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...
085cd7d7dbe6587387f58660e4686a0781641987391d8a76a5ac979b5a7d1abf
Shell
3,060
72
#!/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...
691802619f90ded481179cea4b08a02fbd28eed682c43e694bef4184389af97f
Shell
3,060
84
#!/usr/bin/env bash # Copyright 2016-2018 David Snyder # 2017-2018 Matthew Maciejewski # Apache 2.0. # This script is a modified version of diarization/score_plda.sh # that replaces i-vectors with x-vectors. # # This script computes PLDA scores from pairs of x-vectors extracted # from segments of a recor...
d0bbef40008a06ae298dea2fbd491494ead5318cb0d645eebf9cffe40179e2e7
Shell
3,068
72
#!/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...
e8591be29f1d2be77bf1c9a6087dd2d8ef21d7bedb1178ab99099eda1de0432e
Shell
3,068
72
#!/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...
a25acc1cde223b456502f385a18983f888c8a2e9f789ffeaa21fe3a484da7625
Shell
3,069
117
#!/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 ...
d656353f346afa1845a20b7712c4a0b830efae4bad6b673db2d166e70fe78d41
Shell
3,069
72
#!/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...
97e3bc2049c4f0d332199b7eae9930ff15867f9074f84e25a499b3c882b0fbe6
Shell
3,071
102
#!/usr/bin/env bash # this is the standard "tdnn" system, built in nnet3; it's what we use to # call multi-splice. # At this script level we don't support not running on GPU, as it would be painfully slow. # If you want to run without GPU you'd have to call train_tdnn.sh with --gpu false, # --num-threads 16 and --min...
11c0ed84d98229b9c97da9838b8d7fff30ee997b905a07fe61c60ea4581fd5a3
Shell
3,079
113
#!/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...
dd101cb617f031ac31c550827e524b175d57774e5d2bf2b38c9023a3b15e6f21
Shell
3,079
98
#!/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 ...
d1201ce5b62091015aed9dec8ab5673697fa39a69161c6fa6f8e99d1da1c6afc
Shell
3,081
62
#!/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' tn_marker='tasic2018_gaba.t...
9792b09f92c8a8b8c9a94387fef04bf873f29c6010eebfec21e4e7630c0f277c
Shell
3,083
121
#!/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 ...
481ba27415cdafccb4cd8f121727850e12d630ea0604a9d1e4c3a75092293cad
Shell
3,086
146
#MOLGENIS nodes=1 ppn=1 mem=8gb walltime=23:59:00 ### variables to help adding to database (have to use weave) #string internalId #string sampleName #string project #string uniqueID ### #string stage #string checkStage #string reads1FqGz #string reads2FqGz #string sailfishDir #string sailfishVersion #string uniqueID #...