sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
fb20da2cc6e5640d129236051c572d7d952c626802749f42a146338162db5f1b | Shell | 6,383 | 180 | #!/usr/bin/env bash
# Copyright 2012-2013 Arnab Ghoshal
# Johns Hopkins University (authors: Daniel Povey, Sanjeev Khudanpur)
# 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 Licens... |
6754f22092797d6b3e52b9b6f24d1c8265949d913999612b26f7c0b2b940c7e4 | Shell | 6,387 | 181 | #!/usr/bin/env bash
# Copyright 2012-2013 Arnab Ghoshal
# Johns Hopkins University (authors: Daniel Povey, Sanjeev Khudanpur)
# 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 Licens... |
2b8c1b5f6bbec8cbbbc5a44a4388123f9225be98abdbc5bd6558d5c57461aa61 | Shell | 6,394 | 164 | #!/bin/bash -u
# Copyright 2012 Arnab Ghoshal
# 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
#
#... |
8a73010e7a895042ff32a7ce78f158751e7fa645b0de9d0149e333157597d71c | Shell | 6,400 | 181 | #!/usr/bin/env bash
# Copyright 2012-2013 Arnab Ghoshal
# Johns Hopkins University (authors: Daniel Povey, Sanjeev Khudanpur)
# 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 Licens... |
d4efe1f4b81610f644b6c5c7083e9e61609e83ba22fb25fb97f5895eaf0c6a68 | Shell | 6,408 | 154 | #!/bin/bash
# Copyright 2020 Ivan Medennikov (STC-innovations Ltd)
# Apache 2.0.
#
# This script performs 1st iteration of TS-VAD diarization
# using an initial diarization rttm to estimate i-vectors
cmd="run.pl"
ref_rttm=
lang=data/lang
#blstm processing parameters
extra_left_context=30
extra_right_context=30
f... |
7aaf5ba53af000b039247cd7218dc080b80c229961f3b9593d27d1ee49457082 | Shell | 6,420 | 176 | #!/usr/bin/env bash
# Copyright 2012-2014 Guoguo Chen
# Apache 2.0.
# Begin configuration section.
nj=8
cmd=run.pl
beam=-1 # Beam for proxy FST, -1 means no prune
phone_beam=-1 # Beam for KxL2xE FST, -1 means no prune
nbest=-1 # Use top n best proxy keywords in proxy FST, -1 means all
... |
345b6194dd7b464f99196d94eb17748551877b165f5687fadb27bd3cc2bf5d56 | Shell | 6,421 | 154 | #!/usr/bin/env bash
# Copyright 2012-2013 Johns Hopkins University (Author: Daniel Povey).
# 2014 Vijayaditya Peddinti
# Apache 2.0.
# This script does decoding with a neural-net. If the neural net was built on
# top of fMLLR transforms from a conventional system, you should provide the
# --transfor... |
2333edd9470b4e6ca88d5fab62d10c7b0117031ee050c7de14f201d25d6ec8a4 | Shell | 6,427 | 176 | #!/usr/bin/env bash
# Copyright 2013 Arnab Ghoshal, Pawel Swietojanski
# 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 PROVID... |
15a9d01757b4cb11f188d07cfe8428af4d0e88dfddc316f94511cbfed81f2eac | Shell | 6,433 | 145 | #!/usr/bin/env bash
# Copyright 2016 Vimal Manohar
# 2016 Johns Hopkins University (author: Daniel Povey)
# Apache 2.0
# This script demonstrates how to re-segment training data selecting only the
# "good" audio that matches the transcripts.
# The basic idea is to decode with an existing in-domain acousti... |
fec776008e6012f6f71503d86439f06148b58aef643dd401568a743c25eb27fa | Shell | 6,450 | 177 | #!/usr/bin/env bash
# Copyright 2012-2014 Guoguo Chen
# Apache 2.0.
# Begin configuration section.
nj=8
cmd=run.pl
beam=-1 # Beam for proxy FST, -1 means no prune
phone_beam=-1 # Beam for KxL2xE FST, -1 means no prune
nbest=-1 # Use top n best proxy keywords in proxy FST, -1 means all
... |
577417d6d8916031d66109a601113b5ae7065782655dcdab2606433b02c3ce77 | Shell | 6,451 | 167 | #!/usr/bin/env bash
#
# Copyright 2014 Univercity of Tehran (Author: Bagher BabaAli)
# 2014 Brno University of Technology (Karel Vesely)
# 2014 Johns Hopkins University (Daniel Povey)
#
# farsdat, description of the database:
# http://www.assta.org/sst/SST-94-Vol-ll/cache/SST-94-VOL2-Chapter15-p20.... |
c61fca84a126edac107410ee55bd87a1a8f41160715cdb32eb530dd9d06e4209 | Shell | 6,454 | 51 | #!/bin/bash
#SBATCH --job-name=DECON_TEST
#SBATCH --output=/groups/umcg-biogen/tmp03/output/2019-11-06-FreezeTwoDotOne/2020-03-12-deconvolution/jobs/output/DECON_TEST.out
#SBATCH --error=/groups/umcg-biogen/tmp03/output/2019-11-06-FreezeTwoDotOne/2020-03-12-deconvolution/jobs/output/DECON_TEST.out
#SBATCH --time=05:59:... |
9b40c110ec8cb6095e2a87a8efb19a688ff4cb13d5538045200a6412f0a8958e | Shell | 6,479 | 176 | #!/usr/bin/env bash
#
# Copyright 2014 Gaurav Kumar. Apache 2.0
# The input is the Fisher Dataset which contains DISC1 and DISC2. (*.sph files)
# In addition the transcripts are needed as well.
# To be run from one directory above this script.
# Note: when creating your own data preparation scripts, it's a good ide... |
11d5137a818efa190043b4e536ba0842e633e9a412e608780a8e03eed5335064 | Shell | 6,548 | 180 | #!/usr/bin/env bash
. ./cmd.sh
. ./path.sh
# You may set 'mic' to:
# ihm [individual headset mic- the default which gives best results]
# sdm1 [single distant microphone- the current script allows you only to select
# the 1st of 8 microphones]
# mdm8 [multiple distant microphones-- currently we only suppor... |
5085ac92cd0445f88a9ab9c0a713c2ee6c5511396f7fa11629c8813116f28413 | Shell | 6,578 | 151 | #!/bin/bash
# 2016 Modified by Tomohiro Tanaka at Tokyo Institute of Technology
# for Japanese speech recognition using CSJ.
# Copyright 2012 Johns Hopkins University (author: Daniel Povey) Tony Robinson
# 2015 Guoguo Chen
# This script trains LMs on the WSJ LM-training data.
# It requires that you hav... |
874aac55bc61b62dc13d143a58a3445199d464e0821882ca3289090876fdd113 | Shell | 6,590 | 166 | #!/usr/bin/env bash
# Copyright 2017 Hossein Hadian
# This script does end2end chain training (i.e. from scratch)
# ./local/chain/compare_wer.sh exp/chain/e2e_cnn_1a/
# System e2e_cnn_1b
# WER 13.72
# WER (rescored) 13.40
# CER ... |
44ea2196d56443a128047dd05bb3b62856711f45480fcaa8b2b3213b8ae65312 | Shell | 6,611 | 151 | #!/usr/bin/env bash
# Copyright 2013 Daniel Povey
# 2014 David Snyder
# 2019 Zili Huang
# Apache 2.0.
# This script trains the i-vector extractor for VB resegmentation. It is very similar to
# sid/train_ivector_extractor.sh except that the UBM is assumed to be diagonal in this script.
#... |
15a04aaf1bab23cfd47809164d4b12e446736057de031bd1be00b46e4ae27aee | Shell | 6,616 | 172 | #!/usr/bin/env bash
# This script builds a larger word-list and dictionary
# than used for the LMs supplied with the WSJ corpus.
# It uses a couple of strategies to fill-in words in
# the LM training data but not in CMUdict. One is
# to generate special prons for possible acronyms, that
# just consist of the constit... |
95ee1774a96d1a2bbd40cd4c4243d27ae7afde374aee779c7c7274092b29fbc2 | Shell | 6,625 | 154 | #!/usr/bin/env bash
# Copyright 2013 Daniel Povey
# 2016 David Snyder
# 2017-2018 Matthew Maciejewski
# Apache 2.0.
# This script extracts iVectors over a sliding window for a
# set of utterances, given features and a trained iVector
# extractor. This is used for speaker d... |
da57fd60193968e61e3c72b56dd65885af93ef6ab91a749e38fa8f3008ac9527 | Shell | 6,626 | 175 | #!/usr/bin/env bash
# This script does discriminative training on top of the online, multi-splice
# system trained in run_nnet2_ms.sh.
# note: this relies on having a cluster that has plenty of CPUs as well as GPUs,
# since the lattice generation runs in about real-time, so takes of the order of
# 1000 hours of CPU t... |
8b790054db555f22b31516145655199966a055129a287faad348b427a01e8e9e | Shell | 6,628 | 158 | #!/usr/bin/env bash
# this is run_nnet2_ms_disc.sh but with 4 jobs not 2 (and double the learning rate).
# This script does discriminative training on top of the online, multi-splice
# system trained in run_nnet2_ms.sh (the one with extra-wide context).
# note: this relies on having a cluster that has plenty of CPUs... |
fa12e0d3b57832f55c3cbdeb55374139c76db32e4823dd441e47b3a3749f0fcd | Shell | 6,629 | 153 | #!/bin/bash
# Copyright 2012-2013 Arnab Ghoshal
# Johns Hopkins University (authors: Daniel Povey, Sanjeev Khudanpur)
# 2019 Yiming Wang
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may ... |
3e1873b4d2938bd5f61f956c1d078f999d68f63c7634693634128243bc7f9f31 | Shell | 6,643 | 171 | #!/usr/bin/env bash
# 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)
# Config:
nj=30
stage=0 # resume training with --stage=N
... |
644bd36a6d104c69ed1289ec02fae3b5fe6d8457e113fa79aec886cc31188aa5 | Shell | 6,677 | 168 | #!/usr/bin/env bash
# Copyright 2010-2012 Microsoft Corporation; 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 ... |
89ee030b01e47b5e11eea0f06dce192db8dd8b3fa8531767d60916cc70b15620 | Shell | 6,679 | 159 | #!/usr/bin/env bash
set -euo pipefail
# This script is modified based on mini_librispeech/s5/local/nnet3/run_ivector_common.sh
# This script is called from local/nnet3/run_tdnn.sh and
# local/chain/run_tdnn.sh (and may eventually be called by more
# scripts). It contains the common feature preparation and
# iVector... |
df1a4440f55c1b0073e0b8b67cb38eea8982a18db7fc954011f00ea1fd58cfe5 | Shell | 6,686 | 160 | #!/usr/bin/env bash
set -euo pipefail
# This script is modified based on mini_librispeech/s5/local/nnet3/run_ivector_common.sh
# This script is called from local/nnet3/run_tdnn.sh and
# local/chain/run_tdnn.sh (and may eventually be called by more
# scripts). It contains the common feature preparation and
# iVector... |
2cbfa78c63b432639564e9a325b9c9e59621736893c7f0016604dec3ce134b59 | Shell | 6,701 | 181 | #!/usr/bin/env bash
# This script is based on run_tdnn_7h.sh in swbd chain recipe.
set -e
# configs for 'chain'
affix=1a
stage=0
train_stage=-10
get_egs_stage=-10
dir=exp/chain/tdnn # Note: _sp will get added to this
decode_iter=
# training options
num_epochs=4
initial_effective_lrate=0.001
final_effective_lrate=0... |
9b7ee6275e6f944c014a508413c828fbd7ec2f2d8ecf837990ebd9d9c5f68cdd | Shell | 6,703 | 173 | #!/usr/bin/env bash
# Copyright Johns Hopkins University (Author: Daniel Povey, Vijayaditya Peddinti) 2016. Apache 2.0.
# This script generates the ctm files, filters and scores them if an stm file is available
set -e
set -x
iter=final
min_lmwt=1
max_lmwt=20
default_lmwt=12 # see tune_hyper description for more inf... |
4dc99b866c0b9d3635014dbac8c741b3fdf024514d1db1077227048ef02f1cc4 | Shell | 6,718 | 223 | #!/usr/bin/env 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 applica... |
4017bd63d54ece54326800baa2d0de872712352062d946134b25e2723eca7ec5 | Shell | 6,747 | 170 | #!/usr/bin/env bash
# Copyright 2017 Hossein Hadian
# This script does end2end chain training (i.e. from scratch)
# ./local/chain/compare_wer.sh exp_yomdle_chinese/chain/e2e_cnn_1a exp_yomdle_chinese/chain/cnn_e2eali_1b
# System e2e_cnn_1a cnn_e2eali_1b
# CER 15.44... |
88d78b9f32284fd3e474f297c9e1a4e8be4e60b781c4e8ce18cba4fe95b69598 | Shell | 6,776 | 216 | #!/bin/bash
##
## whole genome/exome/targeted sequencing variant discovery using BWA-MEM and GATK
##
# 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 ar... |
7c9daa89c27b14f55cc52625b340dffba26969600f8737f35ed10ededade3d5e | Shell | 6,778 | 179 | #!/usr/bin/env bash
lp=
lr=
ar=
version=1
relname=
cer=0
dryrun=true
dir="exp/sgmm5_mmi_b0.1/"
final=false
#end of configuration
echo $0 " " "$@"
[ -f ./cmd.sh ] && . ./cmd.sh
[ -f ./path.sh ] && . ./path.sh
. ./utils/parse_options.sh
if [ $# -ne 2 ] ; then
echo "Invalid number of parameters!"
echo "Parameters ... |
af17011f36631c60285dc7ef09433f59b3fb1078e6f3b7d29888896a95f469af | Shell | 6,807 | 294 | #!/bin/bash
# call variants with LoFreq
# 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_na... |
f871c424fb0e4e295ef0a7edcb9626b0355774f0d403c51270d7135d65219088 | Shell | 6,822 | 78 | #!/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... |
f08d13dd3379e893cf3ddd455df23e2d39a5a56e27224ceedab97a2f3df3fd82 | Shell | 6,829 | 183 | #!/usr/bin/env bash
# Copyright 2013 Arnab Ghoshal, Pawel Swietojanski
# 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 PROVID... |
163a48c5c9a2ed5c920ad6553f7d1b4033788b620d4954abbd3b1277594f9018 | Shell | 6,840 | 179 | #!/usr/bin/env bash
# Copyright 2015 Johns Hopkins University (author: Vijayaditya Peddinti)
# Apache 2.0
# This script downloads the RWCP impulse responses and ambient noise
# (Provided by MERL)
#-----------------------------------------
# all data is headerless binary type with little endian and 48 KHz
# impulse res... |
135e25ad12a90c3829fc142f2b0959afde8efa44772deb2183e8977e2204dcaa | Shell | 6,857 | 137 | #!/usr/bin/env bash
# Prerequisite checks for run-scenario. Read-only, no sudo, fast — the MCP
# check_prerequisites(name) tool must never hang.
# Exits non-zero on hard blockers: no checkout, no `carla`, no `agents`, no server.
# On-camera banner: every skill run announces itself, so a terminal recording
# shows which... |
0ffdeb702e27d3a12fb0eb6d1104def6fec3909bd6ba2b2421668c3d4b708837 | Shell | 6,860 | 137 | #!/usr/bin/env bash
# Prerequisite checks for create-scenario. Read-only, no sudo, fast — the MCP
# check_prerequisites(name) tool must never hang.
# Exits non-zero on hard blockers: no checkout, no `carla`, no `agents`, no server.
# On-camera banner: every skill run announces itself, so a terminal recording
# shows wh... |
f1a83c0ef4134ac5d1f0aafa824eab0e505257f9c2a85d4efbc4943e9fefc67a | Shell | 6,861 | 137 | #!/usr/bin/env bash
# Prerequisite checks for run-openscenario. Read-only, no sudo, fast — the MCP
# check_prerequisites(name) tool must never hang.
# Exits non-zero on hard blockers: no checkout, no `carla`, no `agents`, no server.
# On-camera banner: every skill run announces itself, so a terminal recording
# shows w... |
a0fdbd7c1aa9c8867ef727157eaf5ea35dcf0db6ae77290a9707f64d6de50c43 | Shell | 6,863 | 137 | #!/usr/bin/env bash
# Prerequisite checks for run-route-scenario. Read-only, no sudo, fast — the MCP
# check_prerequisites(name) tool must never hang.
# Exits non-zero on hard blockers: no checkout, no `carla`, no `agents`, no server.
# On-camera banner: every skill run announces itself, so a terminal recording
# shows... |
c6f1f37a39bf36fa9bae14b6e6860fa8bbca1eb7e58ef0db1ca7ecf4e858d1bc | Shell | 6,869 | 137 | #!/usr/bin/env bash
# Prerequisite checks for analyze-scenario-results. Read-only, no sudo, fast — the MCP
# check_prerequisites(name) tool must never hang.
# Exits non-zero on hard blockers: no checkout, no `carla`, no `agents`, no server.
# On-camera banner: every skill run announces itself, so a terminal recording
#... |
f94a5599bf75b3f46ba7e92d0adc386064e95a30277fd55304f7a05fb7a49ca2 | Shell | 6,880 | 173 | #!/usr/bin/env bash
# Build and verify the leaderboard submission docker image.
#
# bash package_agent.sh build [--ros melodic|noetic|foxy]
# bash package_agent.sh verify imports + agent class INSIDE the image
# bash package_agent.sh shell interactive shell in the image
# bash p... |
7f134266a9cc36db76111dc31338c7cbd394ec9cd7b025c4193d31e1db0faa1b | Shell | 6,901 | 184 | #!/usr/bin/env bash
# This script is based on run_tdnn_7h.sh in swbd chain recipe.
set -e
# configs for 'chain'
affix=
stage=0
train_stage=-10
get_egs_stage=-10
dir=exp/chain/tdnn_1a # Note: _sp will get added to this
decode_iter=
# training options
num_epochs=4
initial_effective_lrate=0.001
final_effective_lrate=... |
236ddd3d531fcd3399ab145638d01820ca2bd91a1ce7e46320375abb5b43dd9b | Shell | 6,929 | 183 | #!/usr/bin/env bash
# Copyright 2017 Vimal Manohar
# Apache 2.0
# We assume the run-1-main.sh (because we are using model directories like
# exp/tri4) and later we assumme run-4-anydecode.sh was run to prepare
# data/dev10h.pem
lang=data/lang # Must match the one used to train the models
lang_test=data/lang # La... |
7dba18fa01ba4c2772caadf28b5a72ebae00ba73233adaf05a4775008e21bef1 | Shell | 6,936 | 163 | #!/usr/bin/env bash
# Prerequisite checks for import-carla-vehicle. Read-only, no sudo.
# Exits non-zero ONLY on hard blockers; WARN means a later step handles it.
# Run by the MCP check_prerequisites(name) tool.
# On-camera banner: every skill run announces itself, so a terminal recording
# shows which skill is doing ... |
a17148aa53ca48f1b856f8dfb6114a70b7f84260960bddb5c3311fe584ee4576 | Shell | 6,939 | 238 | #! /bin/bash
# ==============================================================================
# -- Parse arguments -----------------------------------------------------------
# ==============================================================================
DOC_STRING="Run unit tests."
USAGE_STRING=$(cat <<- END
Usage... |
9f6972040eda766887c20617e8ec31526ad9bba8295d6c80f7beb5e28c5cfc45 | Shell | 6,998 | 111 | #!/usr/bin/env bash
####################################################################################################
# Copyright (c) 2019 - 2023, EPFL / Blue Brain Project
# Author(s): Marwan Abdellah <marwan.abdellah@epfl.ch>
#
# This file is part of VessMorphoVis <https://github.com/BlueBrain/VessMorphoVis>
#
# T... |
f90a0ca03d7724daeabb1f043c46634e46b7ac444d72880702d7673c975d29f9 | Shell | 7,005 | 169 | #! /bin/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.
if [ $# -ne 3 ]; then
ec... |
1529c5828b8fdb54f7e6957148970b91a36865e198cd784390a43e381568c05b | Shell | 7,029 | 217 | #!/usr/bin/env bash
#
# Copyright 2018, Yuan-Fu Liao, National Taipei University of Technology, yfliao@mail.ntut.edu.tw
#
# Before you run this recipe, please apply, download and put or make a link of the corpus under this folder (folder name: "NER-Trs-Vol1").
# For more detail, please check:
# 1. Formosa Speech in the... |
7a727fd5f2f9f320aaf8a776266482d6690bb428a684b31e42b3f83c4ab9c562 | Shell | 7,053 | 174 | #!/usr/bin/env bash
set -eu -o pipefail
# This script is called from local/nnet3/run_tdnn.sh and local/chain/run_tdnn.sh (and may eventually
# be called by more scripts). It contains the common feature preparation and iVector-related parts
# of the script. See those scripts for examples of usage.
# copied from li... |
3f35935f6176f6dcf4d6a5ff93da947bf38b196c1fecfbc4b6362cba6ae407a7 | Shell | 7,065 | 198 | #!/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
anat_in=none
mref_in=none
aseg_in=none
antsrealign=no
bbr=no
tmp=.
### print inpu... |
f2a544671290688dd96b0cf5ae831476d05c9bce3b56b8938964eb789a9b4ba4 | Shell | 7,096 | 181 | #!/usr/bin/env bash
# this script run_nnet2_b.sh is as run_nnet2.sh but it trains a larger network,
# with 5 instead of 4 hidden layers and p-norm (input,output) dims of
# 4k/400 instead of 3.5k/350.
# you can run it using --stage 4 if you've already run run_nnet2.sh,
# since the iVector extractor is the same.
. ./cm... |
4a5bdd2dc86562760020b5c1ba86ebd81dab8f3a54dc4337f1f01ca0a27da0f0 | Shell | 7,151 | 230 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Yenda Trmal)
# Apache 2.0.
help_message="$(basename $0): do keyword indexing and search. data-dir is assumed to have
kws/ subdirectory that specifies the terms to search for. Output is in
decode-d... |
edcc8cc8a7bec343b392532705010fa9dcc3661c9cf3cfb69d89eb099a6b22c3 | Shell | 7,151 | 143 | #!/usr/bin/env bash
# Self-contained environment for the build-carla-ue4 skill.
# Source this before running the skill's scripts: source env.sh
#
# carla-agentic-tools is a STANDALONE repo — it does not live inside a CARLA
# checkout — so the target instance is chosen at runtime. Both roots below are
# overridable and... |
a24e57fcbc2bc1371c779cb15818c37d4b61224b29334ddbdc1bd2102a70be91 | Shell | 7,159 | 169 | #!/usr/bin/env bash
# Copyright 2012 Arnab Ghoshal
# 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.... |
88e6682a9c967e7184d9c4fa1b64dee49bb3f857ee0bed6ea072357901bcecd9 | Shell | 7,167 | 311 | #!/bin/bash
# run Bowtie2 with ChIP-seq specific parameters
# 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 [ $# -lt 4 ] ; then
ech... |
870a70ea6c31b4e8b08c7d7c6f48c5e269d034ea3b780f044595616c3324faa1 | Shell | 7,168 | 194 | #!/usr/bin/env bash
# Copyright Johns Hopkins University (Author: Daniel Povey, Vijayaditya Peddinti) 2016. Apache 2.0.
# This script generates the ctm files for dev_aspire, test_aspire and eval_aspire
# for scoring with ASpIRE scoring server.
# It also provides the WER for dev_aspire data.
set -e
# general opts
it... |
9716c1288ea2ddaaee18b65117a343e0761bb705c657a6093de590ab27ab1fe5 | Shell | 7,174 | 193 | #!/usr/bin/env bash
# This script is based on run_tdnn_7h.sh in swbd chain recipe.
# results
# local/chain/compare_wer.sh exp/chain/tdnn_1a_sp/
# Model tdnn_1a_sp
# WER(%) 5.59
# Final train prob -0.0488
# Final valid prob -0.0925
# Final train prob (xent) -0.8001
# ... |
bbc6c4ef952b1fbb0d438ed737674997525bf9c4c89e7ff5fcc7685fc085846a | Shell | 7,188 | 311 | #!/bin/bash
# run Bowtie2 with ATAC-seq specific parameters
# 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 [ ! $# == 5 ] ; then
ec... |
eb9cb1c969bbbccc00a8eff8631f699a88ee1f728179c5b52dad3384a4956c67 | Shell | 7,192 | 211 | #!/usr/bin/env bash
# Copyright 2013 Johns Hopkins University (Author: Daniel Povey)
# Apache 2.0.
stage=0
calldata=
while test $# -gt 0
do
case "$1" in
--calldata) calldata=1
;;
*) break;
;;
esac
shift
done
. utils/parse_options.sh
if [ $# -eq 0 ]; then
echo ... |
cccfe77cb9c01c6ce6087f191433b010e7deaa2b7dc5c2fbdb4ba0072b865aa6 | Shell | 7,225 | 182 | #!/usr/bin/env bash
set -e -o pipefail
# This script is called from scripts like local/nnet3/run_tdnn.sh and
# local/chain/run_tdnn.sh (and may eventually be called by more scripts). It
# contains the common feature preparation and iVector-related parts of the
# script. See those scripts for examples of usage.
st... |
0fd7a544ffbe1dfcaa801ad584ec6e84d6091aa5ba7c429beb5a51eb974e0a2b | Shell | 7,247 | 182 | #!/usr/bin/env bash
set -e -o pipefail
# This script is called from scripts like local/nnet3/run_tdnn.sh and
# local/chain/run_tdnn.sh (and may eventually be called by more scripts). It
# contains the common feature preparation and iVector-related parts of the
# script. See those scripts for examples of usage.
st... |
933e6774aa0fa75bdc8dcaa6e6ea57d7f2cc0c1fafd15683b2aa2b2d5eb560c5 | Shell | 7,247 | 227 | #!/usr/bin/env bash
# Copyright 2021 Behavox (author: Hossein Hadian)
# Apache 2.0
stage=0
skip_decoding=false
train_set=train_so_20spk
test_sets="dev test_cv_mini"
ali_dir=
lores_train_data_dir=
train_data_dir=
tree_dir=
dir=
gmm=tri3b
nnet3_affix=
exp=exp
test_lang=
epochs=2
dim=1408
bdim=160
softmax=false
tree_op... |
5eeb61914909dfe2177fbc4b4050ae61bb207f3a1c1d1c2dc8a579bb39cd24fc | Shell | 7,253 | 179 | #!/usr/bin/env bash
#
# Johns Hopkins University (Author : Gaurav Kumar, Daniel Povey)
# Recipe for CallHome Egyptian Arabic
# Made to integrate KALDI with JOSHUA for end-to-end ASR and SMT
. ./cmd.sh
. ./path.sh
mfccdir=`pwd`/mfcc
set -e
# Specify the location of the speech files, the transcripts and the lexicon
# T... |
4dff750d965cf9183d9cd99c213511723757b453aae7efaa58f0fb399af1bb70 | Shell | 7,272 | 180 | #!/usr/bin/env bash
# Drive CARLA's shipped Autoware integration on UE 5.8 (ue58-dev).
#
# autoware.sh probe what the CARLA side offers, and is it built for it
# autoware.sh topics the DDS contract: what CARLA publishes / subscribes
# autoware.sh sensors Autoware-speci... |
bf942628445ab753e5ed96bdcffcabe6bf894241cf72568ec3b526c897ba17a3 | Shell | 7,277 | 203 | #!/bin/sh
# exit when command fails
set -e
. scripts/common.sh
# defaults
exepath=./f5c
testdir=test/ecoli_2kb_region
bamfile=${testdir}/reads.sorted.bam
ref=${testdir}/draft.fa
reads=${testdir}/reads.fasta
batchsize=256
max_bases=2M
if command -v nproc > /dev/null; then
threads=$(nproc --all)
else
threads=8
fi
#... |
f3887eaced0d781cb1e356b5e8b9a4afec574d33ba262b93fc260504a2d8de15 | Shell | 7,296 | 149 | #!/usr/bin/env bash
# This script is invoked from ../run.sh
# It contains some SGMM-related scripts that I am breaking out of the main run.sh for clarity.
. ./cmd.sh
# Note: you might want to try to give the option --spk-dep-weights=false to train_sgmm2.sh;
# this takes out the "symmetric SGMM" part which is not alw... |
36317c0b2fe8aefdebf837e68ea51177bcaab3bed6826b44ecaf678cc46f77f2 | Shell | 7,324 | 216 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Yenda Trmal)
# Apache 2.0.
#Fail at any unhandled non-zero error code
set -e
set -o pipefail
help_message="$0: create subset of the input directory (specified as the first directory).
The subset is specified by the ... |
f9fb330aca889aafd9408faedc91d991f9bdc3a19cf1db611701d8904a05d82e | Shell | 7,345 | 179 | #! /bin/bash
# Copyright Johns Hopkins University
# 2019 Fei Wu
set -eo
stage=0
cmu_kids= # path to cmu_kids corpus
cslu_kids= # path to cslu_kids corpus
lm_src= # path of existing librispeech lm
extra_features=false # Extra features for GMM model (MMI, boosting and M... |
0913ab98ffc1a7ff7e72e1773c5e028a7109f83fe425ce403612296466f3173a | Shell | 7,358 | 184 | #!/usr/bin/env bash
set -e -o pipefail
# This script is called from scripts like local/nnet3/run_tdnn.sh and
# local/chain/run_tdnn.sh (and may eventually be called by more scripts). It
# contains the common feature preparation and iVector-related parts of the
# script. See those scripts for examples of usage.
st... |
cde29f0f6b06dfb6ce47fd9ac450492710986be8189d6fa054ec4b8da43afc46 | Shell | 7,363 | 188 | #!/usr/bin/env bash
# This script shows improvement arising from data cleaning.
# CER:
# %WER 16.83 [ 36305 / 215718, 4772 ins, 10810 del, 20723 sub ] exp/chain/tdnn_1a_sp/decode_test/cer_9_0.0
# %WER 16.44 [ 35459 / 215718, 4216 ins, 11278 del, 19965 sub ] exp/chain/tdnn_1b_sp/decode_test/cer_10_0.0
# steps/info/ch... |
e323b3c5c3101da94554bca98e4d696410f80653ff5d6359d7be52d4065fd0eb | Shell | 7,364 | 217 | #!/usr/bin/env bash
# This script was copied from ../10hSystem/local (Author: Guoguo Chen?)
# It will be modified to make it somewhat more reusable
# But the current goal is just to have some LM while training AMs, so that
# intermediate models may be evaluated ... (Sanejev Khudanpur)
# This script trains LMs on the ... |
7f3683e30b3b5008f5e90aa45a4c9825bfaf522935ccb4414c18ce87929dcd06 | Shell | 7,370 | 217 | #!/usr/bin/env bash
# This script was copied from ../10hSystem/local (Author: Guoguo Chen?)
# It will be modified to make it somewhat more reusable
# But the current goal is just to have some LM while training AMs, so that
# intermediate models may be evaluated ... (Sanejev Khudanpur)
# This script trains LMs on the ... |
aae7ec2426c40f4e92a22ad472d9c9c5e998955dbe0de432363cdf042ac91378 | Shell | 7,377 | 187 | #!/usr/bin/env bash
set -e -o pipefail
# This script is called from scripts like local/nnet3/run_tdnn.sh and
# local/chain/run_tdnn.sh (and may eventually be called by more scripts). It
# contains the common feature preparation and iVector-related parts of the
# script. See those scripts for examples of usage.
st... |
1230a3f6a99dc8711f324811c231a3c01cd5624b7efe1371986e60c74b186b75 | Shell | 7,428 | 221 | #!/usr/bin/env bash
# Copyright 2016 Pegah Ghahremani
# This script is used for decoding multilingual model and it is called in
# local/nnet3/run_tdnn_multilingual.sh script.
# This script needs decoding data dir, which is prepared using
# eg/babel/s5d scripts (i.e. run-4-anydecode.sh).
# If --use-pitch is true, pitc... |
4633c17f266f073901776752ffcaff655daf9211a00eef899d6dac21f6024e32 | Shell | 7,435 | 162 | #!/usr/bin/env bash
# Compute the RIHS01 type hash for a ROS 2 message type (Step 4), pulling the
# .msg out of a ROS 2 container first when the type is a standard one.
#
# Usage:
# bash type_hash.sh <pkg/msg/TypeName> [path/to/TypeName.msg]
#
# With a .msg path -> hashes that file (the case for a new carla_ms... |
3002b652ef5cfd54770aa6aeee2db2627abe8c64c47adefaf9f915c504dfa38e | Shell | 7,466 | 234 | #!/usr/bin/env bash
# Copyright 2012-2013 Johns Hopkins University (Author: Daniel Povey)
# Bagher BabaAli
# Apache 2.0
# To be run from .. (one directory up from here)
# This makes seven-dimension fundamental frequency variation features for some data/ directory.
# Begin configuration section.... |
f721646ba32a02c642271d17ef98e2af7fde6b536d3736e19193dd765eb190e9 | Shell | 7,476 | 198 | #!/bin/bash
# Copyright 2014 QCRI (author: Ahmed Ali)
# Apache 2.0
# GALE Arabic phase 2 Conversation Speech
dir1=/export/corpora5/LDC/LDC2013S02/
dir2=/export/corpora5/LDC/LDC2013S07/
text1=/export/corpora5/LDC/LDC2013T04/
text2=/export/corpora5/LDC/LDC2013T17/
# GALE Arabic phase 2 News Speech
di... |
50ad86be5811275cd61ee2c50f0adf98b82481cce4739c3bd4065de0ca6f0e00 | Shell | 7,505 | 158 | #!/usr/bin/env bash
# Inspect and visualise a ROS-2-enabled CARLA server from containers — no local
# ROS 2 installation involved.
#
# Modes:
# topics ros2 topic list (the fastest "is ROS alive" check)
# info TOPIC ros2 topic info -v (type + publisher/subscriber count + QoS)
#... |
a7827ed4effadb368c6cd3bf305401ddbea9d8e7b93f1bb51458938b5a7dd3b3 | Shell | 7,523 | 213 | #!/usr/bin/env bash
# Copyright 2021 Behavox (author: Hossein Hadian)
# Apache 2.0
# The only path modification this script does is to append _hires to test set directory names
# for extracting the ivectos.
set -euo pipefail
stage=0
lores_train_data_dir=data/train_sp
train_data_dir=data/train_sp_hires
gmm=exp/tri3... |
dbbaf99b1c0fccb4cbbfbef91528b73844da112c2dea50a5e20716eb9d10c45f | Shell | 7,570 | 199 | #!/usr/bin/env bash
# Copyright 2013 Johns Hopkins University (author: Daniel Povey)
# 2014 Tom Ko
# 2014 Vijay Peddinti
# Apache 2.0
# This example script demonstrates how speed perturbation of the data helps the nnet training in the SWB setup.
. ./cmd.sh
set -e
stage=1
train_stage=-10
use_gp... |
c85dd8c234d841e83f2a6d17b164af5dde52ec77f3d61d3f65070d1b887e50ca | Shell | 7,595 | 160 | #!/usr/bin/env bash
# based on egs/fisher_swbd/s5/local/nnet3/run_lstm.sh
stage=7
train_stage=-10
egs_stage=
affix=
common_egs_dir=
reporting_email=
# LSTM options
label_delay=0
cell_dim=1024
hidden_dim=1024
recurrent_projection_dim=128
non_recurrent_projection_dim=128
chunk_width=20
chunk_left_context=40
chunk_righ... |
7a42b62ca97f6db7ada0c1f40fc8edad17fe957eec1dda0d6da606ba0bd035a1 | Shell | 7,604 | 218 | #!/bin/bash -u
. ./cmd.sh
. ./path.sh
# MDM - Multiple Distant Microphones,
nmics=8 #we use all 8 channels, possible other options are 2 and 4
mic=mdm$nmics
# Path where AMI gets downloaded (or where locally available):
AMI_DIR=$PWD/wav_db # Default,
case $(hostname -d) in
fit.vutbr.cz) AMI_DIR=/mnt/matylda2/data/... |
5b4c5ae353eb10b29ae66243b8ddf726a51cc0396f6c022c04d8b9fe6a6d29b7 | Shell | 7,670 | 202 | #!/usr/bin/env bash
# Copyright 2012 Arnab Ghoshal
# 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.... |
d055f7e01b043ad2beeae58dc1ad111f2d93b45cd5b3347dce1b5e95bddbf3e5 | Shell | 7,719 | 256 | #!/usr/bin/env bash
# =============================================================================
# Copyright 2019 Pavel Yakubovskiy, Sasha Illarionov. 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 ob... |
bc8583b9da3f5c0ff08bd5060f0375f69ecb17d4a63f4e2d946c31cf7982a9ca | Shell | 7,782 | 199 | #!/usr/bin/env bash
set -e
# Copyright 2009-2012 Microsoft Corporation Johns Hopkins University (Author: Daniel Povey)
# Apache 2.0.
# This is modified from the script in standard Kaldi recipe to account
# for the way the WSJ data is structured on the Edinburgh systems.
# - Arnab Ghoshal, 29/05/12
if [ $# -ne 1 ]... |
9b06e9f4d92f604675d7b1b3aa5ec5c107b9dd03411488fbcc1b26c473b48a54 | Shell | 7,787 | 193 | #!/usr/bin/env bash
set -e -o pipefail
# This script is called from scripts like local/nnet3/run_tdnn.sh and
# local/chain/run_tdnn.sh (and may eventually be called by more scripts). It
# contains the common feature preparation and iVector-related parts of the
# script. See those scripts for examples of usage.
sta... |
af3be5656ff6d9b361e5f6715e66f8627f350829acf388fe4e7b2efb460cabe9 | Shell | 7,790 | 210 | #!/bin/bash
# Author: Ruiqi Chen
# Version: 01/09/2021
# Update (01/26/2022): Use sub-xxxxxxx_feat.feat/tfMRI.feat as the input directory if it exists
########################### Document ############################
Help()
{
echo
echo "Convert the residual of task fMRI data into IC activations"
echo
... |
22777403810ca58274379014e560b6b3ff14486064f98789e7f073997d3986e8 | Shell | 7,797 | 214 | #!/bin/bash -u
. ./cmd.sh
. ./path.sh
# IHM - Independent Headset Microphone,
# Please do not change 'mic'! (Identifies both the datasets and experiments: ihm, sdm, mdm)
mic=ihm
stage=0
. utils/parse_options.sh
# Set bash to 'debug' mode, it prints the commands (option '-x') and exits on :
# -e 'error', -u 'undefin... |
f48558b8027583f6150e4471160d08e6c3b352ec4c74466fcf94f8e45a6bc74c | Shell | 7,826 | 217 | #!/usr/bin/env bash
#
# This script decodes raw utterances through the entire pipeline:
# Feature extraction -> SAD -> Diarization -> ASR
#
# Copyright 2017 Johns Hopkins University (Author: Shinji Watanabe and Yenda Trmal)
# 2019 Desh Raj, David Snyder, Ashish Arora, Zhaoheng Ni
# Apache 2.0
# Begin con... |
e025fd0a501ac861d8dabd5fa9010408608a3a338d44b76a18f2626dddc479d3 | Shell | 7,847 | 211 | #!/usr/bin/env bash
# This script is based on run_tdnn_1a.sh.
# This setup used online pitch to train the neural network.
# It requires a online_pitch.conf in the conf dir.
set -e
# configs for 'chain'
affix=
stage=0
train_stage=-10
get_egs_stage=-10
dir=exp/chain/tdnn_2a # Note: _sp will get added to this
decode_i... |
17f1ccb73f4edad32fd8db624a3efc26f4031ba8c8581de222c555bbf64bd975 | Shell | 7,863 | 205 | #!/usr/bin/env bash
# Copyright 2014 (author: Hainan Xu, Ahmed Ali)
# Apache 2.0
. ./path.sh
. ./cmd.sh
num_jobs=64
num_jobs_decode=128
AUDIO=(
/export/corpora/LDC/LDC2013S08/
/export/corpora/LDC/LDC2013S04/
/export/corpora/LDC/LDC2014S09/
/export/corpora/LDC/LDC2015S06/
/export/corpora/LDC/LDC2015S13/
... |
a1334c65d820a310f2b6a45d6bd4f71608326bc7a795a51523d151237e3478b5 | Shell | 7,869 | 204 | #!/usr/bin/env bash
# this is the original baseline scripts, which is supposed to be deprecated.
# results
# local/chain/compare_wer.sh exp/chain/tdnn_1a_sp/
# Model tdnn_1a_sp
# WER(%) 9.89
# Final train prob -0.0653
# Final valid prob -0.0765
# Final train prob (xent... |
663ff30f97b62830df64ebd7298530a7aa31ee90dabb05e365d124ab7822df6e | Shell | 7,881 | 196 | #!/usr/bin/env bash
#
# Copyright 2014 University of Tehran (Author: Bagher BabaAli)
# 2014 Brno University of Technology (Karel Vesely)
# 2014 Johns Hopkins University (Daniel Povey)
#
# farsdat, description of the database:
# http://www.assta.org/sst/SST-94-Vol-ll/cache/SST-94-VOL2-Chapter15-p20.... |
271ea7ebe785c6f1456a19df0c10847d6e6f529d67b7b0967a7cd9b371a33567 | Shell | 7,882 | 202 | #!/bin/bash
#
# Copyright 2019 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... |
1c46c096da96d561cf8c15d7ba0426560727b089fea8dd64899392039eb2de1e | Shell | 7,912 | 439 | #!/bin/bash
set -xe
kubectl create ns kubeflow || echo "namespace kubeflow already exists"
kustomize build bentoml-yatai-stack/default | kubectl apply --server-side -f -
kubectl -n kubeflow wait --for=condition=available --timeout=600s deploy/yatai-image-builder
kubectl -n kubeflow wait --for=condition=available --ti... |
653bc5ffd0c8d42a4b53a6834721b3f2dd1a62abcb65cfce76a37f94c0452fc7 | Shell | 7,919 | 203 | #!/usr/bin/env bash
set -e
# Copyright 2009-2012 Microsoft Corporation Johns Hopkins University (Author: Daniel Povey)
# Apache 2.0.
# This is modified from the script in standard Kaldi recipe to account
# for the way the WSJ data is structured on the Edinburgh systems.
# - Arnab Ghoshal, 29/05/12
if [ $# -ne 1 ]... |
2caede5e84fe5d1cbeaac7bb105e4e26abe805a244ccf2ee0f16f4eca6db8384 | Shell | 7,933 | 227 | #!/usr/bin/env bash
# Copyright 2017 Nagendra Kumar Goel
# 2017 Vimal Manohar
# Apache 2.0
# We assume the run.sh has been executed (because we are using model
# directories like exp/tri4a)
# This script demonstrates nnet3-based speech activity detection for
# segmentation.
# This script:
# 1) Prepares... |
4cbafc9b0101633dc3c7121b0b151a3d8e44d07dae6a1249d3b5da62dc9ad904 | Shell | 7,934 | 182 | #!/usr/bin/env bash
# Copyright 2014 Vimal Manohar
# This is our online neural net build for Gale system
. ./cmd.sh
stage=-1
train_stage=-10
use_gpu=true
mfccdir=mfcc
train_nj=120
decode_nj=30
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh
if $use_gpu; then
if ! cuda-compiled; then
cat <<EOF && exit 1
Th... |
408f46afdf589ed1f960569fe96308a3aa6a2adcfa216a5f26f6047c009092b8 | Shell | 7,944 | 205 | #!/usr/bin/env bash
# Copyright 2020 Desh Raj (Johns Hopkins University)
# Apache 2.0.
# This script does nnet3-based overlap detection given an input
# kaldi data directory and outputs an overlap RTTM file.
set -e
set -o pipefail
set -u
if [ -f ./path.sh ]; then . ./path.sh; fi
nj=32
cmd=run.pl
stage=0
region_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.