sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
417bd150b9647c26c070fbd48c1a274dbb5804aefb750286739906f5d2f47203
Shell
1,537
57
#!/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 ...
fad4558f5a67f56f176b91311d0d1c77465e32269d9d1de748309e27c844a829
Shell
1,537
36
#!/bin/sh # version.sh -- Script to build the htslib version string # # Author : James Bonfield <jkb@sanger.ac.uk> # # Copyright (C) 2017, 2019 Genome Research Ltd. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Softwa...
440eac4b88b1f80d68f03a8f2d62eee574102326d66199d46715a2d8db2da735
Shell
1,539
38
#!/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 ...
c91e3fedad4e7dfc0b70db09071abc6a290a5f5550bebdc8535c08ac878a2071
Shell
1,540
41
#!/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 ...
f5d6a5b9b9b633f124a5b2a1a7288c8394358d62da6cfc2db053d28adc04c78d
Shell
1,541
42
#!/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 ...
0c0e8d9c7ed985006104dcb27a18d4bb006150f6304284d557fa73bde40b11b7
Shell
1,542
63
#!/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 ...
21d91c2d044d15999d15ed066938fd9e34301f55673ced925ca4df02dc124cb6
Shell
1,542
66
#!/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 ...
46222b39689498b3b1daa8a84f07978506684e077c4fa0018a12a9a3db47362d
Shell
1,545
49
#!/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 ...
ae5db02a7e1776b454ebeb5c342facc1fe42132eb06949f3ea7753b69e6e75d9
Shell
1,545
36
#!/usr/bin/env bash REAL_RES_DIR='/rdata/jiameng/DeepLens/alldata/residuals/flickr_bulldog/real/' FAKE_RES_DIR='/rdata/jiameng/DeepLens/alldata/residuals/bulldog_.86/fake/' REFER_RES_DIR='/rdata/jiameng/DeepLens/alldata/residuals/flickr_bulldog/refer/' NUM_REAL=500 NUM_FAKE=500 IMG_DIM=256 OUTLIER_MODEL_PATH='./finger...
4e811962e7ef261e8ef52b9e18a16c70b23601f831771467375586af568b22f4
Shell
1,546
41
#!/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 ...
73fe1219fa6c37a8c1625660bbe22a15ac70370e267004658afffab54f9ee198
Shell
1,546
54
#!/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 ...
139ea421446957bc0c79289088d582ac06967568c6d5154caa42c03ac89e2ca8
Shell
1,547
49
#!/usr/bin/env bash # This script formats ARPA LM into G.fst. arpa_lm=data/local/lm/3gram-mincount/lm_unpruned.gz dir=data/lang_test if [ -f ./path.sh ]; then . ./path.sh; fi . utils/parse_options.sh [ ! -f $arpa_lm ] && echo No such file $arpa_lm && exit 1; mkdir -p $dir cp -r data/lang/* $dir gunzip -c "$arpa_l...
6cc2cd5d0a1e57ac7c3b1cfa186894c22311e7177b3f508af5e1a5e6f65ff19a
Shell
1,547
67
#MOLGENIS walltime=23:59:00 mem=14gb ppn=1 ### variables to help adding to database (have to use weave) #string sampleName #string project ### #string stage #string checkStage #string WORKDIR #string projectDir #string gatkVersion #string dbsnpVcf #string dbsnpVcfIdx #string onekgGenomeFasta #string genomeBuild #stri...
62e65f7a4ac4e837c501d5b58b0c04f217956c80e9507060412c02d669989ff8
Shell
1,548
64
#!/bin/bash module load Python/2.7.12-foss-2015b module load Java/11.0.2 module load plink/1.9-foss-2015b indir=$1 output=$2 mkdir -p $output # fix snp ids mkdir -p $output/tmpgt/ cp -v $indir/* $output/tmpgt/ # kill b38 data python /groups/umcg-biogen/tmp03/tools/prstools/stripAndDedup.py $output/tmpgt/SNPs.txt...
8d7c576390da62d78af82e75657ff537973ae94352845d398af28841fba46763
Shell
1,548
34
#!/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 ...
7c9277ab745ee0733e4b3d77c0ecfcc9cee30469189a51d63f5663c0f4106f68
Shell
1,551
38
#!/bin/bash # Copyright (c) 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...
444478a113dff1a0a939c497394e40278b8f42183c5b2ddd7cf12880a65c9681
Shell
1,552
51
#!/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 ...
868adbcc2937941595c719cc37049e0298c4b6f6f890638b41a806f4b766456e
Shell
1,552
55
#!/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...
cdff4b9e457c5de51967a3654f6227597f50b005419729c621ab4cfaed1305b8
Shell
1,553
62
#!/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 ...
dd8414e012e3e94153f7ae501da1d57869d965cd8cc676a8051f825afba40db0
Shell
1,553
56
#!/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...
e90fb471ff71c0064807f5dde6b663f987da106be7ce601386e521ff797de001
Shell
1,553
53
########################################################################################## ## UGER job submission script ## bulk RNA-seq analysis for 6 samples (d0, d21, d51 of NGN2 iNs in duplicate) ## Step 2 of 3: run hisat2 to perform alignment for each of the 6 samples ## ## Author: Yu-Han Hsu, Kalliopi Tsafou ####...
f092c719006bb9d383e27fd841f8e01d75c76744fbb25bd1df7a1691eec31527
Shell
1,554
57
#!/usr/bin/env bash # Copyright 2012 Vassil Panayotov # 2017 Ewald Enzinger # Apache 2.0 . ./path.sh || exit 1 echo "=== Building a language model ..." dir=data/local/lm/ text=data/train/text lexicon=data/local/dict/lexicon.txt arabic_giga_dir=Arabic_giga # Language model order order=4 . utils/parse_op...
0e041321bf85207140713eb418b137ab99648fb4e6c0564d60dd970b8f9f02b4
Shell
1,557
40
#!/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 ...
28d3b35facce0e1effa3487c964f1b02b54ff157068d72cf104e7b062f49be14
Shell
1,557
65
#!/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...
5075b67a3c33155ba52b9c77f605ddc8118737680856b6fe1e72ea79ff7c735b
Shell
1,559
52
ml Java ml Python if [ "$#" -ne 3 ]; then echo "Usage: dumpdir outprefix fdrreference-FDR0.05.txt.gz" exit fi dumpdir=$1 outprefix=$2 fdrref=$3 #if [ 1 -eq 2 ]; then # calculate MAF java -Xmx10g -jar /groups/umcg-biogen/tmp01/tools/eqtl-mapping-pipeline-1.4.8-SNAPSHOT/eqtl-mapping-pipeline.jar --mode util -...
6e0432bae4a05d4506041f349063fcf77afe0cd85ea85bcaae7acbf2b2160c89
Shell
1,560
69
#!/bin/bash # Show running and stopped NSP containers # Set default values for parameters local=1 remote=0 tmpFile="queue${PID}.tmp" # Process command line arguments while [[ $# -gt 0 ]] do key="$1" case $key in -l|--local) shift # past argument ;; -r|--remote) local=0 ...
ca8b5fde72f0e40e1f5f69f0ab08ad4124ca0befde2ef18d7fc6a4b8138b6aaf
Shell
1,562
67
#!/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 ...
d1df785fdcefdb29f7850205dd483329a3fc0e0f8111cf323cff4f27a4757dc2
Shell
1,564
55
#!/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...
d3dfd919729553246194fb6a066f95558d6302cda1a09cb156fb07f85eee3d5b
Shell
1,566
68
#!/bin/bash # Set default values for parameters tag=prod branch=main logName="docker_build$$.log" logFolder='docker_builds_logs' logPath="$HOME/$logFolder/$logName" srcDockerImageFolder='nsp-server' # Process command line arguments while [[ $# -gt 0 ]] do key="$1" case $key in -t|--tag) tag=...
39c76f17355eaedfb4db4d126be2530b565bf391c2d84dd9d408f76f3d43e1c7
Shell
1,568
67
#!/bin/bash # Copyright 2023 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
d9084ae5bff27cf1d6af78f99f6e9a70de14c96c4847a479646055d7d4a9ee24
Shell
1,569
50
#!/usr/bin/env bash # if [ -f path.sh ]; then . ./path.sh; fi if [ $# -ne 1 ]; then echo 'Usage: $0 <arpa-lm>' exit fi silprob=0.5 arpa_lm=$1 [ ! -f $arpa_lm ] && echo No such file $arpa_lm && exit 1; cp -r data/lang data/lang_test gunzip -c "$arpa_lm" | \ arpa2fst --disambig-symbol=#0 \ --read-s...
f6a57e8642bf0863ca72fe0db02261667b1749b263829ddb2c8a0151699aa796
Shell
1,569
66
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
0b5380f151e21fbbc1799de10b2fbfae28f81793269d225b8b05fe0971d7845f
Shell
1,571
43
#!/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 ...
95ae5af6e6086e9eedda48c0d747b58788cff6d1dca57850ca104bbdae012546
Shell
1,571
62
#!/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 ...
bec630228bf4c0a214db529f85c577bbdc59baab1534093e66e009026b90bf83
Shell
1,571
61
#!/bin/bash -eu USAGE="Usage: $0 [options] Bootstraps the QUIT build system (specifies the toolchain for CMake) Options: -h Print this message -i DIR Install riesling to this directory, e.g. $HOME/.local -j N Restrict parallel build to this many threads " PAR="" PREFIX="" ALL="" DEBUG="" RELDBG="-O2 -g ...
24e426af26b55d86a11201c44aec132873a703f244841c11816b8bc260403bf2
Shell
1,572
43
#!/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 ...
65e8e3de9cb7e296af7b2440c1399b5c14edaa7c559dd050910f758c70e1be52
Shell
1,572
19
#!/bin/bash echo "Steering 1" python metrics.py --root-path /gpfs/space/projects/Bolt/dataset-romet-thesis --input-modality nvidia-camera --drive-datasets 2022-06-29-15-09-08_e2e_elva__forward_steering1 2022-06-29-15-45-24_e2e_elva__backward_steering1-2 echo "Steering 2" python metrics.py --root-path /gpfs/space/proj...
6d24d67b8ed19f4192124afa7895fc0f89b853634ebd56ec26220848b74f1a9c
Shell
1,572
49
#!/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 ...
bb840db92a3d9e5023545d14171b4ec9370cc5438d494f289b5040e600f26d32
Shell
1,572
61
#!/usr/bin/env bash mic=$1; shift; echo -n "System " for x in $*; do printf " % 10s" $x; done echo #for d in exp/sdm1/chain_cleaned/tdnn*/decode_*; do grep Sum $d/*sc*/*ys | utils/best_wer.sh; done|grep eval_hires echo -n "WER on dev " for x in $*; do wer=$(grep Sum exp/$mic/chain_cleaned/${x}...
5e0f6e275dae70b32ae4a717cbdf7e2f771adbc1bf923ea14fc7d6438a5c345f
Shell
1,578
51
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Guoguo Chen) # Apache 2.0 # Begin configuration section. cmd=run.pl nbest=-1 strict=true indices_dir= # End configuration section. echo "$0 $@" # Print the command line for logging [ -f ./path.sh ] && . ./path.sh; # source the path. . parse_op...
cf041ac9cfe0558bc2b669f87b583468ee943ba76fa8889385824b4310899ea5
Shell
1,579
33
#!/usr/bin/env bash set -e set -o pipefail . ./cmd.sh; . ./path.sh; #( #bash filter_data.sh --cmd "$decode_cmd" data/shadow.uem eval.uem exp/sgmm5_mmi_b0.1/decode_*shadow.uem_it* #bash filter_data.sh --cmd "$decode_cmd" data/shadow.uem eval.uem exp_bnf/sgmm7_mmi_b0.1/decode_*shadow.uem_it* #) & #bash filter_data...
059d3e79605f9e70d6319c7c1cd6cdf8d5de11dfbd22a5f66fec55989adcd73c
Shell
1,580
45
#!/usr/bin/env bash # Step 01 — install system build dependencies (Ubuntu 22.04 / 24.04). # # Base list is the official CARLA Linux build set (22.04). Ubuntu 24.04 deltas: # * lld -- REQUIRED. UE4's bundled ld (2019) cannot read .relr.dyn # sections emitted by glibc >= 2.36; Ubuntu24Com...
a225219994431214e9f6b18ca35b40777c1b4b978efd00fe2b8a312d8c6cc092
Shell
1,582
49
#!/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 ...
07f3ecbd5a2a6cb7d537b9a1e6062099229ab89aeeb0d647bb941e69acff9bdc
Shell
1,583
33
#!/usr/bin/env bash set -e set -o pipefail . ./cmd.sh; . ./path.sh; #( #bash filter_data.sh --cmd "$decode_cmd" data/shadow.uem eval.uem exp/sgmm5_mmi_b0.1/decode_*shadow.uem_it* #bash filter_data.sh --cmd "$decode_cmd" data/shadow.uem eval.uem exp_bnf/sgmm7_mmi_b0.1/decode_*shadow.uem_it* #) & #bash filter_da...
f1b065bd0b29b19ded0878f86a6dda77aff3e7500bc839a80c577f275b2c4970
Shell
1,583
40
#!/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 ...
ac74329289a3f9923c032de0468596bdbf75b3efd15b686dd5608b4bbf7639f1
Shell
1,584
46
#!/bin/bash declare -a arr=("brain_mass" "body_mass" "body_mass_brain_mass_GI" "GI") declare -a arr_run=(1 2 3) declare -a arr_sp=(30) for sp in "${arr_sp[@]}" do #define file locations prank_alignment_loc=/data/share/htp/TRNP1/paper_data/protein/fastas/prank_output/prank_TRNP1_coding_"$sp"species_forCoevol_longer...
fa7645e4694e487d9824a9058b103bd0f85eafec41fb0d150ceaca4da6b8eff1
Shell
1,584
61
#!/usr/bin/env 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 applica...
d1c48894eb4741a8b50ba8d5fc6820dfe8122294381fdf20b82b4f5017708280
Shell
1,585
48
#!/usr/bin/env bash # if [ -f path.sh ]; then . ./path.sh; fi mkdir -p data/lang_test arpa_lm=data/local/lm/3gram-mincount/lm_unpruned.gz [ ! -f $arpa_lm ] && echo No such file $arpa_lm && exit 1; mkdir -p data/lang_test cp -r data/lang/* data/lang_test gunzip -c "$arpa_lm" | \ arpa2fst --disambig-symbol=#0 \ ...
e412464b093d8f98d4aff8924a3fa9e4dfe68c5ff8b84fcf3167f9f1fd413397
Shell
1,593
79
#!/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 fwhm=5 mask=none tmp=. ### print input printline=$( basename -- $0 ) echo "${prin...
4fcab9f03292b885a6fe567fda5dfb142a16f1ba01ca99bbf18ba941b7368d13
Shell
1,594
52
#!/usr/bin/env bash mic=ihm ngram_order=4 # this option when used, the rescoring binary makes an approximation # to merge the states of the FST generated from RNNLM. e.g. if ngram-order = 4 # then any history that shares last 3 words would be merged into one state stage=1 weight=0.5 # when we do lattice-resco...
fcd17363ab74565223ab6c1f6de6b11d0b860acc88428132370c0e7fd0ffb96d
Shell
1,595
66
#!/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 ...
cf2b525ec2e6cb7469f8cdb3270aa744e49ced17bb70a6f889ee2e0e39f08cb2
Shell
1,596
47
#!/bin/bash set -e CONDA_ROOT=/opt/conda/bin ACTIVATE_CMD="source ${CONDA_ROOT}/activate" ENV_NAME="drugex" RUN_CMD="${ACTIVATE_CMD} && conda activate ${ENV_NAME}" WD=`pwd` # setting up environments echo "Creating environment: ${ENV_NAME}" bash -c "${ACTIVATE_CMD} && conda create -n ${ENV_NAME} python=${PYTHON_VERSI...
04a4334755893016233e64d185ca43bf5a4b14d0b0671f4677cbdc2318dab26d
Shell
1,598
50
#!/bin/bash if [ $# -ne 3 ]; then echo "Usage: recipes/06_cut_audio_and_text.sh <kaldi_dir> <output_dir> <num_lines>" echo "e.g.: $0 final_outputs/fi-parl-autumn2020 final_outputs/fi-parl-autumn2020/wavs_and_trns 200000" echo echo "This script cuts the segments in <kaldi_dir> to individual wav-files, g...
04b725691b05de41bfa3276fbd82edc4c4a3b3f7570baa3ec5f338f65284fb9e
Shell
1,605
68
#!/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 ...
3dc0f9c8edf027fb0828b690fb19a1772aeea379e7a7c90be08609ccc62f5edb
Shell
1,605
67
#!/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...
d4a94b0ee71127084f1e5ec6f77846c6233ead685daf2ce2e033f5b3eca0bd3e
Shell
1,608
62
#!/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 ...
22ab95693175f02d5977d53513368968a96c0314a61794d63acde84fd4a50443
Shell
1,609
68
#!/bin/bash start=`date +%s` # handle optional download dir if [ -z "$1" ] then # navigate to ~/data echo "navigating to ~/data/ ..." mkdir -p ~/data cd ~/data/ mkdir -p ./coco cd ./coco mkdir -p ./images mkdir -p ./annotations else # check if specified dir is valid if [ ! ...
c6bbf0e21b9cfcf9eb7370b6cf50865e864c5d15b08685e92697052a6e65cbd9
Shell
1,610
67
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
5fa0718ba6df32b58c9188d5e08a9e6365837dde774d9b55b03e3a1d0f17ad08
Shell
1,611
47
# Set default values for parameters container=`docker ps -l -q --filter name=nsp_genesis` filePath="../../nsp-queues/localNspQueue.nsp" # Process command line arguments while [[ $# -gt 0 ]] do key="$1" case $key in -c|--container) container="$2" shift # past argument shift # past value ...
73676df26851df46f4bdf79b9c86e1c3b847e86783d6d932eab1d39ff3408f8a
Shell
1,612
50
#!/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 ...
e5354af67fb53a66b078f86c7e83f35bf9ffb6dd6f59551a1a1463d90b2671b7
Shell
1,612
44
#!/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 ...
6c35e33dc4dc47eeaf620088f117f28e82e2d6a8c880ba5d48e66558981e2715
Shell
1,613
51
#!/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 ...
9e9ab679103839e856fee5f1e99928460d2f471ef60b00975d27ed803306802b
Shell
1,613
52
#!/usr/bin/env bash source_sys=shadow.seg master_sys=dev10h.seg . conf/common_vars.sh . ./lang.conf . ./cmd.sh set -e set -o pipefail set -u #systems=""; for sys in `ls -1 release/*dev*.ctm | grep -v RESCORED` ; do # q=`readlink -f $sys`; # decode=${q%%/dev10h.seg*}; # w=`dirname ${q##*score_}`; # echo $w;...
eba7fdc0870266ecf56b6322a45e8f22bdfb4132fa2859e34c4f092f67ddd9f4
Shell
1,613
52
#!/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...
0fe6c5b3782484ad4de5ea1183fc29d5bd6e9b8f29d9d0ba5a75036960b562d6
Shell
1,614
49
#!/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 ...
6613abe2599bc96eb96ad4ca75b4ccf5fa6c7c4e3072a003252f0eaec5e97730
Shell
1,614
52
#!/usr/bin/env bash mic=ihm ngram_order=4 # this option when used, the rescoring binary makes an approximation # to merge the states of the FST generated from RNNLM. e.g. if ngram-order = 4 # then any history that shares last 3 words would be merged into one state stage=1 weight=0.5 # when we do lattice-resco...
c39533ab2f0d98e411eb42ea9b8bf8bcad725778009039980b83db1be21a1b83
Shell
1,614
67
#!/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...
98f7bca3752750d9137a38672cdb8a54fce22b4d3e2eac97b37e045fec8e9a86
Shell
1,620
51
#!/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 ...
e1df0e2f2f134859bdf4b7951ec946f4813197b371840fccd4b8ad80c56b19cb
Shell
1,621
48
#!/usr/bin/env bash # if [ -f path.sh ]; then . ./path.sh; fi mkdir -p data/lang_test_fsh arpa_lm=data/local/lm/3gram-mincount/lm_unpruned.gz [ ! -f $arpa_lm ] && echo No such file $arpa_lm && exit 1; mkdir -p data/lang_test_fsh cp -r data/lang/* data/lang_test_fsh gunzip -c "$arpa_lm" | \ arpa2fst --disambig-sy...
a2bbf21140bd7accc44961fa94ded8d11088119fe534842862ab3f5c332e4932
Shell
1,623
39
#!/bin/bash ml Java ml OpenBLAS/0.2.18-GCC-5.4.0-2.26-LAPACK-3.6.1 ml R/3.5.1-foss-2015b-bare coloctools=/groups/umcg-biogen/tmp03/tools/COLOCTools.jar # java coloc tools for merging eqtl files, calculating beta's etc colocscript=/groups/umcg-biogen/tmp03/tools/brain_eQTL/colocalization/COLOC/runcoloc.r # R script...
bed9b3d232ed61fa915f7afed55ec6bae30fcdfa9587b7fe9290f4647b1a8c2a
Shell
1,623
57
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 3.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...
c389003a39248575a1f372964eddcc8f2b9b361682ea305b9473ec145f579914
Shell
1,626
57
#!/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 ...
ca7fadc956359fa37137901365b0c35d3090180710981bc0aa25dd58d752adb4
Shell
1,626
47
#!/bin/bash -l #### LargeBrainAtlas dataset ---------------------------------------------- declare -a embedding_size_list=("20" "100" "500") logdirbase='out/siVAE/LargeBrain' for embedding_size in "${embedding_size_list[@]}" do ## Use all feature attribution methods only for the smallest embedding size ...
014d0f6b42d4e5e5244f7343c18702cbb99bc0c9c834f048eb8d0cfce4b5b2f8
Shell
1,628
42
#!/usr/bin/env bash # Copyright 2016 Tsinghua University (Author: Dong Wang, Xuewei Zhang). Apache 2.0. # 2016 LeSpeech (Author: Xingyu Na) #This script pepares the data directory for thchs30 recipe. #It reads the corpus and get wav.scp and transcriptions. corpus_dir=$1 data=$2 echo "**** Creating THCH...
bfc4929458c62045b22b2f6c6386a6cdb6e9d18e05554343448110aabcb77c58
Shell
1,628
63
#! /bin/bash source $(dirname "$0")/Environment.sh FBX2OBJ_DIST=${CARLA_DOCKER_UTILS_FOLDER}/dist FBX2OBJ_FOLDER=${CARLA_DOCKER_UTILS_FOLDER}/fbx FBX2OBJ_BUILD_FOLDER=${FBX2OBJ_FOLDER}/build FBX2OBJ_DEP_FOLDER=${FBX2OBJ_FOLDER}/dependencies if [ -f "${FBX2OBJ_DIST}/FBX2OBJ" ]; then log "FBX SDK already installed."...
a15342b5307235bb3b97e34252f656bd84c9d3c8e0f23171919de17e6707b9b3
Shell
1,629
62
#!/bin/bash # calculate period netween to dates # Set default values for parameters # Process command line arguments while [[ $# -gt 0 ]] do key="$1" case $key in -sd|--start-date) start_date="$2" shift # past argument shift # past value ;; -ed|--end-date) end_date="$2...
b7d7ea6197b1043545806cb97f08548589c5243bb81ebac61a1e5ee61fe3f9ee
Shell
1,630
49
#!/usr/bin/env bash # Copyright 2014 Gaurav Kumar. Apache 2.0 # if [ -f path.sh ]; then . ./path.sh; fi mkdir -p data/lang_test arpa_lm=data/local/lm/3gram-mincount/lm_unpruned.gz [ ! -f $arpa_lm ] && echo No such file $arpa_lm && exit 1; mkdir -p data/lang_test cp -r data/lang/* data/lang_test gunzip -c "$arpa...
d68e617d32d5f8308028a0b5f13c9a563c03993b7b0bc9d1c9ab14e497bc9796
Shell
1,631
55
#!/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 ...
4d37ab96aeda17e1f79346ceaa4f229d57cc25277f1164a572ff5d44fa118456
Shell
1,632
65
#!/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 ...
927d1921e01697d4e8cfd4aadb1bbcf670fe993c90b8a057b6669556783bd320
Shell
1,632
53
#!/usr/bin/env bash # Copyright (c) 2016, Johns Hopkins University ( Yenda Trmal <jtrmal@gmail.com> ) # License: Apache 2.0 # Begin configuration section. # End configuration section set -e -o pipefail set -o nounset # Treat unset variables as an error . ./cmd.sh; devset=dev10h.pem evals...
0f1bb7904f72f74100dbfff67513121e28ea4d27ac43a1fb5a0ce8325ceaf5a7
Shell
1,633
69
#!/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 ...
5036a8f5f13a2a639bd3a3cd9766a493bade76fcfd9f27e789b93a8f3b521ffa
Shell
1,634
40
#!/usr/bin/env bash # Copyright 2017 Johns Hopkins University (Author: Aswin Shanmugam Subramanian) # Apache 2.0 # This script creates the list of enhanced files and reference files and calls the # matlab script "stoi_estoi_sdr.m" to get STOI, eSTOI and SDR scores # Eg. local/compute_stoi_estoi_sdr.sh --njobs 10 blst...
98bfc23830259de8860f7496bf055ec69cf1c8a2f5817fc7a13b10a56e6d923f
Shell
1,635
51
#!/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 ...
86cbead4dea67842f761725967d59e2437383de97e0dca763367d70d9f886622
Shell
1,636
56
#!/bin/bash # Copyright (c) 2021. Huawei Technologies Co., Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
57131784c611f5e48e032637de58bc5499fad16bad7e7d7fd1a145f213518df0
Shell
1,637
47
#!/usr/bin/env bash # # Copyright 2014 Nickolay V. Shmyrev # Apache 2.0 [ -f ./path.sh ] && . ./path.sh set -e -o pipefail -u lang_suffix=_test local_lm_dir=data/local/local_lm . utils/parse_options.sh #arpa_lm=$local_lm_dir/data/arpa/4gram.arpa.gz small_arpa_lm=$local_lm_dir/data/arpa/4gram_small.arpa.gz big_arp...
50a77c2085a6f58811c9931ad05b6f53e122323c5f12f8e02ff129588177d83d
Shell
1,638
44
#!/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 ...
125c7b2aae13369ff26de5f53ca502b8e2ca756934a5f4d9cc9dc9f7220ba0c1
Shell
1,640
57
#!/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 ...
28f2e2ac19c7eb7689ae40830b5c1d2751cf67d225bc6a6b19af91c5718705ab
Shell
1,640
55
#!/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 ...
c0f7bad645d8bfe9be3a3bc0708fc9e60148965f7ec91c1b0f358e1f1d68c07a
Shell
1,640
57
#!/bin/bash . ./path.sh . ./cmd.sh ## You'll want to change cmd.sh to something that will work on your system. ## This relates to the queue. nJobs=120 nDecodeJobs=40 galeData=GALE mfccdir=mfcc if [[ ! -e exp/tri2b/final.mdl ]]; then echo "exp/tri2b/final.mdl is required for SGMM" exit 1 fi #...
f8a64ec21b8ccfc7734c19daa24b0e1f76711e87bfce9fe8d8b34acfbb1df111
Shell
1,641
57
#!/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...
45784b6f8bc3d49131343854bd1bbadf86d58bf52b5fe6d7253b18c072677fae
Shell
1,643
62
#!/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 ...
af4c75649892364c7e1d23a8be24479f977bf82896e89ef797ecfecd5b9a6ea8
Shell
1,645
39
#!/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 ...
39f3a21510ff26937a2d3b966e2ec85daaeea719fdc6e09072a0ff349ee5d9be
Shell
1,647
42
#!/usr/bin/env bash . ./cmd.sh mfccdir=mfcc # Make "per-utterance" versions of the test sets where the speaker # information corresponds to utterances-- to demonstrate adaptation on # short utterances, particularly for basis fMLLR for x in test_eval92 test_eval93 test_dev93 ; do y=${x}_utt rm -r data/$y cp -r ...
66cb8bb3cb439a325b2ec69def80f3e84fc97f6bc7ecfe0fb1d498d57318fa2c
Shell
1,647
60
#!/bin/bash python to_stories.py $TASK python make_datafiles.py --stories_dir $TASK/stories --urldir $TASK/mapping --finished_files_dir $TASK wget -N 'https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/encoder.json' wget -N 'https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/vocab.bpe' wget -N 'https://dl.fbaipublicfiles.co...
3701a58f9afdebb1bd4116e583d2727e59db2c5cf19f3e14369c851bdbc0ca6a
Shell
1,648
52
#!/usr/bin/env bash # Copyright 2021 Xiaomi Corporation (Author: Yongqing Wang) # Seasalt AI, Inc (Author: Guoguo Chen) # Generates pronunciations for out-of-vocabulary words using the Sequitur G2P # toolkit. set -e set -o pipefail . ./path.sh || exit 1; . ./utils/parse_options.sh || exit 1; if [ $...
9627f17489068263e15c4eb1ce9172f55500d295271cc07fe3372fbdee8f5af7
Shell
1,648
62
#!/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) # 2018 Emotech LTD (Author: Xuechen LIU) # Apache 2.0 trn_set= dev_set= tst_set= stage=1 . ./cmd.sh . ./path.sh . ./utils/parse_opt...
d5319414c62f1441a7fe0d31a8d58086cb7b52e45fd5122df9c706c56f364cbb
Shell
1,651
68
#!/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 ...
8eb1696a7c289cce3f00b0210c9c867dc843903c6fdaa6654da5cd26d324b142
Shell
1,653
52
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Yenda Trmal) # Apache 2.0. echo "$0 $@" 1>&2 # Print the command line for logging [ -f ./path.sh ] && . ./path.sh; # source the path. . parse_options.sh || exit 1; help_message="$0: generates an subset ecf file for spoken term detection evaluat...
a583b28d32ac1a4daa96cfcf1312ebaa260e2be0b100188b5d8568d78bd4de5d
Shell
1,653
44
#!/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 ...
2e32cd0edf5387ba23a81cca250d454b12fb6c0625d08dbc0e84cb1e35209a20
Shell
1,657
52
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Yenda Trmal) # Apache 2.0. echo "$0 $@" 1>&2 # Print the command line for logging [ -f ./path.sh ] && . ./path.sh; # source the path. . parse_options.sh || exit 1; help_message="$0: generates an subset ecf file for spoken term detection evaluat...