Skip to content

Instantly share code, notes, and snippets.

View TeaPoly's full-sized avatar

Lucky Wong TeaPoly

View GitHub Profile
@TeaPoly
TeaPoly / gcc_phat_align.py
Last active March 3, 2022 13:15
The GCC-PHAT algorithm is applied to align the far end and near end signals based on Pytorch.
#!/usr/bin/env python3
# Copyright 2022 Lucky Wong
#
# 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 or agreed to in writing, software
@TeaPoly
TeaPoly / reduced_embedding_decoder.py
Last active July 15, 2022 15:45
Reduced Embedding Decoders, ref: Tied & Reduced RNN-T Decoder
#!/usr/bin/env python3
# Copyright 2022 Lucky Wong
#
# 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 or agreed to in writing, software
#!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Daniel Povey);
# Arnab Ghoshal, Karel Vesely
# 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