Skip to content

Commit 50c8d49

Browse files
committed
Remove shebang from python scripts. Minor cleanup.
1 parent fbeb0f4 commit 50c8d49

35 files changed

+6
-52
lines changed

Dockerfile.audeep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
FROM tensorflow/tensorflow:1.15.2-gpu
33

44
RUN apt-get update \
5-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
6-
libsndfile1 less vim-nox \
5+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
6+
--no-install-recommends libsndfile1 less vim-nox \
77
&& apt-get autoremove
88

99
WORKDIR /home/audeep

papers/alta2020/run_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/sh
1+
#!/bin/sh
22

33
# This script runs all tests on each corpus.
44
# It must be run from the root directory of the repository.

papers/alta2020/run_experiments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/sh
1+
#!/bin/sh
22

33
# This script runs the main experiment script on various combinations of
44
# classifier and features on a given dataset.

papers/alta2020/run_preprocessing.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/sh
1+
#!/bin/sh
22

33
# This script runs all the data preprocessing scripts (feature
44
# generation) on a given corpus.

scripts/batch/comparative.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/sh
1+
#!/bin/sh
22

33
# This script runs all combinations of classifier, feature set and corpus.
44
# Must be run from the root directory of the project.

scripts/inference/classify_audio.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/python3
2-
31
"""Perform inference on a given dataset using a pre-trained model.
42
Return the predicted class and the estimated confidence information.
53
"""

scripts/preprocessing/create_raw_dataset.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/python3
2-
31
"""Creates a NetCDF dataset containing the raw audio and labels."""
42

53
import argparse

scripts/preprocessing/extract_spectrograms.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/python3
2-
31
"""Extracts spectrograms from several audio files and creates a netCFD4 file or
42
TFRecord file holding the data.
53
"""

scripts/preprocessing/opensmile.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/python3
2-
31
"""Batch process a list of files in a dataset using the openSMILE Toolkit."""
42

53
import argparse

scripts/preprocessing/openxbow.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/python3
2-
31
"""Process sequences of LLD vectors using the openXBOW software."""
42

53
import argparse

0 commit comments

Comments
 (0)