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 numpy as np | |
import librosa | |
import time | |
import os | |
import pygame | |
steps =[ | |
""" | |
o | |
\ / |
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
require 'csvigo' | |
-- csvigo is used to convert to table and then store | |
-- not very clean, but convenient! | |
local csv_utils = {} | |
function csv_utils.csv_read(csv_path, delimiter, out_mode, start_idx, batch_size) | |
X_table = {} | |
local count = 1 | |
local batch_count = 1 | |
for line in io.lines(csv_path) do |