sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
63f88009d6ac50416c72cb0d014a917314cb5cb9c9c7d995ad9a57b057ab1b91 | Shell | 4,357 | 126 | #!/bin/bash -u
# Copyright 2012 Arnab Ghoshal
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT... |
719001ff1fde8cf1086bfbf0c2e4ef0df4f327055d20fc1f2ac4d18ff7e3b85f | Shell | 4,364 | 131 | #!/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... |
a4132548b871bcd642ae73e118dca24244adc0fb5ce19815229d9c67d7ea8b94 | Shell | 4,365 | 152 | #!/usr/bin/env bash
# Author : Gaurav Kumar, Johns Hopkins University
# Creates OpenFST lattices from Kaldi lattices
# This script needs to be run from one level above this directory
. ./path.sh
if [ $# -lt 3 ]; then
echo "Enter the latdir (where the lattices will be put), the decode dir containing lattices and the... |
509fd4e121acc05fba89869f0773e607ff81da16a76a8cd0c3164ef07d62fad6 | Shell | 4,369 | 119 | #!/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. The output directory
# contains an RTTM file which can be used to resegment the input data.
stage=0
nj=... |
d2693157c57cf1f85b370fb98606705be10cf6f83d8c06c0837408ba2f2d8b9d | Shell | 4,369 | 112 | #!/usr/bin/env bash
# Copyright 2014 Johns Hopkins University (Author: Yenda Trmal)
# Apache 2.0
# Begin configuration section.
nj=4
cmd=run.pl
acwt=0.1
# End configuration section.
echo "$0 $@" # Print the command line for logging
[ -f ./path.sh ] && . ./path.sh; # source the path.
. parse_options.sh || exit 1;... |
cd1bec4f33758f559b8d288718a845d9bf38143d8f41615fed0f468033a07bfa | Shell | 4,373 | 143 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Yenda Trmal)
# Apache 2.0.
# Begin configuration section.
cmd=run.pl
case_insensitive=true
subset_ecf=
rttm_file=
extraid=
use_icu=true
icu_transform="Any-Lower"
kwlist_wordlist=false
langid=107
silence_word= # Optional silence wo... |
7f7d22fd3cf5f8c92521cfdb1549c1900db86290b416df0c87b88585362581b1 | Shell | 4,381 | 173 | #!/bin/bash -e
#
# Good for recognizing a couple of files specified in the command line. Writes
# LNAs into $RECTOOL_LNA_DIR, or if not specified, into
# $WORK_DIR/recognitions/<AM options>,
# and possibly lattices into $RECTOOL_OUTPUT_DIR, or if not specified, into
# $WORK_DIR/recognitions/<AM options>/<decoder op... |
afef665fc354ee67e6d3231b5ee27896a87cdbce48b228ec1c7ccb6d6ac26bab | Shell | 4,398 | 124 | #!/bin/bash -v
# 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 except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/lic... |
4d35f80c3127695e2643660d48f3c06cd538917241e6a194bd2dd10da4b22aa0 | Shell | 4,420 | 155 | #!/usr/bin/env bash
#################### SETUP ####################
# print status
s="START"
PS4='+ ${s} ${LINENO} $( date "+%Y.%m.%d %R") | '
set -x
# command fails -> exit
# set -o errexit
# undeclared variables -> exit
# set -o nounset
# mysqldump fails -> exit
# set -o pipefail
################################... |
020f7992fc470e7f0e06552f04a5c45ea8d8ab18512204413fa64d1a7a0af373 | Shell | 4,421 | 134 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (author: Daniel Povey)
# 2015 Guoguo Chen
# 2017 Hainan Xu
# 2017 Xiaohui Zhang
# This script trains LMs on the swbd LM-training data.
dir=exp/rnnlm_lstm_1e
embedding_dim=1024
lstm_rpd=256
lstm_nrpd=256
stage=-10
train_st... |
44f320bcc447582daa47b45a2cfefc91750844df8bd2d5f57148c5b0f6d72cda | Shell | 4,428 | 119 | #!/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
# Modified from... |
b0e58df8673c7aa054ba76e8feee114e502eb9a9cc67cf78e1bf606076fa90b2 | Shell | 4,428 | 55 | #!/bin/bash
path=`dirname $0`
cd $path
echo "This bash script will create table from ?.stats files"
echo "Written by Vincent"
echo "MNI, McGill University"
echo "Please check the number of output files, it should be 34 in total."
echo "23/10/2020\n"
export FREESURFER_HOME=/usr/local/freesurfer
source $FREESURFER_HOM... |
eb610e784918f924fe7df41119c495c7d2ab45b2e8e9e6a381d4bbf5aca7a64d | Shell | 4,429 | 69 | #!/bin/bash
set -euxo pipefail
#python ../../script/cATACter.py --original-filter --supervised distal --clabel id_order_distal --cindex global_index --rindex local_index --rlabel '' --verbose \
# --row global_ng_list/global_cell_ng_1_2C_cluster.csv,global_ng_list/global_cell_ng_1_3C_cluster.csv,global_ng_list/global_ce... |
9b7d619a9cc230b096422eba12b8bf961dccf93c47284905ba4b670a88b03f45 | Shell | 4,430 | 133 | #!/usr/bin/env bash
# Copyright 2016 Allen Guo
# 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, WITHOU... |
01806360543ae4236a62116df59b98812541accaab13180a6b69a67342c64cb0 | Shell | 4,434 | 139 | #!/bin/bash
# PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC/
# Download command: bash data/scripts/get_voc.sh
# Train command: python train.py --data voc.yaml
# Default dataset location is next to /yolov5:
# /parent_folder
# /VOC
# /yolov5
start=$(date +%s)
mkdir -p ../tmp
cd ../tmp/
# Download/... |
61fb1cc7cb1d7bef612d5035c31454af91751df533028ebb08562b29beb98542 | Shell | 4,439 | 130 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (author: Daniel Povey)
# 2015 Guoguo Chen
# 2017 Hainan Xu
# 2017 Xiaohui Zhang
# 2020 Ke Li
# This script trains LSTM based LMs on transcription and perform lattice rescoring
# on 1st pass decoding results.
# B... |
84912fbdc08a9208d60b6085dc670079f1e8f34ad378fe624b60b7c327430cbf | Shell | 4,439 | 135 | #!/usr/bin/env bash
# This script is based on swbd/s5c/local/nnet3/run_tdnn.sh
# 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 ... |
141ce8e36c26a5d095a4fa1a1c7c4bc12a3eb4a3c5822af39c4497cfbce285e5 | Shell | 4,440 | 146 | #!/usr/bin/env bash
# Copyright 2010-2012 Microsoft Corporation
# 2012-2014 Johns Hopkins University (Author: Daniel Povey)
# 2015 Guoguo Chen
# 2016 Vimal Manohar
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance... |
81b58684d0e749ea52e3338183cb2e8f16f98bcf9777d3514a00e2b61a9ef156 | Shell | 4,442 | 134 | #!/usr/bin/env bash
# Copyright 2020 Guoguo Chen
# 2021 Xiaomi Corporation (Author: Yongqing Wang)
# This script trains a backward LMs on the whole LM-training data, and use it
# to rescore either decoded lattices, or lattices that are just rescored with
# a forward RNNLM. In order to run this, you must f... |
5717f3c6d5a5a332b9bf5e94d77f67487c60d189f3167defd4d54815765c67e0 | Shell | 4,443 | 101 | #! /bin/bash
#
#
INPUT_PATH=$1
OUTPUT_PATH=$2
echo "INPUT_PATH: ${INPUT_PATH}"
echo "OUTPUT_PATH: ${OUTPUT_PATH}"
if [[ ! -d ${OUTPUT_PATH} ]]; then
mkdir $OUTPUT_PATH
fi
read -a strarr <<< ${INPUT_PATH//"/"/" "}
PATIENT_ID=${strarr[-1]}
echo "Running damage detection on $PATIENT_ID"
img=$(find ${INPUT_PATH}/* -ma... |
3df0249e4c151a3ca7130212d2a5c158f4c4cd1dcf6cdb0729b1df6d154df880 | Shell | 4,445 | 117 | #!/usr/bin/env bash
# Copyright 2016 Vincent Nguyen
# 2016 Johns Hopkins University (author: Daniel Povey)
# 2017 Ashish Arora
# 2017 Hossein Hadian
# Apache 2.0
#
# This script trains a LM on the YOMDLE+Extra training transcriptions.
# It is based on the example scripts distributed w... |
039bb8773ca059357649e3364ca7fd5618cb8c8d45091739dd7f8903c2e33eda | Shell | 4,448 | 131 | #!/bin/bash -e
# Copyright 2014 QCRI (author: Ahmed Ali)
# 2019 Dongji Gao
# Apache 2.0
# This is an example script for subword implementation
num_jobs=120
num_decode_jobs=40
decode_gmm=true
stage=0
overwrite=false
num_merges=1000
dir1=/export/corpora/LDC/LDC2013S02/
dir2=/export/corpora/LDC/LDC2013S07/
d... |
f1fea9212662f9e7c9c5478dc7d566cffb05573377e10d7241c36f9225f87128 | Shell | 4,451 | 136 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Jan Trmal)
# 2013 Johns Hopkins University
# Apache 2.0.
. ./path.sh
. ./cmd.sh
# Begin configuration section.
cmd=run.pl
acwt=0.09091 #Acoustic weight -- should not be necessary for oracle lattices
duptime=0.6 #Max time... |
22c0a302a8e94d838c8a18f9873d9f41a3a98014e4c982764d83dc9f46fcb526 | Shell | 4,463 | 102 | #!/usr/bin/env bash
# Apache 2.0
#
# This script provides CHiME-6 challenge track 2 submission scores.
# It calculates the best search parameter configurations by using the dev set
# and provides wer for dev and eval
cmd=run.pl
stage=0
word_ins_penalty=0.0,0.5,1.0
min_lmwt=7
max_lmwt=17
dev_decodedir=exp/chain_train_w... |
923b159a8eedab70d7e72b7b9411d281976684cd65d98f469b9ffa5250a817cc | Shell | 4,464 | 55 | #!/bin/bash
path=`dirname $0`
cd $path
echo "This bash script will create table from ?.stats files"
echo "Written by Vincent"
echo "MNI, McGill University"
echo "Please check the number of output files, it should be 34 in total."
echo "23/10/2020\n"
export FREESURFER_HOME=/usr/local/freesurfer
source $FREESURFER_HOM... |
a8ff5d4b248c3035e178c5a720de0c9b7f5b44d56031c8f215db514db59e282d | Shell | 4,465 | 136 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Jan Trmal)
# 2013 Johns Hopkins University
# Apache 2.0.
. ./path.sh
. ./cmd.sh
# Begin configuration section.
cmd=run.pl
acwt=0.09091 #Acoustic weight -- should not be necessary for oracle lattices
duptime=0.6 #Max ... |
a0941dcb131a90bbb1320a52ffe10854ea18146e7e528a35c4b29b18731909f2 | Shell | 4,479 | 114 | #!/usr/bin/env bash
# Copyright 2015 Johns Hopkins University (author: Vijayaditya Peddinti)
# Apache 2.0
# Room impulse responses from Center for Digital Music, Queen Mary University of London
# Stewart, Rebecca and Sandler, Mark. "Database of Omnidirectional and B-Format Impulse Responses", in Proc. of IEEE Int. Con... |
78c748ca4492e0f888a2de2fda5fe9fb30ba59ba838e0a0c4b91aad0388f28f2 | Shell | 4,483 | 128 | #!/usr/bin/env bash
# Copyright 2014 University of Edinburgh (Author: Pawel Swietojanski)
# 2016 Johns Hopkins University (Author: Daniel Povey)
# AMI Corpus training data preparation
# Apache 2.0
# Note: this is called by ../run.sh.
. ./path.sh
#check existing directories
if [ $# != 3 ]; then
echo "U... |
07418e7773809f9033e6446dd221d115498f5368e468935d2dc37ee285260e75 | Shell | 4,487 | 118 | #!/bin/bash
# Copyright 2019 David Snyder
# 2020 Maxim Korenevsky, Ivan Medennikov (STC-innovations Ltd)
# Apache 2.0.
#
# This script takes an input directory that has a segments file (and
# a feats.scp file), and performs spectral clustering based diarization on it.
# The output directory contains ... |
34e5401d3f5bb56f898995471c94f4f784fc7e1df86b8b20e99a9ef254f41ae9 | Shell | 4,489 | 105 | #!/usr/bin/env bash
# Preflight for visualize-ros-rviz. 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 the work rat... |
f6cb55c1306465a841761a4b0a9378e7ee4af22474265f3fb1a0bd6908d878b9 | Shell | 4,489 | 144 | #!/usr/bin/env bash
# run_resnet_1a.sh is a quite well-performing resnet.
# It includes a form of shrinkage that approximates l2 regularization.
# (c.f. --proportional-shrink).
# Definitely better:
# local/nnet3/compare.sh exp/resnet1a_cifar10
# System resnet1a_cifar10
# final test accuracy: ... |
02c371bafe63e1f095a6c703270b818cfe5b9a6fcd8b53a189b8458d40753084 | Shell | 4,493 | 121 | #!/usr/bin/env bash
# Copyright 2017 Hossein Hadian
# 2017 Vimal Manohar
# Apache 2.0
. ./cmd.sh
set -e
stage=1
speed_perturb=true
train_set=train # Supervised training set
ivector_train_set= # data set for training i-vector extractor.
# If not provided, train_set will be used.
nnet... |
7eb6ccc98033368617674f51ae91f8d9fc9b2aed092f4715a7b3f176ad72ad0e | Shell | 4,493 | 127 | #!/usr/bin/env bash
# Copyright 2014 Johns Hopkins University (Author: Yenda Trmal)
# Apache 2.0
# Begin configuration section.
iters=5
stage=0
encoding='utf-8'
remove_tags=true
only_words=true
icu_transform="Any-Lower"
var_counts=3 #Generate upto N variants
var_mass=0.9 #Generate so many variants to produce 90 % o... |
c4773de4d615f41771a4262157e4e7d14938d05bde69579e036c981a302f4571 | Shell | 4,495 | 124 | #!/usr/bin/env bash
# Copyright (c) 2015, Johns Hopkins University (Yenda Trmal <jtrmal@gmail.com>)
# License: Apache 2.0
# Begin configuration section.
cmd=run.pl
# End configuration section
. ./utils/parse_options.sh
. ./path.sh
set -e -o pipefail
set -o nounset # Treat unset variable... |
c0b40485dff38379c37291d56d5b11f17810070f1e7ebcefc8a8860ad2b73383 | Shell | 4,500 | 127 | #!/usr/bin/env bash
# Copyright 2014 Johns Hopkins University (Author: Yenda Trmal)
# Apache 2.0
# Begin configuration section.
iters=5
stage=0
encoding='utf-8'
remove_tags=true
only_words=true
icu_transform="Any-Lower"
var_counts=3 #Generate upto N variants
var_mass=0.9 #Generate so many variants to produce 90 %... |
d74902712ca03a477a6454c1114f04020f6a7f59c184d9f7f619851b44c35ba8 | Shell | 4,509 | 55 | #!/bin/bash
path=`dirname $0`
cd $path
echo "This bash script will create table from ?.stats files"
echo "Written by Vincent"
echo "MNI, McGill University"
echo "Please check the number of output files, it should be 34 in total."
echo "23/10/2020\n"
export FREESURFER_HOME=/usr/local/freesurfer
source $FREESURFER_HOM... |
a2ed4b9ccc17e601b62f9cbc64ae079b9deda1f721de5de732f2cb181b7be7a3 | Shell | 4,528 | 149 | #!/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 ... |
2c803f549468f46849b30c27a168c618396e5862f780d4748fc9caffd04c50fa | Shell | 4,530 | 120 | #!/usr/bin/env bash
# Copyright 2012-2014 Brno University of Technology (Author: Karel Vesely)
# Copyright 2016 Radboud University (Author: Emre Yilmaz)
# Apache 2.0
# This example script trains a DNN on top of fMLLR features.
# The training is done in 3 stages,
#
# 1) RBM pre-training:
# in this unsupervised s... |
8bb3bbb42d52afb84ce20fec1936b28c168d88be90c74adb56cbfad42c54bbaf | Shell | 4,540 | 137 | #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_kind}" == "supervised" ] ; then
mandatory_variables="my_ecf_file my_kwlists... |
ce54f5db60b30ce1a6f7114eebf8e086f22a6e0b65a7b56fc766e617dcf92ba4 | Shell | 4,540 | 99 | #!/bin/bash -u
# Copyright 2012 Arnab Ghoshal
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT... |
96acc5595be8814f74521bd0eab2f0db65d2a4b09d91edabd801e964a081a4cc | Shell | 4,555 | 136 | #!/usr/bin/env bash
# Copyright 2017 Nagendra Kumar Goel
# 2018 Vimal Manohar
# Apache 2.0
# This is a script to train a TDNN for speech activity detection (SAD)
# using statistics pooling for long-context information.
stage=0
train_stage=-10
get_egs_stage=-10
egs_opts=
chunk_width=20
# The context ... |
9810de9d4da4ab133e918facb874ed3cf46e58505b6dfd48c5c45bcd21802d3e | Shell | 4,555 | 134 | #!/usr/bin/env bash
# Copyright 2010-2011 Microsoft Corporation
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# THIS CODE IS PROVIDED *AS IS... |
dab68de1900418c90272a7e877d1693f62d5dd024b01408079f4aaf9d139f4ac | Shell | 4,560 | 61 | #!/bin/bash
set -euxo pipefail
#python ../../script/cATACter.py --original-filter --supervised distal --clabel id_order_distal --cindex global_index --rindex local_index --rlabel '' --verbose \
# --row global_ng_list/global_cell_ng_1_2C_cluster.csv,global_ng_list/global_cell_ng_1_3C_cluster.csv,global_ng_list/global_ce... |
387d5665eebca5b6cb89d7f338717f29f5b5a72d5dea02ba8fd4269aad56b582 | Shell | 4,562 | 110 | #!/usr/bin/env bash
set -e
stage=0
nj=60
database_train=/export/corpora5/handwriting_ocr/CASIA_HWDB/Offline/
database_competition=/export/corpora5/handwriting_ocr/CASIA_HWDB/Offline/
data_dir=data
exp_dir=exp
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh
if [ $stage -le -1 ]; then
mkdir download/Train
m... |
54e6d97fd6fa3aa03b286f214efb6cf41a78857e12c2a679ac965630ad520c56 | Shell | 4,567 | 130 | #!/bin/bash -v
# 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 except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/lic... |
cde9d0333e988aaa4b25ab8d64938729e5767761dceee280f3f8e81acd6ca0eb | Shell | 4,575 | 146 |
# This script runs 5th step to making GeneNetwork: Remove covariates from normalized data
set -e
set -u
project_dir=
outdir=
config_templates=
expression_file=
covar_matrix=
threads=
github_dir=
mem=
main(){
module load Java/1.8.0_144-unlimited_JCE
module load Python
parse_commandline "$@"
rsync -vP... |
65890316b1e29c0330123ed0e7ce5c42383d406ec6a9355e2114c497336440ce | Shell | 4,580 | 150 |
# This script runs 4th step to making GeneNetwork: do the DESEQ normalisation
set -e
set -u
module load RPlus
project_dir=
outdir=
config_templates=
github_dir=
expression_file=
corrected_dir=
outfile=
mem=
main(){
module load Java/1.8.0_144-unlimited_JCE
parse_commandline "$@"
rsync -vP $github_dir/conf... |
5a68e78a17a775c8ca81a17802698e6eda91bb899d40360d2efc639be2ca34cf | Shell | 4,581 | 137 | #!/usr/bin/env bash
# This script is based on run_tdnn_1a.sh, but with pitch features applied
# 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'... |
cdedb28cbf83419377273f594b83aed5dedc4ffc042c3f2e56a25bea8e61c60a | Shell | 4,589 | 138 | #!/usr/bin/env bash
# Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski)
# 2016 Johns Hopkins University (Author: Daniel Povey)
# AMI Corpus dev/eval data preparation
# Apache 2.0
# Note: this is called by ../run.sh.
. ./path.sh
#check existing directories
if [ $# != 3 ]; then
echo "U... |
6832595612d7fdb4358595c8dc703a6b1be741e68fce8cf6e0cc074cd43dc5fc | Shell | 4,590 | 149 | #!/usr/bin/env bash
# Copyright 2021 Behavox (author: Hossein Hadian)
# Apache 2.0
# This script runs all common stages for training the GMM models
# needed for chain training
train=train_ldc
bsil=1.2
nj=20
exp=exp
test_sets="test_ldc test_sp_oc"
num_mono_utts=1000
lm=
lang_opts=
tri3_lda=false # If true, the fin... |
486846a8863ed8d2cbccfac13ef34ea649161120c2b915d57a275f72d7ab800c | Shell | 4,601 | 124 | #!/usr/bin/env bash
# Begin configuration section.
# This recipe is based on wsj/s5/local/rnnlm/run_rnnlm.sh
# without RNNLM
# eval1: %WER 10.05 [ 2615 / 26028, 274 ins, 494 del, 1847 sub ] exp/chain/tdnn1b/decode_eval1/wer_10_0.5
# eval2: %WER 8.09 [ 2157 / 26661, 177 ins, 394 del, 1586 sub ] exp/chain/tdnn1b/decode... |
c48c01a0f9b6a507ca97d2f399bafa008f7d0df179e0238974e51637dd66c467 | Shell | 4,603 | 130 | #!/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=
resolve_overlaps=false # If true, the words decoded in the regions where
... |
1f1a9b14204ac87da361f0a135359bb7d1b415a7adab92dc7e270a167e565cd1 | Shell | 4,607 | 132 | #! /bin/bash
set -eo pipefail
# ==============================================================================
# -- Set up environment --------------------------------------------------------
# ==============================================================================
REPO_URL="https://bitbucket.org/carla-simula... |
3a8b002e338fb94e4b4d757aaa624af0ac8521a05d4aa1570ff1e8f1511d5e7c | Shell | 4,611 | 128 | #!/usr/bin/env bash
# Copyright (c) 2015, Johns Hopkins University (Yenda Trmal <jtrmal@gmail.com>)
# License: Apache 2.0
# Begin configuration section.
cmd=run.pl
# End configuration section
. ./utils/parse_options.sh
. ./path.sh
set -e -o pipefail
set -o nounset # Treat unset variable... |
1d47201b86ac56d2d0815ac052393ee2d2766f448f96fed376b86a0f406d1598 | Shell | 4,621 | 155 | #!/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 ... |
96a98a40ee2ea8016b4517638a079aa7c58311a728458d35715ff146e3d68fc3 | Shell | 4,625 | 160 | #!/bin/bash
##
## ChIP-seq using Bowtie 2
##
# script filename
script_path="${BASH_SOURCE[0]}"
script_name=$(basename "$script_path")
route_name=${script_name/%.sh/}
echo -e "\n ========== ROUTE: $route_name ========== \n" >&2
# check for correct number of arguments
if [ ! $# == 2 ] ; then
echo -e "\n $script_nam... |
efdb5b9891c18ce69dfda926d4bd10578004f70359e32952976873cd164d0f06 | Shell | 4,629 | 148 | #!/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
fs_json=none
anat=none
aseg=none
tmp=.
scriptdir="$( cd -- "$(dirname "$0")" >/dev... |
9c771c21bf854500ae8decc285e3d137747d5fc4e9c915a831d313f421fe10d5 | Shell | 4,634 | 185 | #!/bin/bash -e
#
# Recognizes a batch, writing LNAs into $RECTOOL_LNA_DIR, or if not specified,
# into
# $WORK_DIR/recognitions/<AM options>,
# and possibly lattices into $RECTOOL_OUTPUT_DIR, or if not specified, into
# $WORK_DIR/recognitions/<AM options>/<decoder options>,
# and writes the recognitions results (hy... |
743d58e358a023e43e9448ce4969faa29882a9b8a1c6abd406314c6908c5c716 | Shell | 4,637 | 139 | #!/usr/bin/env bash
# 1f is as 1e but with l2-regularize instead of proportional shrink
# local/nnet3/compare.sh exp/resnet1e_cifar10 exp/resnet1f_cifar10
# System resnet1e_cifar10 resnet1f_cifar10
# final test accuracy: 0.9583 0.9606
# final train accuracy: 0.9994 1
# final... |
e2186c77268c9b443dbe31276b2a93fd6f86df7448cb614616238bfbd239735b | Shell | 4,638 | 138 | #!/usr/bin/env bash
# This is a script to train a TDNN for speech activity detection (SAD)
# using statistics pooling for long-context information.
set -o pipefail
set -u
. ./cmd.sh
# 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 hav... |
45e60ac3c2fa77f27067fd99b3c786a5b836810b2ef5a109296b7b70a32d2b79 | Shell | 4,640 | 114 | #! /usr/bin/env bash
# End-to-end smoke test of the job API against a server.
#
# ./smoke_test.sh # starts a plain-Python mock server (no docker, no GPU)
# COSMOS_URL=... COSMOS_TOKEN=... ./smoke_test.sh --external # against a running server
#
# For every backend the server reports as availabl... |
1856850970b64555eb4bedb88d90c4e93f293e418c26e68d0c86d5a42172c646 | Shell | 4,647 | 128 | #!/usr/bin/env bash
# Copyright (c) 2015, Johns Hopkins University (Yenda Trmal <jtrmal@gmail.com>)
# License: Apache 2.0
# Begin configuration section.
cmd=run.pl
# End configuration section
. ./utils/parse_options.sh
. ./path.sh
set -e -o pipefail
set -o nounset # Treat unset variable... |
11728f9aa4d2c45fb42631f2471551c8f123650ca0ae1ece98e434b4997b2c9a | Shell | 4,661 | 48 | ###runs as bash pipeline.sh <list of input files to process> <Phred quality to filter> <study name>
#loop through all data given as a list; weirdly not all arguments are part of that list ... echo -e allows escaping with backslash
echo -e "-------IGNORE-------"
#this counts all input to script that is contained in a li... |
36e3c7b7b72680541edf7970f1e6a8adddd3286539abf38433cb56aa03b14f91 | Shell | 4,662 | 124 | #!/bin/bash -u
# Copyright 2012 Arnab Ghoshal
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT... |
dd142a00eb773f11c3166a971b43406c67c2c3d330776ebef01af3eeb1a7134e | Shell | 4,672 | 152 | #!/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... |
1db5eff15b9ec46158599109c68c103f4a792b2eedd090c85c4b156eb321553c | Shell | 4,680 | 105 | #!/usr/bin/env bash
# Copyright Johns Hopkins University (Author: Daniel Povey) 2012-2013.
# Hong Kong University of Science and Technology (Author: Ricky Chan Ho Yin). Apache 2.0.
#
# A Chinese character error rate (CER) scoring script for Kaldi;
#
# By default the script assumes the input Chinese words/ch... |
77a37e091ad179b9827b6274a334bb28c982ad53e6493f5b408c564305c4893f | Shell | 4,715 | 91 | #!/usr/bin/env bash
# Copyright 2021 Behavox (author: Hossein Hadian)
# Apache 2.0
# This script demonstrates one example of continual learning (CL)
# using Learning Without Forgetting (LWF) and DenLWF methods.
# This specific example is for transferring from a subset of Fisher English
# data to CommonVoice Indian s... |
9449ff84363a3a7726c67fb17fc6972731065bd08dd05c5ac14c6a51b727c067 | Shell | 4,717 | 140 | #!/usr/bin/env bash
# Copyright 2012 Chao Weng
# 2016 Alibaba Robotics Corp. (Author: Xingyu Na)
# Apache 2.0
# This is a shell script, but it's recommended that you run the commands one by
# one by copying and pasting into the shell.
# Caution: some of the graph creation steps use quite a bit of memory, so... |
1144f959c47717c72b12168aefe2665e8491c474565eaecb765bbd974b1adcbb | Shell | 4,720 | 168 | #!/usr/bin/env bash
# this is a basic lstm script
# 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 lstm/train.sh with --gpu false,
# --num-threads 16 and --minibatch-size 128.
set -e
stage=0
train_stage=-10
use_sat_alignmen... |
c4b1d94e2dc3de55b75cef4f140cc7f15f055a999cce5ca927c0c06f027205c6 | Shell | 4,724 | 121 | #!/usr/bin/env bash
#set -e
# this script is based on local/multicondition/run_nnet2_common.sh
# minor corrections were made to dir names for nnet3
stage=1
snrs="20:10:15:5:0"
foreground_snrs="20:10:15:5:0"
background_snrs="20:10:15:5:0"
num_data_reps=3
base_rirs="simulated"
set -e
. ./cmd.sh
. ./path.sh
. ./utils/pa... |
77e7962218fc9a0f8dd07f8c1d2f5d628612837e02087d7609c8b97063ecc849 | Shell | 4,725 | 140 | #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_kind}" == "supervised" ] ; then
mandatory_variables="my_ecf_file my_kwlist... |
d05d463fec7048106e6911a8389c1eecda864d39def6baec2f4cb21d05ff1a45 | Shell | 4,734 | 134 | #!/usr/bin/env bash
# 1d is as 1c but setting num-minibatches-history=40.
# A bit better.
# local/nnet3/compare.sh exp/cnn_aug_1c_cifar10 exp/cnn_aug_1d_cifar10
# System cnn_aug_1c_cifar10 cnn_aug_1d_cifar10
# final test accuracy: 0.8834 0.8857
# final train accuracy: 0.9644 0.96... |
801cb10511b529ffa94bba74a79221168888df3b3d34658bdd272aa886bbe957 | Shell | 4,737 | 138 | #!/usr/bin/env bash
# Copyright 2017 Nagendra Kumar Goel
# 2018 Vimal Manohar
# Apache 2.0
# This is a script to train a TDNN for speech activity detection (SAD)
# using LSTM for long-context information.
stage=0
train_stage=-10
get_egs_stage=-10
egs_opts=
chunk_width=20
extra_left_context=60
relu_... |
0451451d2238e887804c66d3096dee95c3a35ae615ffda44b73333baaa3f32ab | Shell | 4,738 | 127 | . ./path.sh
min_lmwt=5
max_lmwt=25
cer=0
cmd=run.pl
. ./utils/parse_options.sh
min_lmwt_start=$min_lmwt
max_lmwt_start=$max_lmwt
datadir=$1; shift
name=$1; shift
. ./lang.conf
set -e
set -o pipefail
[ ! -d $datadir/compounds/$name ] && echo "Component called $name does not exist in $datadir/compounds/" && exit 1
e... |
b599841b9d51c36ac0afcbd421ccf31b5b7ed5711db450ca36eeb9747c860844 | Shell | 4,739 | 127 | . ./path.sh
min_lmwt=5
max_lmwt=25
cer=0
cmd=run.pl
. ./utils/parse_options.sh
min_lmwt_start=$min_lmwt
max_lmwt_start=$max_lmwt
datadir=$1; shift
name=$1; shift
. ./lang.conf
set -e
set -o pipefail
[ ! -d $datadir/compounds/$name ] && echo "Component called $name does not exist in $datadir/compounds/" && exit 1
e... |
f6e2450a9126fa384a5bb6911b7c741df9175996df7aa6efbab8d536be7603be | Shell | 4,747 | 140 | #!/usr/bin/env bash
# Copyright 2017 Nagendra Kumar Goel
# 2018 Vimal Manohar
# Apache 2.0
# This is a script to train a TDNN for speech activity detection (SAD)
# using LSTM for long-context information.
stage=0
train_stage=-10
get_egs_stage=-10
egs_opts=
chunk_width=20
extra_left_context=60
extra_... |
64dad161ffe538cbd575a35e62e9c70b7ce8361d7af2e09b9960b34e3514e583 | Shell | 4,757 | 143 | #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_kind}" == "supervised" ] ; then
mandatory_variables="my_ecf_file my_kwlist_... |
909e2046891ebbaedfef919ccfca332b868a8a52d3b822af19c26cd0e2a19860 | Shell | 4,763 | 107 | #!/bin/bash
#usage: ./copy_reports_to_minio.sh </path/to/family/results/dir> <NGS type: wgs or wes> <OPTIONAL: multiqc> <OPTIONAL: coverages>
family_dir=$1
NGS_type=$2
genome_type=$3
multiqc=$3
coverages=$4
mc=/hpf/largeprojects/ccmbio/ccmmarvin_shared/data_transfers/mc
if [ -z $family_dir ]; then
echo 'Mus... |
663b1c211ca05ca7530a04a755ac3e859e9a1ba411bfb63905ea624cba6b9a0f | Shell | 4,777 | 150 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Yenda Trmal)
# Apache 2.0.
# Begin configuration section.
cmd=run.pl
case_insensitive=true
subset_ecf=
rttm_file=
extraid=
use_icu=true
icu_transform="Any-Lower"
kwlist_wordlist=false
langid=107
silence_word= # Optional silence word... |
01bc6922996b87f10434952a12f1a044b0e742c87cd0f1a52e7fe8f5ac261cc7 | Shell | 4,785 | 150 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen, Yenda Trmal)
# Apache 2.0.
# Begin configuration section.
cmd=run.pl
case_insensitive=true
subset_ecf=
rttm_file=
extraid=
use_icu=true
icu_transform="Any-Lower"
kwlist_wordlist=false
langid=107
silence_word= # Optional silence wo... |
565ca5b3b9fd1de32d4ddab609b9f537795ee464581feb09ffdb80d4a0ec4b84 | Shell | 4,794 | 152 | #!/usr/bin/env bash
# Copyright 2017 Nagendra Kumar Goel
# 2018 Vimal Manohar
# 2020 Desh Raj (Johns Hopkins University)
# Apache 2.0
# This is a script to train a TDNN-LSTM for overlap detections
# using statistics pooling for long-context information.
stage=0
train_stage=-10
get_egs_stag... |
ea99676a02c49587d79d96bcf03a99138e6f79c3d106fc545eca9389b094ed85 | Shell | 4,796 | 152 |
# This script runs 5th step to making GeneNetwork: Remove covariates from normalized data
set -e
set -u
project_dir=
outdir=
config_templates=
github_dir=
identity_matrix=
term_file=
auc_file=
zscore_matrix=
main(){
module load Java/1.8.0_144-unlimited_JCE
parse_commandline "$@"
rsync -vP $config_templa... |
6ee308499bc6735eafa5127156530eb77ac437d5164d7bce8d56e47a2a5d06dd | Shell | 4,803 | 157 | #! /bin/bash
set -e
interactive=0
skip_prerequisites=0
launch=0
python_root=
workspace_path="$(dirname $(realpath "${BASH_SOURCE[-1]}"))"
echo "workspace_path=$workspace_path"
options=$(\
getopt \
-o "i,p,l,pyroot:" \
--long "interactive,skip-prerequisites,launch,python-root:" \
-n 'CarlaSetup.sh' -... |
c43140e3eedab63c7b9cd2e0213c4926c845086515abd1c4aa127faaf0fbcf0e | Shell | 4,804 | 132 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (author: Daniel Povey)
# 2015 Guoguo Chen
# 2017 Hainan Xu
# 2017 Xiaohui Zhang
# 2020 Ke Li
# This script trains LSTM based LMs on transcription and perform lattice rescoring
# on 1st pass decoding results.
# B... |
2872d2792c2f290c3be276d418b17a59fabd175f256b545ba3e16b6a7c27528b | Shell | 4,810 | 95 | #!/usr/bin/env bash
################################################################################
# clear
# DEFINING VARIABLES
experiment=$1 # experiment ID found in fastq filename: expID_R1.fastq.gz
sample=$2 # sample ID
genome=$3 # human or mouse
patfile=$4 # is the UMI+barcode pattern file used in the lin... |
fcd86038f20379fe2f771ace530c8b993e335ef12b58614ec60ad6c4faa3dcd7 | Shell | 4,814 | 125 | #!/usr/bin/env bash
# Copyright 2012-2014 Brno University of Technology (Author: Karel Vesely)
# Copyright 2016 Radboud University (Author: Emre Yilmaz)
# Apache 2.0
# This example script trains a DNN on top of FBANK features.
# The training is done in 3 stages,
#
# 1) RBM pre-training:
# in this unsupervised s... |
d0ae6e8e0b8208270f70175e51867b4f878aee605785e62814fb08c9384af089 | Shell | 4,817 | 139 | #!/usr/bin/env bash
# Switchboard-1 training data preparation customized for Edinburgh
# Author: Arnab Ghoshal (Jan 2013)
# To be run from one directory above this script.
## The input is some directory containing the switchboard-1 release 2
## corpus (LDC97S62). Note: we don't make many assumptions about how
## y... |
1f50c7d71f3706280539c13ceac4fdebb750380413b882675993cc6f63d993f8 | Shell | 4,824 | 136 | #!/usr/bin/env bash
#
# Copyright 2017 Johns Hopkins University (Author: Shinji Watanabe, Yenda Trmal)
# Apache 2.0
# Begin configuration section.
mictype=worn # worn, ref or others
cleanup=true
# End configuration section
. ./utils/parse_options.sh # accept options.. you can run this run.sh with the
. ./path.sh
... |
3df1a9bb1a061a6880ebd913d53a96d707fef4980f1b3f48381af2b7368f5b81 | Shell | 4,825 | 57 | #!/usr/bin/env bash
targetDir=$1
echo "------------------------------------"
echo "Building an SRILM in \"$targetDir\""
echo "------------------------------------"
for f in $targetDir/vocab $targetDir/text.train $targetDir/text.dev; do
[ ! -f $f ] && echo "$0: requires $f" && exit 1;
done
echo "------------------... |
05142559286b98b0af2de72c79e45cfc69a8f1a7d5b795ec64bd38cb296feb5a | Shell | 4,832 | 176 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University
# Apache 2.0.
stage=0
[ -f ./path.sh ] && . ./path.sh
[ -f ./cmd.sh ] && . ./cmd.sh
[ -f /export/babel/data/software/env.sh ] && . /export/babel/data/software/env.sh
. utils/parse_options.sh
if [ $# -ne 3 ]; then
echo "Usage: create_shadow_dataset.sh ... |
ef7d66ddce01bddacf510d85cd1c240841f857164ee76056e8aca29fae8b6af0 | Shell | 4,835 | 142 | #!/usr/bin/env bash
# This is a script to train a TDNN-LSTM for speech activity detection (SAD)
# using LSTM for long-context information.
set -o pipefail
set -u
. ./cmd.sh
# 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... |
7d38bec55002ece95899bf74d3d17fbd2b54591ab8b7fae612f910e36f562db2 | Shell | 4,845 | 176 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University
# Apache 2.0.
stage=0
[ -f ./path.sh ] && . ./path.sh
[ -f ./cmd.sh ] && . ./cmd.sh
[ -f /export/babel/data/software/env.sh ] && . /export/babel/data/software/env.sh
. utils/parse_options.sh
if [ $# -ne 3 ]; then
echo "Usage: create_shadow_dataset.... |
a76ef83d66cc359ae0e99ad29a011af7d62c7293cd90e06e79ac55aa0be79e85 | Shell | 4,852 | 130 | #!/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.... |
4488e628c78d789837b5692f7034661c8bc43e23423294190c54f297330bf4de | Shell | 4,853 | 108 | #!/usr/bin/env bash
#
# This script generates separate egs directory for each input
# language in multilingual setup, which contains both egs.*.ark and egs.*.scp.
#
# This script will generally be called from nnet3 multilingual training script.
echo "$0 $@" # Print the command line for logging
. ./cmd.sh
set -e
# B... |
9abfd8a5b2d697e9db88308d930427fe2aad0cd39d50a7b4e22ab1ab515f4c82 | Shell | 4,861 | 137 | #!/usr/bin/env bash
# Copyright 2013 Arnab Ghoshal
# Johns Hopkins University (author: Daniel Povey)
# 2014 Guoguo Chen
# 2019 Dongji Gao
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You ma... |
a346f356f7a3f89b65b8b104bba5ec7b30b414e7fdccb31704e4df36e0e1565a | Shell | 4,890 | 215 | #!/bin/bash
# remove duplicates using sambamba
# script filename
script_name=$(basename "${BASH_SOURCE[0]}")
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 NUMB... |
fff16fc7548c1344251f4763250491fc4e278980f5c292d2df719a4830380d19 | Shell | 4,890 | 125 | #!/usr/bin/env bash
# Kaldi ASR baseline for the CHiME-4 Challenge (1ch track: single channel track)
#
# Copyright 2016 University of Sheffield (Jon Barker, Ricard Marxer)
# Inria (Emmanuel Vincent)
# Mitsubishi Electric Research Labs (Shinji Watanabe)
# 2017 JHU CLSP (Szu-Jui C... |
74ba7c6d324b536fc66eceba8e6c730a8ee465eefb6bce4eaad6f771513634ae | Shell | 4,891 | 136 | #!/usr/bin/env bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen)
# Apache 2.0.
# Begin configuration section.
case_insensitive=true
use_icu=true
icu_transform="Any-Lower"
silence_word= # Optional silence word to insert (once) between words of the transcript.
# End configuration section.
echo $... |
c28087054d38d40f7fde262848a22050b5d8198be9d2b14884b8eb6256969ab5 | Shell | 4,891 | 144 | #!/bin/bash -v
# This script builds the SGMM system on top of the bottleneck features.
# It comes after run-BNF.sh.
# you might want to make the director ./plp_processed somewhere fast with a lot of space before
# running the script.
. conf/common_vars.sh
. ./lang.conf
[ -f local.conf ] && . ./local.conf
set -e
set... |
559e921a011fc659d3f9699ea3be2b352990fed2a988612669dc7d8fa53d61d9 | Shell | 4,892 | 160 | #!/bin/sh
#
# Copyright (C) 2014-2015 Genome Research Ltd.
#
# Author: James Bonfield <jkb@sanger.ac.uk>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.