sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
d89e646c09a987e3c237e01ecb474fafc40026fddef8bd4ef1a06566c97060fd
Shell
3,086
120
#!/usr/bin/env bash # this script is used for comparing decoding results between systems. # e.g. local/chain/compare_wer.sh exp/chain/cnn{1a,1b} # Copyright 2017 Chun Chieh Chang # 2017 Ashish Arora if [ $# == 0 ]; then echo "Usage: $0: <dir1> [<dir2> ... ]" echo "e.g.: $0 exp/chain/cnn{1a,...
ff48b5634920e8912884ed36a2d827c10f51445961976aee6158dc31048480fd
Shell
3,088
109
#!/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 ...
af7327d1af405219743e9107e27ff461a381b57340b3b31329222c95115f590e
Shell
3,091
85
#!/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...
38da81b3c91c6fab7bc5b4eb45e023cfddc986587b1dd9dcd7df05539e8eb153
Shell
3,092
84
#!/usr/bin/env bash # Inherited from the WSJ nnet3 recipe, modified for use with ECA # this script is called from scripts like run_ms.sh; it does the common stages # of the build, such as feature extraction. # This is actually the same as local/online/run_nnet2_common.sh, except # for the directory names. mfccdir=mf...
4f3b39e1d4f89ba76d1545934eee562de6840db009063f2f183571a4b6f5555f
Shell
3,104
70
#! /bin/bash # Fetch the NVIDIA DLSS SDK into a user-local path and export DLSS_SDK so the # engine's DLSSRRDenoiser plugin (DLSS Ray Reconstruction denoiser for the # rt_lens sensor + DLSS Super Resolution scene-capture upscaler) builds with # real NGX support. # # The SDK is licensed by NVIDIA and may not be redistr...
ee0037c5610fd0caa142390806bff341746a0c9dbd5ef7fea8078bbf0846957f
Shell
3,105
72
#!/bin/bash # Copyright (C) 2017-2018 Lucas Czech and HITS gGmbH # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
fbe5153aa3a1ac40a1c6b44336dc9b40d5b0e01a55a661b0cd097258c2ed88a1
Shell
3,109
116
#!/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 ...
db41a748afc92a06b74b5aad57aa527ac83f1d5599295d670e5d499a27cfdcee
Shell
3,122
86
#!/usr/bin/env bash # Copyright 2013 (Authors: Daniel Povey, Bagher BabaAli) # 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...
1f9d50ce39b93bf1895f3d9ef92a7c95a248e20ea63db70d15dacc01f0b8010a
Shell
3,124
76
# Set environment variables. export MKL_NUM_THREADS=2 export NUMEXPR_NUM_THREADS=2 export OMP_NUM_THREADS=2 # Define constants. SERMODS=../../data/models/5HT/5HT_AugmentedGIFs.lmod GABAMODS=../../data/models/GABA/GABA_iGIF_NPs.lmod REPEATS=20 PROCESSES=10 # Generate GIFnet models. python ./generate_models.py --sermod...
341c32c7fbe834958afd8907bc0518e2a181612dbfad630e051444c02f9161bb
Shell
3,136
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 ...
154ba872d5a13ed48128cdad116ad7f7df105c57014f1d8ecd540387e3fcc7f4
Shell
3,141
86
#!/usr/bin/env bash # Copyright 2010-2012 Microsoft Corporation # 2012-2014 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 # # ht...
9bf1bf87220d715c0f210f16b951be8320c85e5184c3e36ebac6fe6b8c6eda96
Shell
3,142
69
#!/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...
ba328a0a10ae9c51f987f47ede9e02f9e82c7b1899d5ef59fdaecb550296c8c1
Shell
3,142
119
#!/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 ...
80aab42e068f0c86e87026efc32f8d92819a96b477c0ce9e4922e405d73fc9c9
Shell
3,143
92
#!/bin/bash # script that execute experiments symulations from the file expFiletoRun # script generate history of executed experiments export PATH=$PATH:/usr/local/nsp-server/src/sh/ writeDebug.sh `basename "$0 started."` writeOutput.sh "Reading Local experiments queue" # Set default values for parameters expF...
3c8bee345b854540524aedc4afd4ae3019b5e8d231d4088ed9c9963bfcb371fc
Shell
3,153
74
#!/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...
261b54ece1711b9b1b7fa721a501ee9005b96bde6da171551738158caae1db18
Shell
3,155
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 ...
7daf15becebb8fca9116c0a021d3f8ea8d94abf0db1b7eaaaab564fc20aaf0fd
Shell
3,157
96
#!/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 ...
7cfb0d8978efcb5fd0debd8c08ec2ea11f0dce0b1943f4526f1419a1ac39510f
Shell
3,160
99
#!/bin/bash # script that execute experiments symulations from the file expFiletoRun # script generate history of executed experiments # input: # Set default values for parameters containerName=`docker ps -l -q --filter name=nsp_genesis` expFiletoRun='localSimulationQueue.nsp' expFiletoRunTmp='localSimulat...
a03dcf749dc156aafec9a692cbe816ed21c4261f5085f1e4ad184d13072ff677
Shell
3,163
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 # Preparing the default values for variables tmp=. ### print input printline=$( basename -- $0 ) echo "${printline}" "$@" # Pa...
272fe195f14edf98b58dcc59cbb0ba0f7b03881e59dbff066ae473d6bc3ae449
Shell
3,173
97
#!/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 ...
855e7db31a7e4ae0dae093e242ce3039141fad1971875085572dc1f762d44f80
Shell
3,174
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 ...
aff5c83f02b8d392de733d50e55e21e1bf256ddb2cbd79a8af3cedb437115354
Shell
3,179
96
#!/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...
eb78c1d16bfb17063b019f6316be9fe764105303b89182ee62401b5cbf6576aa
Shell
3,186
60
#!/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...
075c63619835eea5a14b3ca94ad1ee58306b3e8ff3920439e26415bbefe68803
Shell
3,195
62
#! /bin/bash # # BASE_PATH=$1 OUTPUT_DIR=$2 prefix=$3 roi_th=$4 ATLAS_DIR=${BASE_PATH}/suit_atlas ImageMath 3 ${OUTPUT_DIR}/${prefix}cb_wgm.nii.gz m ${OUTPUT_DIR}/${prefix}t1_head_bc.nii.gz ${OUTPUT_DIR}/${prefix}cb_mask.nii.gz echo "Running affine registration: cerebellum to template" inputImg=${OUTPUT_DIR}/${prefi...
9edaac3939415e2ddd98fabf10444fe6e0e319331ac17a7c11ba3fcdfacef96b
Shell
3,198
90
#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 ...
8cdef6ecd28b9ea8283d9bcfff4646e824e760677e0d45ec01e804a70969323a
Shell
3,220
102
#!/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...
dd56abb2d45a5e2cbbefdc1dcbcafbeb62232925272f05b478e44b711e917406
Shell
3,220
81
#!/usr/bin/env bash # Copyright 2016 Pegah Ghahremani # This script used to train iVector extractor shared across different languages # using input data dir containing training data for multiple languages. # This script uses the input "{lda_mllt_lang}" language to train lda-mllt model. . ./cmd.sh set -e stage=4 suff...
fcfa40f9e8276941cba52d0650063b1f9736d306f4ba38375226fc8d6d5affe9
Shell
3,228
72
#!/usr/bin/env bash # Prerequisite checks for install-scenic. Read-only, no sudo, fast. # Exits non-zero only on hard blockers: no interpreter, no pip. # A missing carla client is a WARN — install order is the skill's job to fix. # On-camera banner: every skill run announces itself, so a terminal recording # shows whic...
7d0b32803602672a599ec1c5113fcc6140cb716c233b1c0e43ed38e5538720f3
Shell
3,236
97
#!/bin/bash # Copyright 2020 Audio, Speech and Language Processing Group (ASLP@NPU), Northwestern Polytechnical University (Authors: Zhuoyuan Yao, Xiong Wang, Jingyong Hou, Lei Xie) # 2020 AIShell-Foundation (Author: Bengu WU) # 2020 Beijing Shell Shell Tech. Co. Ltd. (Author: Hui BU) # Apache 2....
cfa73cede6fb0e0f44741aca4cc42c8e511fb4c31adcbdd0897947f95e7487d1
Shell
3,240
110
#!/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 ...
1122c8210f9d8ea2436f24f2cdbcc83b6b963de09540d2b5d58bf56b5cae7a9c
Shell
3,248
84
#!/bin/bash set -euxo pipefail GSE=GSE111586 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...
5757a0b48759dd449ea73d3b8ef8e2c5087bdb980aca024403d5104b775a66eb
Shell
3,253
89
#!/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...
2f8bf49106647f3e5181bbd23c0ae3f03226338cdfd017148c758ccbbf979b08
Shell
3,254
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 ...
03e719552584723bed29cef5e3307da846177e30d85d863610b2edd74eb23337
Shell
3,260
87
#!/usr/bin/env bash # This script prepares the data directory used for TensorFlow based RNNLM traiing # it prepares the following files in the output-directory # 1. $dir/wordlist.rnn.final : wordlist for RNNLM # format of this file is like the following: # 0 The # 1 a # 2 is # .......
f931187c8c146cd4f70652eea3dad8c4c8387cf1d565de6de687860013de2ee1
Shell
3,260
96
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Yenda Trmal) # Apache 2.0. #Begin configuration ignore_missing_txt=false #If the reference transcript txt is missing, \ #shall we ignore it or treat it as a fatal error? #End configuration echo "$0 $@" # Print the comm...
9466021a2812b909f07fc213ead1d4114923512fa017fe269430622dc25e3405
Shell
3,268
76
#!/bin/bash set -euxo pipefail echo $PATH f_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,tasic20...
f208cd5de3f89eaf1cd023ef06d07d43bee721ef9864021e988cc14b060840ed
Shell
3,269
95
#!/usr/bin/env bash . ./cmd.sh stage=1 train_stage=-10 use_gpu=true set -e . ./cmd.sh . ./path.sh . ./utils/parse_options.sh # assume use_gpu=true since it would be way too slow otherwise. if ! cuda-compiled; then cat <<EOF && exit 1 This script is intended to be used with GPUs but you have not compiled Kaldi ...
a27b0a71127435368897eb7fe8f2005cc234f41c3bd44e2483d8c8883c872269
Shell
3,277
73
#!/usr/bin/env bash # Self-contained environment for the check-ue5-limitations skill (CARLA on UE 5.5, # branch ue5-dev). Source before the other scripts: source env.sh # # CARLA_UE5_ROOT a ue5-dev checkout (UE 5.5). Auto-detected from a few usual # places when unset. # CARLA_UE58_ROOT option...
5da05b31a23fbc029eb1b105c8928a85d14ea6edadffcc20ca3dfa29e4a63e51
Shell
3,282
123
#!/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 ...
22b3cc4bdc55f3440ab6aa3bc1c024b11cf3ecd7c1398c6dca1de06cff158b3e
Shell
3,284
102
#!/usr/bin/env bash # Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski) # AMI Corpus dev/eval data preparation # To be run from one directory above this script. . ./path.sh #check existing directories if [ $# != 2 ]; then echo "Usage: ami_data_prep.sh </path/to/AMI-MDM> <mic>" exit 1; fi ...
a8f63ad57e7ce612abc43496ab7039d516ab56a5a8e68b66e22efa37f2d5398b
Shell
3,288
103
#!/bin/bash # Author: Ruiqi Chen # Version: 01/25/2022 # # Update (01/26/2020): Now convert_res will created an placeholder when it skips a subject, and # this script will find out these placeholders, delete the folder and remove the subjects from # the list. (to be implemented) # # This script has two functionality: ...
4b3cc0c531c1f627fc684e40ddc25daeca22e1730c591317031de69479c8a7ce
Shell
3,289
89
#!/usr/bin/env bash # Copyright 2017 Radboud University (Author: Emre Yilmaz) . ./cmd.sh . ./path.sh stage=0 feat_nj=10 train_nj=10 decode_nj=10 famecorpus=./corpus/ASR . ./utils/parse_options.sh numLeavesTri1=5000 numGaussTri1=25000 numLeavesMLLT=5000 numGaussMLLT=25000 numLeavesSAT=5000 numGaussSAT=25000 numGauss...
04e705c2009dccfcbc9b11011364625051775b2280a1c6ac8652c0075e09bef9
Shell
3,295
94
#!/usr/bin/env bash # Copyright 2017 Beijing Shell Shell Tech. Co. Ltd. (Authors: Hui Bu) # 2017 Jiayu Du # 2017 Chao Li # 2017 Xingyu Na # 2017 Bengu Wu # 2017 Hao Zheng # Apache 2.0 # This is a shell script that we demonstrate speech recognition using AIShell-1 data....
6f82df445b79632b896a95eb10bb6682c5fb9be08bbad88911b4ef7940499955
Shell
3,295
92
#!/bin/bash # Working out pronunciation probabilities and testing with them. set -e #Exit on non-zero return code from any command set -o pipefail #Exit if any of the commands in the pipeline will #return non-zero return code set -u #Fail on an undefined variable . conf/commo...
75059f40ca092a1f65b6a741bd56f5245c943955bdaa7701ab3a8f61f21e2a12
Shell
3,300
62
#!/bin/bash set -euxo pipefail GSE=GSE127257 #GSE_train=GSE123576 sf_marker='GABAergic_markers_fc.txt,Glutamatergic_markers_fc.txt,Non.Neuronal_markers_fc.txt' ta_marker='tasic2016_gaba.csv,tasic2016_glu.csv,tasic2016_gli.csv' cu_marker='cusanovich2018_inh.txt,cusanovich2018_ext.txt,cusanovich2018_gli.txt' if [ "$2" ==...
b934eb1ab0beea3c5db7766be2778d613e0d9dc203e5ba075f5cd5e484a58f20
Shell
3,301
74
#!/usr/bin/env bash # Prerequisite checks for install-leaderboard. Read-only, no sudo. # Hard blockers: no git, no pip. Everything else is advisory — this skill's job # is to create the environment the other leaderboard skills demand. # On-camera banner: every skill run announces itself, so a terminal recording # shows...
c9ef169bbbb21f05455d97546ad855dd7ff6fdc0afdb8fb766e97b669f812ee6
Shell
3,303
127
#!/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 ...
f723691f93682c011cc35cac61f56b1818dc1b20b16509df873c400a886ef138
Shell
3,303
154
#!/bin/bash # run fastq_screen (more generic version of qc-fastqscreen.sh) # 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 [ ! $# ==...
284ad100b85f6622e1c873c3e1d703a0f885832bbab1a5a7cfd06a61d6fee8a0
Shell
3,304
124
#!/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 ...
626a6bbb137b22bc11132b8919dd0f98d6516d075277fedee197a6a2efec7356
Shell
3,304
57
#!/usr/bin/env bash # Copyright 2014 Gaurav Kumar. Apache 2.0 # This is as run_sgmm2.sh but excluding the "speaker-dependent weights", # so not doing the symmetric SGMM. . ./cmd.sh ## SGMM on top of LDA+MLLT+SAT features. if [ ! -f exp/ubm6a/final.mdl ]; then steps/train_ubm.sh --silence-weight 0.5 --cmd "$trai...
1f5f1c3cc764816be386b4bdada67e35a401cf74743efef2b32d610fc5869ae2
Shell
3,315
67
#!/usr/bin/env bash # Self-contained environment for the import-carla-prop skill. # Source before the skill's other scripts: source env.sh # # The skill library is engine-agnostic — it ships inside a CARLA checkout but # not necessarily the ue4-dev one this skill targets — so the target instance # is chosen at runtime...
5934d2c7302747cd5f0060d4c1be5e51e753b358f0ee126e6821bc682aec23c6
Shell
3,327
100
#!/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...
7c1e79810c2625d5b560c259fbdbfae0fd04528621df2945bafb39ac3df72e3b
Shell
3,327
98
#!/usr/bin/env bash . ./cmd.sh stage=1 train_stage=-10 use_gpu=true set -e . ./cmd.sh . ./path.sh . ./utils/parse_options.sh # assume use_gpu=true since it would be way too slow otherwise. if ! cuda-compiled; then cat <<EOF && exit 1 This script is intended to be used with GPUs but you have not compiled Kaldi w...
19a2b438050ed89ca0152eb943dfd170639bd45885383e2fccdc06fcbeb5ffd1
Shell
3,333
116
#!/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...
52a54be95356d93bc13fe348b3866d3b9d84e23099ed5323160c486c34393dea
Shell
3,333
104
#!/usr/bin/env bash # Copyright 2013-2014 Johns Hopkins University (authors: Jan Trmal, Guoguo Chen, Dan 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...
23c2328d00959c69c73662c07c290db256ead5ad864da30af7fe85a922e62795
Shell
3,340
76
#!/usr/bin/env bash # Make the features, build the iVector extractor . ./cmd.sh stage=1 set -e . ./cmd.sh . ./path.sh . ./utils/parse_options.sh mkdir -p exp/nnet2_online if [ $stage -le 1 ]; then # this shows how you can split across multiple file-systems. we'll split the # MFCC dir across multiple location...
177da5e62e1b5a90d04455536431a2fb0e459c895ec9406efe8085a0b3ba4094
Shell
3,347
110
#! /bin/bash set -o pipefail # ============================================================================== # -- Set up environment -------------------------------------------------------- # ============================================================================== SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) CAR...
cb535f05692efa421210ab0ab4451e08399e69fac4f81faba5619855542c3901
Shell
3,347
100
#!/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 ]...
3f3bc2438ff38b3a247c02d28ed67ea044a0e15076af1983b6e1064dbaf5fd6b
Shell
3,349
103
#!/usr/bin/bash rm count_files.txt rm data.txt python evalPatchDock.py 3F74_A_B python evalPatchDock.py 3HRD_E_H python evalPatchDock.py 1ERN_A_B python evalPatchDock.py 2B3Z_C_D python evalPatchDock.py 4KGG_C_A python evalPatchDock.py 2FE8_A_C python evalPatchDock.py 1SOT_A_C python evalPatchDock.py 2LBU_E_D python ev...
c8887f4a61a0f663a5e4615a2e0ac1f22307123918801dfa7aad56297d7d5bf9
Shell
3,355
92
#!/bin/bash ## Directories logdir="/home/yongin/Gen/181130_IntMethod_test/1214/out/exp2_l2l1h1" ## Parameter Lists for Looping # Network Setup # declare -a network_setup_list=('0_5_5_5' '5_5_5' '0_5_5_15') # declare -a network_setup_list=('0_5_5_15' '0_5_5_5' '5_5_5') declare -a network_setup_list=('1.B-3-1_2.F-5') ...
178dee7e07630675f0c8bd2641923e3b4999cd7eb1cb87566b0162375c047bd5
Shell
3,356
85
#!/usr/bin/env bash # Copyright 2015 Johns Hopkins University (author: Vijayaditya Peddinti) # Apache 2.0 # This script downloads the Concert Hall Impulse Responses - Pori, Finland # and converts them to wav files with the required sampling rate #============================================== download=true sampling_r...
0b2bf6caf634c24ffaca46f68e8e30cfa481119616db4f775018baa4b098e153
Shell
3,358
66
#!/bin/bash set -uxo 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_cel...
6788623ff0c8a43fb8e0330943be855160e1b6390b9694fbaabdf4c133896a68
Shell
3,358
70
#!/usr/bin/env bash # Preflight for add-ros-publisher. Read-only, no sudo. # Exits non-zero only on hard blockers. # On-camera banner: every skill run announces itself, so a terminal recording # shows which skill is doing the work rather than just its output. The name is # taken from the directory so it cannot drift fr...
a483232e880048bc9366747fcd6588f63a3d8b52d1dd7bf073d577f07e8a8621
Shell
3,360
65
#!/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...
a9ce6ccade7dc22cc9f4f974b345e78f32a2ee59ea20726fb873c5241c221d99
Shell
3,365
68
#!/usr/bin/env bash # Self-contained environment for the import-carla-map skill. # Source before the skill's other scripts: source env.sh # # carla-agentic-tools is standalone (not inside a CARLA checkout), so the target # instance is chosen at runtime. Both roots are overridable and must point at a # real, built CARL...
2b32c858550a73b721fde2d6bb69c4d7a14a4ea11c988d2a45d13580d00f1d94
Shell
3,367
93
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (author: Daniel Povey) # 2015 Guoguo Chen # 2017 Hainan Xu # 2017 Szu-Jui Chen # This script trains LMs on the reversed Chime4 data, which we # call it backward model. # Begin configuration section. affix=1a dir=exp/rnnlm...
cb4723a6dbb696094aa0ab6b3febd3e0f7670f5c48a682045d0c297b51e9305b
Shell
3,375
90
#!/bin/bash set -euxo pipefail 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,tasic2018_glu.txt...
dfa42810bb9c63a74becee76ce07882f944255dcf44d0e898f79534b6208fca0
Shell
3,376
156
#!/bin/bash # run fastq_screen # script filename script_path="${BASH_SOURCE[0]}" script_name=$(basename "$script_path") segment_name=${script_name/%.sh/} echo -e "\n ========== SEGMENT: $segment_name ========== \n" >&2 # check for correct number of arguments if [ ! $# == 4 ] ; then echo -e "\n $script_name ERROR:...
d5922e9d827a7d76b507bc46beb36d2871f8ece122359be06184720d907f2cc2
Shell
3,381
112
# This script runs first step to making GeneNetwork: remove duplicate samples set -e set -u project_dir= outfile= config_templates= jardir= expression_file= main(){ module load Java/1.8.0_144-unlimited_JCE parse_commandline "$@" rsync -vP $config_templates/2_config_RemoveDuplicates.json $project_dir/conf...
ee8bf27e909b19ef11f5461838b14319daf8fec86067ab7b153d479e118389d2
Shell
3,386
64
#!/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...
c622a8a9034b7ca367ed6e7d58fc5b96b65c4ec7462dfc8a07c9e6e563b03d87
Shell
3,390
100
#!/usr/bin/env bash # Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski) # AMI Corpus dev/eval data preparation . ./path.sh #check existing directories if [ $# != 2 ]; then echo "Usage: ami_sdm_data_prep.sh <path/to/AMI> <dist-mic-num>" exit 1; fi AMI_DIR=$1 MICNUM=$2 DSET="sdm$MICNUM" SEG...
ba811f62cb70bffe3f991c7255c60d954f14533f8f1937e970e8e11f0092fd99
Shell
3,394
97
#!/usr/bin/env bash # This is to be run after run_nnet2.sh . ./cmd.sh use_preconditioning=true stage=1 train_stage=-10 use_gpu=true . ./cmd.sh . ./path.sh . ./utils/parse_options.sh if $use_gpu; then if ! cuda-compiled; then cat <<EOF && exit 1 This script is intended to be used with GPUs but you have not co...
d6570a3e420d317dbe547d40e095342a44d10d82a86ec04c0bc7593293f2acb8
Shell
3,400
113
#!/usr/bin/env bash # 1c uses dropout with fewer but larger layers #teps/info/nnet3_dir_info.pl exp/cnn1c_cifar10 #exp/cnn1c_cifar10: num-iters=60 nj=1..2 num-params=4.3M dim=96->10 combine=-0.00->-0.00 loglike:train/valid[39,59,final]=(-0.08,-0.01,-0.00/-0.71,-0.79,-2.09) accuracy:train/valid[39,59,final]=(0.98,1.0...
1d9f5f94ece92d24217d2299f4570c71021c49b67024f028302b11c989f88e13
Shell
3,406
113
#!/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 # #...
ec779c1ed2c589ba34eb8aa9a242af4d4dd68819228855301bca9661986d6927
Shell
3,407
88
#!/usr/bin/env bash # To be run from one directory above this script. . ./path.sh text=data/local/train/text lexicon=data/local/dict/lexicon.txt for f in "$text" "$lexicon"; do [ ! -f $x ] && echo "$0: No such file $f" && exit 1; done # This script takes no arguments. It assumes you have already run # aishell_d...
7c5a7b3c68f1b00bdf262805cf14d0b8dd9c4f024b5d7d440fb121407f3877af
Shell
3,408
111
#!/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...
d598c4ffe16d323d020b95090e95cbb0603444fab0a98e18af580ec1f43fc515
Shell
3,411
91
#!/usr/bin/env bash # Copyright 2018 AIShell-Foundation(Authors:Jiayu DU, Xingyu NA, Bengu WU, Hao ZHENG) # 2018 Beijing Shell Shell Tech. Co. Ltd. (Author: Hui BU) # Apache 2.0 . ./path.sh . ./utils/parse_options.sh if [ $# -ne 3 ]; then echo "train_lms.sh <lexicon> <word-segmented-text> <dir>" echo " ...
6c6ae3a77ad2b81598411a70e94b54fc8c481ddb0f5b71c3fb7efeebfa8743d7
Shell
3,413
128
#!/bin/bash set -e DOC_STRING="Run docker containers. This script launches development docker containers for CARLA UE5." USAGE_STRING=$(cat <<- END Usage: $0 [options] Run configurations (choose one): --dev Run the development docker container User and group options: --user UID:GID Se...
11f727debef033680075cb873f167798841ddc665ba324453a087061d51eede7
Shell
3,414
124
#!/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...
facd02c2a1d5be45934dcf4f3a99aefe8197a896efa25279cde4501c13a13fec
Shell
3,424
111
#!/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...
dd58f1952e0f35de62f39bd5dda962d95fc470ed4680671f86b430056d5866e1
Shell
3,426
106
#!/usr/bin/env bash # Copyright 2013 Johns Hopkins University (authors: Yenda Trmal) # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # THIS C...
f082c94ea32a10407184cbcebccf188a083cf0f97dbe253121140fa02b547d42
Shell
3,434
168
#!/bin/bash DATA_NAME=(${@:1:1}) echo ${DATA_NAME} DATA_NAME=ADNI 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...
81793c434bfa8fe544980933c41c98d77808d1c014de9b7266af563f9c57d7a4
Shell
3,445
112
#!/usr/bin/env bash # 1d is as 1c but adding batch-norm to all convolutional layers. # batch-norm helps (0.78 -> 0.8). # exp/cnn1d_cifar10: num-iters=60 nj=1..2 num-params=4.3M dim=96->10 combine=-0.10->-0.08 loglike:train/valid[39,59,final]=(-0.03,-0.00,-0.00/-0.63,-0.69,-0.68) accuracy:train/valid[39,59,final]=(1.0...
324556ae89880e8c1436477d5bfb66a067a13c029860ad828c0d8f8641da4450
Shell
3,448
112
# This script runs first step to making GeneNetwork: remove duplicate samples set -e set -u project_dir= outfile= config_templates= expression_file= github_dir= main(){ module load Java/1.8.0_144-unlimited_JCE parse_commandline "$@" rsync -vP $config_templates/2_config_RemoveDuplicates.json $project_dir/...
d6b522fc8346ed10ad4020f9a67f1dbe21b80f5f154b442af6d77fcc15843702
Shell
3,450
120
#!/usr/bin/env bash # Copyright 2014 (author: Ahmed Ali, Hainan Xu) # Copyright 2016 Johns Hopkins Univeersity (author: Jan "Yenda" Trmal) # Apache 2.0 echo $0 "$@" export LC_ALL=C galeData=$(utils/make_absolute.sh "${@: -1}" ); length=$(($#-1)) args=${@:1:$length} top_pwd=`pwd` txtdir=$galeData/txt mkdir -p $txtd...
f71b162d441215f8e43948b6464877fbb1a0cc6d43b63bb7c4050fe91ae4235b
Shell
3,460
95
#!/usr/bin/env bash # Copyright 2013 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...
83279fdae50cfd8e87cd092f74d29c937230c599a4eae1cecb53ab1d2467ce6b
Shell
3,461
96
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (author: Daniel Povey) Tony Robinson # 2017 Hainan Xu # 2017 Ke Li # 2-layer LSTM hidden 200: # rnnlm/train_rnnlm.sh: best iteration (out of 18) was 10, linking it to final iteration. # Train objf: -620.20 -4.49 -4.33 -4.21 -4.13 -4...
b11ed545ac1da2ccc2bf2aebf6a194549b81773f247a349050a1d2b0954dabd3
Shell
3,461
136
#!/usr/bin/env bash # shellcheck source=../utils.sh source $( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )/../utils.sh # Check if there is input [[ ( $# -eq 0 ) ]] && displayhelp $0 1 # Preparing the default values for variables tmp=. ### print input printline=$( basename -- $0 ) echo "${printline}" "$@" # Pa...
6d4c03d51d6d14d54310db6c5c0b1f8baa90d42212191a61cf40cf6097e459cf
Shell
3,469
92
#!/usr/bin/env bash # To be run from one directory above this script. text=data/local/train/text lexicon=data/local/dict/lexicon.txt for f in "$text" "$lexicon"; do [ ! -f $x ] && echo "$0: No such file $f" && exit 1; done # This script takes no arguments. It assumes you have already run # swbd_p1_data_prep.sh...
596e06b8f7e343dfb22dd2a9b9f269ae113aaa9afe5502084413838538ce7fbc
Shell
3,472
92
#!/usr/bin/env bash # To be run from one directory above this script. text=data/local/train/text lexicon=data/local/dict/lexicon.txt for f in "$text" "$lexicon"; do [ ! -f $x ] && echo "$0: No such file $f" && exit 1; done # This script takes no arguments. It assumes you have already run # aidatatang_data_prep...
95f623c06ff9f71530b947116102fdc1effc530c791045975f1471c6b0386b30
Shell
3,473
92
#!/usr/bin/env bash # This script creates the parallel data dir based on ihm data, # creates speed perturbed versions of this parallel data # and generates the corresponding alignments. # The parallel data dir has segment ids from distant microphone data # but the wav data is copied from ihm. mic=sdm1 new_mic=sdm1_cl...
39388e938fea3441bd05306271686e8eef624dd30ce29223201e3caa18c6fcfd
Shell
3,483
126
#!/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 ...
b8f28a40cde2b7ea98da506724a817748a4966bd962f47168dccd4eb871cf778
Shell
3,496
133
#!/usr/bin/env bash # Copyright 2015 University of Sheffield (Author: Ning Ma) # Apache 2.0. # # Kaldi baseline for CHiME Challenge I/II (GRID corpus) . ./cmd.sh . ./path.sh # Needed for KALDI_ROOT . ./config.sh # Needed for REC_ROOT and WAV_ROOT # Check wave file directory if [ ! -d $WAV_ROOT ]; then echo "Canno...
f3cef1479c91f086cb31f6329741864206df2d1ea6e552df6025595082520735
Shell
3,500
97
#!/usr/bin/env bash # Copyright 2014 Pegah Ghahremani # 2014 Johns Hopkins (Yenda Trmal) # Apache 2.0 # This script builds the SGMM system on top of the kaldi internal bottleneck features. # It comes after run-6-bnf-semisupervised.sh. . conf/common_vars.sh . ./lang.conf [ -f local.conf ] && . ./local.c...
6fb2ca213157d7c1cb2294b0cc48d4cd0e5cecc0d8e4171684d9d2a2d5d76844
Shell
3,501
106
#!/usr/bin/env bash # Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski, Jonathan Kilgour) # Copyright 2015, Brno University of Technology (Author: Karel Vesely) mics= . utils/parse_options.sh if [ $# -ne 2 ]; then echo "Usage: $0 <mic> <ami-dir>" echo " where <mic> is either ihm, sdm or mdm a...
ac988f2e4bf65064acdb5e6f51914fb150ef68561db448908a7c083348c82208
Shell
3,504
120
# This script runs 3rd step to making GeneNetwork: quantile normalisation before PCA set -e set -u project_dir= outdir= config_templates= jardir= expression_file= main(){ module load Java/1.8.0_144-unlimited_JCE parse_commandline "$@" rsync -vP $config_templates/3_PCA_on_quantNormalizedData.json $projec...
9156ee9d44a02f9efa73af5fdb12cbe52b1ae023f48fa1c12381cb23babfdf61
Shell
3,506
118
#!/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 icu_transform="Any-Lower" # End configuration section set -e -o pipefail set -o nounset # Treat unset variables as an error i...
4abf111ec06b92751e5a31ca2c5eef270c56b79eb8eabf738b291571578a8059
Shell
3,508
77
#!/usr/bin/env bash # Copyright Johns Hopkins University 2013 (author: Daniel Povey) # Apache 2.0. if [ $# -ne 7 ]; then echo "Usage: get_syllable_text.sh <data> <lang> <syllable-lang-nopos> <word2syllable-fst> <ali-dir> <tempdir> <tgt-data>" echo "e.g.: get_syllable_text.sh data/train data/lang ../s5-vietnamese-...
38c79f453e3cddb34a872d375ceb52e4614fec6c71aa3e792403d1ebb6c64266
Shell
3,523
109
#!/bin/bash export slow5tools=$HOME/DeepSelectNet/tools/slow5tools-v0.3.0/slow5tools export minimap2=$HOME/DeepSelectNet/tools/minimap2/minimap2 POS_SLOW5=$1 NEG_SLOW5=$2 POS_FASTQ=$3 NEG_FASTQ=$4 POS_REF=$5 NEG_REF=$6 BASE_LENGTH=$7 POS_READ_IDS='read-ids-pos.txt' NEG_READ_IDS='read-ids-neg.txt' MIXED_REF='mixed-ref...
8e9ce7905d2a83f88228a9ca3b5ea6f1931651716077044a255f85796fd23a1c
Shell
3,524
109
#!/usr/bin/env bash # Copyright 2013-2014 Johns Hopkins University (authors: Jan Trmal, Guoguo Chen, Dan 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...