repo stringlengths 1 99 | file stringlengths 13 215 | code stringlengths 12 59.2M | file_length int64 12 59.2M | avg_line_length float64 3.82 1.48M | max_line_length int64 12 2.51M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
vad | vad-main/nemo/collections/asr/parts/utils/activations.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 847 | 32.92 | 78 | py |
vad | vad-main/nemo/collections/asr/parts/utils/rnnt_utils.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 5,863 | 36.113924 | 106 | py |
vad | vad-main/nemo/collections/asr/parts/preprocessing/perturb.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 38,631 | 40.539785 | 128 | py |
vad | vad-main/nemo/collections/asr/parts/preprocessing/features.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 18,256 | 39.213656 | 120 | py |
vad | vad-main/nemo/collections/asr/parts/preprocessing/feature_loader.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 2,886 | 40.242857 | 157 | py |
vad | vad-main/nemo/collections/asr/data/audio_to_text_dali.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 34,518 | 43.655886 | 165 | py |
vad | vad-main/nemo/collections/asr/data/audio_to_text_dataset.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 17,939 | 40.915888 | 175 | py |
vad | vad-main/nemo/collections/asr/data/audio_to_label.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 40,364 | 44.921502 | 160 | py |
vad | vad-main/nemo/collections/asr/data/audio_to_text.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 67,631 | 42.689922 | 144 | py |
vad | vad-main/nemo/collections/asr/data/feature_to_label.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 5,664 | 39.464286 | 119 | py |
vad | vad-main/nemo/collections/asr/losses/ctc.py | # ! /usr/bin/python
# Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unle... | 2,695 | 36.971831 | 108 | py |
vad | vad-main/nemo/collections/asr/losses/lattice_losses.py | # ! /usr/bin/python
# Copyright (c) 2022, NVIDIA CORPORATION. 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
#
# Unle... | 6,989 | 38.942857 | 115 | py |
vad | vad-main/nemo/collections/asr/losses/angularloss.py | # ! /usr/bin/python
# Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unle... | 2,362 | 33.246377 | 157 | py |
vad | vad-main/nemo/collections/asr/losses/rnnt.py | # ! /usr/bin/python
# Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unle... | 11,393 | 36.114007 | 114 | py |
vad | vad-main/nemo/collections/asr/losses/pt_losses/contrastive.py | # ! /usr/bin/python
# Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unle... | 11,415 | 42.572519 | 140 | py |
vad | vad-main/nemo/collections/tts/modules/squeezewave.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 9,217 | 42.276995 | 119 | py |
vad | vad-main/nemo/collections/tts/modules/fastspeech2_submodules.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 5,170 | 31.118012 | 112 | py |
vad | vad-main/nemo/collections/tts/modules/melgan_modules.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 18,262 | 34.880157 | 116 | py |
vad | vad-main/nemo/collections/tts/modules/fastpitch.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 12,152 | 39.108911 | 115 | py |
vad | vad-main/nemo/collections/tts/modules/glow_tts_submodules.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 24,275 | 36.578947 | 118 | py |
vad | vad-main/nemo/collections/tts/modules/degli.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 21,871 | 34.448947 | 117 | py |
vad | vad-main/nemo/collections/tts/modules/univnet_modules.py | # Copyright (c) 2022, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 23,263 | 36.2224 | 120 | py |
vad | vad-main/nemo/collections/tts/modules/mixer_tts.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 8,379 | 32.253968 | 116 | py |
vad | vad-main/nemo/collections/tts/modules/transformer.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 9,197 | 33.973384 | 119 | py |
vad | vad-main/nemo/collections/tts/modules/tacotron2.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 18,403 | 40.544018 | 122 | py |
vad | vad-main/nemo/collections/tts/modules/squeezewave_submodules.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 6,244 | 40.085526 | 109 | py |
vad | vad-main/nemo/collections/tts/modules/hifigan_modules.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 15,910 | 33.58913 | 118 | py |
vad | vad-main/nemo/collections/tts/modules/submodules.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 11,119 | 36.315436 | 118 | py |
vad | vad-main/nemo/collections/tts/modules/waveglow.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 10,732 | 41.090196 | 116 | py |
vad | vad-main/nemo/collections/tts/modules/fastspeech2.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 13,021 | 40.339683 | 119 | py |
vad | vad-main/nemo/collections/tts/modules/aligner.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 7,024 | 38.689266 | 140 | py |
vad | vad-main/nemo/collections/tts/modules/talknet.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 4,638 | 32.861314 | 117 | py |
vad | vad-main/nemo/collections/tts/modules/uniglow.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 7,326 | 40.162921 | 116 | py |
vad | vad-main/nemo/collections/tts/modules/glow_tts.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 17,698 | 39.042986 | 120 | py |
vad | vad-main/nemo/collections/tts/modules/ed_mel2spec.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 8,658 | 32.049618 | 116 | py |
vad | vad-main/nemo/collections/tts/torch/data.py | # Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. 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
#
# Unless requ... | 38,890 | 44.16957 | 161 | py |
vad | vad-main/nemo/collections/tts/torch/g2ps.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 10,475 | 43.016807 | 167 | py |
vad | vad-main/nemo/collections/tts/torch/tts_tokenizers.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 13,987 | 36.50134 | 137 | py |
vad | vad-main/nemo/collections/tts/torch/helpers.py | # Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. 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
#
# Unless requ... | 2,973 | 33.581395 | 145 | py |
vad | vad-main/nemo/collections/tts/helpers/helpers.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 17,484 | 34.323232 | 131 | py |
vad | vad-main/nemo/collections/tts/models/base.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 12,628 | 40.136808 | 121 | py |
vad | vad-main/nemo/collections/tts/models/squeezewave.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 9,941 | 42.226087 | 161 | py |
vad | vad-main/nemo/collections/tts/models/fastspeech2_hifigan_e2e.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 20,752 | 46.817972 | 159 | py |
vad | vad-main/nemo/collections/tts/models/two_stages.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 6,521 | 30.660194 | 115 | py |
vad | vad-main/nemo/collections/tts/models/fastpitch.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 23,509 | 41.513562 | 159 | py |
vad | vad-main/nemo/collections/tts/models/univnet.py | # Copyright (c) 2022, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 15,795 | 43.370787 | 204 | py |
vad | vad-main/nemo/collections/tts/models/degli.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 13,320 | 39.003003 | 119 | py |
vad | vad-main/nemo/collections/tts/models/melgan.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 15,552 | 44.609971 | 161 | py |
vad | vad-main/nemo/collections/tts/models/mixer_tts.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 30,406 | 39.596796 | 159 | py |
vad | vad-main/nemo/collections/tts/models/tacotron2.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 13,816 | 41.909938 | 155 | py |
vad | vad-main/nemo/collections/tts/models/hifigan.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 18,802 | 43.138498 | 244 | py |
vad | vad-main/nemo/collections/tts/models/fastpitch_hifigan_e2e.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 18,410 | 41.130435 | 159 | py |
vad | vad-main/nemo/collections/tts/models/waveglow.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 10,780 | 43.004082 | 181 | py |
vad | vad-main/nemo/collections/tts/models/fastspeech2.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 14,064 | 45.572848 | 155 | py |
vad | vad-main/nemo/collections/tts/models/aligner.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 9,129 | 38.868996 | 146 | py |
vad | vad-main/nemo/collections/tts/models/talknet.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 17,164 | 40.561743 | 119 | py |
vad | vad-main/nemo/collections/tts/models/uniglow.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 11,456 | 41.910112 | 161 | py |
vad | vad-main/nemo/collections/tts/models/glow_tts.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 11,449 | 39.459364 | 155 | py |
vad | vad-main/nemo/collections/tts/models/ed_mel2spec.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 11,608 | 34.830247 | 128 | py |
vad | vad-main/nemo/collections/tts/data/datalayers.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 34,584 | 43.51094 | 147 | py |
vad | vad-main/nemo/collections/tts/losses/fastpitchloss.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 5,560 | 35.827815 | 83 | py |
vad | vad-main/nemo/collections/tts/losses/stftlosses.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 9,869 | 38.798387 | 118 | py |
vad | vad-main/nemo/collections/tts/losses/tacotron2loss.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 3,827 | 44.035294 | 111 | py |
vad | vad-main/nemo/collections/tts/losses/hifigan_losses.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 4,380 | 31.93985 | 108 | py |
vad | vad-main/nemo/collections/tts/losses/fastspeech2loss.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 4,754 | 34.222222 | 102 | py |
vad | vad-main/nemo/collections/tts/losses/aligner_loss.py | # Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 3,070 | 33.122222 | 111 | py |
vad | vad-main/nemo/collections/tts/losses/uniglowloss.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 2,334 | 38.576271 | 117 | py |
vad | vad-main/nemo/collections/tts/losses/glow_tts_loss.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 3,299 | 39.243902 | 97 | py |
vad | vad-main/nemo/collections/tts/losses/waveglowloss.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 1,991 | 37.307692 | 110 | py |
vad | vad-main/nemo/utils/exceptions.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 1,385 | 35.473684 | 100 | py |
vad | vad-main/nemo/utils/export_utils.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 9,154 | 31.122807 | 134 | py |
vad | vad-main/nemo/utils/model_utils.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 21,570 | 33.904531 | 150 | py |
vad | vad-main/nemo/utils/get_rank.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 1,478 | 36.923077 | 95 | py |
vad | vad-main/nemo/utils/lightning_logger_patch.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 2,504 | 41.457627 | 120 | py |
vad | vad-main/nemo/utils/exp_manager.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 42,032 | 45.038335 | 145 | py |
vad | vad-main/nemo/utils/timers.py | """
This module support timing of code blocks.
"""
# Copyright (c) 2021, NVIDIA CORPORATION. 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.or... | 4,567 | 28.470968 | 103 | py |
vad | vad-main/nemo/utils/distributed.py | # Copyright (c) 2022, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 1,629 | 32.958333 | 116 | py |
vad | vad-main/nemo/utils/cloud.py | # Copyright (c) 2020, NVIDIA CORPORATION. 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
#
# Unless required by appli... | 3,117 | 36.566265 | 118 | py |
SegNet | SegNet-master/custom_layers/segnet_data_layers.py | import os
import random
import caffe
import numpy as np
import cv2
class SegNetSegDataLayer(caffe.Layer):
"""
Load (input image, label image) pairs from a general dataset
one-at-a-time while reshaping the net to preserve dimensions.
Use this to feed data to a fully convolutional network.
"""
... | 4,286 | 36.278261 | 102 | py |
SegNet | SegNet-master/scripts/training/batch_norm_absorber.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
After SegNet has been trained, run compute_bn_statistics.py script and then batch_norm_absorber.py.
For inference batch normalization layer can be merged into convolutional kernels, to
speed up the network. Both layers applies a linear transformation. For that reason
t... | 5,569 | 33.596273 | 110 | py |
SegNet | SegNet-master/scripts/training/train_and_test.py | import os
import sys
import random
import argparse
import configparser
from multiprocessing import Process
import pyinotify
sys.path.insert(0, os.path.expanduser("/PATH/TO/SegNet/caffe-segnet-cudnn7/python")) # Might not need this if you add to $PATH from ~/.bashrc
sys.path.insert(0, os.path.expanduser("/PATH/TO/SegNet... | 13,757 | 45.795918 | 165 | py |
SegNet | SegNet-master/scripts/training/compute_bn_statistics.py | #!/usr/bin/env python
import os
import numpy as np
from skimage.io import ImageCollection
from argparse import ArgumentParser
import caffe
from caffe.proto import caffe_pb2
from google.protobuf import text_format
def extract_dataset(net_message):
assert net_message.layer[0].type == "DenseImageData"
source = ... | 6,821 | 35.677419 | 91 | py |
SegNet | SegNet-master/scripts/training/train.py | #!/usr/bin/env python
import os
import sys
import argparse
import configparser
import sys
sys.path.insert(0, os.path.expanduser("/PATH/TO/SegNet/caffe-segnet-cudnn7/python")) # Might not need this if you add to $PATH from ~/.bashrc
sys.path.insert(0, os.path.expanduser("/PATH/TO/SegNet/custom_layers"))
import caffe
im... | 4,852 | 43.522936 | 152 | py |
SegNet | SegNet-master/scripts/inference/logit_distribution_evaluation.py | import numpy as np
import argparse
import cv2
import time
from scipy.stats import norm
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
import caffe
# Use colours which match Cityscapes
LABEL_COLOURS[0] = [128, 64, 128] # Road
LABEL_COLOURS[1] = [232, 35, 244] # Sidewalk
LABEL_COLOURS[2] = [69, 69,... | 12,488 | 34.379603 | 91 | py |
SegNet | SegNet-master/scripts/inference/segnet_basic_inference.py | import numpy as np
import argparse
import cv2
import time
import caffe
# Use colours which match Cityscapes
# (180, 129, 69) # 0 - Sky
# (69, 69, 69) # 1 - Building
# (153, 153, 153) # 2 - Column/Pole
# (128, 64, 128) # 4 - Road
# (231, 35, 244) # 5 - Sidewalk
# (35, 142, 106) # 6 - Tree
# (29, 170, 250) # 7 ... | 4,931 | 30.819355 | 154 | py |
SegNet | SegNet-master/scripts/inference/bayesian_segnet_inference.py | import numpy as np
import argparse
import cv2
import time
import caffe
# Use colours which match Cityscapes
LABEL_COLOURS = np.zeros([256, 3])
LABEL_COLOURS[0] = [128, 64, 128] # Road
LABEL_COLOURS[1] = [232, 35, 244] # Sidewalk
LABEL_COLOURS[2] = [69, 69, 69] # Building
LABEL_COLOURS[3] = [156, 102, 102] # ... | 10,915 | 32.484663 | 153 | py |
SegNet | SegNet-master/scripts/inference/segnet_inference.py | import numpy as np
import argparse
import cv2
import time
import caffe
# Use colours which match Cityscapes
# (180, 129, 69) # 0 - Sky
# (69, 69, 69) # 1 - Building
# (153, 153, 153) # 2 - Column/Pole
# (0, 69, 255) # 3 - Road Marking
# (128, 64, 128) # 4 - Road
# (231, 35, 244) # 5 - Sidewalk
# (35, 142, 10... | 4,935 | 30.43949 | 154 | py |
SegNet | SegNet-master/scripts/inference/test_segmentation_camvid.py | import numpy as np
import matplotlib.pyplot as plt
import argparse
import caffe
# Import arguments
parser = argparse.ArgumentParser()
parser.add_argument('--model', type=str, required=True)
parser.add_argument('--weights', type=str, required=True)
parser.add_argument('--iter', type=int, required=True)
parser.add_argu... | 2,470 | 25.569892 | 76 | py |
SegNet | SegNet-master/scripts/inference/test_segmentation.py | #!/usr/bin/env python
import argparse
import os
import timeit
import sys; sys.path.insert(0, os.path.expanduser("~/free_space_estimation/baselines/segnet/caffe-segnet/python"))
import caffe
import cv2
import numpy as np
# Import arguments
parser = argparse.ArgumentParser()
parser.add_argument("--out_dir",
... | 3,062 | 28.171429 | 114 | py |
UnSilence_VOC | UnSilence_VOC-main/src/main.py | from services.log_service import LogService
import numpy as np
import torch
import random
from services.arguments.arguments_service_base import ArgumentsServiceBase
from services.data_service import DataService
from services.train_service import TrainService
from services.test_service import TestService
def initializ... | 1,344 | 31.02381 | 74 | py |
UnSilence_VOC | UnSilence_VOC-main/src/run.py | import random
import sys
import logging
import numpy as np
import torch
from dependency_injection.ioc_container import IocContainer
if __name__ == '__main__':
# Configure container:
container = IocContainer()
# Run application:
container.main()
| 265 | 15.625 | 59 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/model_base.py | from services.log_service import LogService
from entities.word_evaluation import WordEvaluation
import os
import torch
import torch.nn as nn
from datetime import datetime
from typing import Dict, List, Tuple
from overrides import overrides
from entities.models.model_checkpoint import ModelCheckpoint
from entities.... | 7,217 | 32.728972 | 142 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/embedding/embedding_layer.py | from services.log_service import LogService
from services.arguments.arguments_service_base import ArgumentsServiceBase
from services.data_service import DataService
import torch
from torch import nn
from typing import List
from overrides import overrides
from entities.batch_representation import BatchRepresentation
... | 14,180 | 43.040373 | 134 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/embedding/skip_gram_embedding_layer.py | from copy import deepcopy
from services.log_service import LogService
from enums.language import Language
import torch.nn as nn
from torch.nn import init
from torch import nn
class SkipGramEmbeddingLayer(nn.Module):
def __init__(
self,
log_service: LogService,
language: Langua... | 3,023 | 35.433735 | 89 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/embedding/character_rnn.py | from services.log_service import LogService
from services.arguments.arguments_service_base import ArgumentsServiceBase
from services.data_service import DataService
import torch
import torch.nn as nn
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence
from overrides import overrides
from models.mod... | 2,695 | 39.238806 | 153 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/pretrained/pretrained_representations_layer.py | import os
from services.log_service import LogService
from services.arguments.arguments_service_base import ArgumentsServiceBase
from services.data_service import DataService
from transformers import PreTrainedModel, BertModel, CamembertModel
import torch
from torch import nn
from overrides import overrides
from ser... | 6,376 | 41.513333 | 158 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/ner_rnn/rnn_encoder.py | from services.log_service import LogService
from services.arguments.arguments_service_base import ArgumentsServiceBase
from services.data_service import DataService
import numpy as np
import torch
from torch import nn
import torch.nn.functional as F
from torch.nn.utils.rnn import pad_packed_sequence, pack_padded_seque... | 6,706 | 38.922619 | 108 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/ner_rnn/ner_predictor.py | from logging import log
import torch
import torch.nn as nn
import numpy as np
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence
from typing import Tuple, Dict, List
from overrides import overrides
from entities.metric import Metric
from entities.data_output_log import DataOutputLog
from entitie... | 15,223 | 40.824176 | 124 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/ner_rnn/conditional_random_field.py | from services.log_service import LogService
from services.arguments.arguments_service_base import ArgumentsServiceBase
from services.data_service import DataService
import torch
import torch.autograd as autograd
import torch.nn as nn
import torch.nn.functional as F
from typing import Tuple
from overrides import overri... | 12,297 | 38.290735 | 150 | py |
UnSilence_VOC | UnSilence_VOC-main/src/models/ner_rnn/rnn_attention.py | import math
from services.log_service import LogService
from services.arguments.arguments_service_base import ArgumentsServiceBase
from services.data_service import DataService
import torch
from torch import nn
from torch.functional import F
from overrides import overrides
from models.model_base import ModelBase
clas... | 1,171 | 30.675676 | 76 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.