This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Batch convert all .mp3 files in the current directory to 432Hz with ffmpeg | |
| # Options | |
| suffix="false" # Append the -432Hz suffix or not | |
| oldIFS=$IFS | |
| IFS=$'\n' | |
| set -f # Deal with blanks and special characters in file names of the file command and in for loop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import io | |
| import glob | |
| import hashlib | |
| import pandas as pd | |
| import xml.etree.ElementTree as ET | |
| import tensorflow as tf | |
| import random | |
| from PIL import Image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os, argparse | |
| import tensorflow as tf | |
| from tensorflow.python.framework import graph_util | |
| dir = os.path.dirname(os.path.realpath(__file__)) | |
| def freeze_graph(model_folder, output_nodes='y_hat', | |
| output_filename='frozen-graph.pb', | |
| rename_outputs=None): |