Skip to content

Instantly share code, notes, and snippets.

@BeardyMan37
BeardyMan37 / gist:a08a81fbe2769ba3bad45dd41a19e951
Created July 8, 2021 12:55
environment.yml for Wav2Keyword
name: Wav2Keyword
channels:
- pytorch
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=4.5=1_gnu
- _tflow_select=2.3.0=mkl
- absl-py=0.13.0=py36h06a4308_0
- aiohttp=3.7.4=py36h27cfd23_1
@BeardyMan37
BeardyMan37 / gist:a41e4bb43b80ee5e2d8d3c6e5280292e
Created July 8, 2021 12:53
requirements.txt for Wav2Keyword
absl-py @ file:///tmp/build/80754af9/absl-py_1623867049735/work
aiohttp @ file:///tmp/build/80754af9/aiohttp_1614360990960/work
antlr4-python3-runtime==4.8
appdirs==1.4.4
astor==0.8.1
astunparse==1.6.3
async-timeout==3.0.1
attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
audioread==2.1.9
blinker==1.4
predictionDict = {
'unknown': 0,
'আকর্ষণীয় লুক এন্ড ফিলের': 1}
# 'নতুন প্যাক': 1}
# 'সেই চিরচেনা স্বাদে': 1}
key_list = list(predictionDict.keys())
val_list = list(predictionDict.values())
def prediction(x, threshold):