Skip to content

Instantly share code, notes, and snippets.

View hiromu's full-sized avatar

Hiromu Yakura hiromu

View GitHub Profile
@hiromu
hiromu / main.py
Created May 25, 2023 04:37
A script to download videos listed in a tab-separated file with Selenium.
#!/usr/bin/env python
import csv
import json
import pathlib
import sys
import time
import tempfile
import trio
"""Prepare acoustic/linguistic/duration features.
usage:
prepare_features.py [options] <DATA_ROOT> <DST_ROOT>
options:
--overwrite Overwrite files
--max_num_files=<N> Max num files to be collected. [default: -1]
-h, --help show this help message and exit
"""
@hiromu
hiromu / main.py
Created December 24, 2017 18:14
Speaker Identification using GMM on MFCC
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import glob
import librosa
import numpy as np
import os
import sklearn.mixture
import sys
@hiromu
hiromu / extract_feats.py
Created November 22, 2017 18:34 — forked from kastnerkyle/extract_feats.py
Extract features with HTK/speech_tools/festival/merlin
from __future__ import print_function
import os
import shutil
import stat
import subprocess
import time
import numpy as np
from scipy.io import wavfile
import re
import glob
@hiromu
hiromu / result.png
Last active June 17, 2016 13:14
DCGAN Food Image Generation
result.png
From 0bf4196dfa0caba0cee28c7edc751c145c834bc1 Mon Sep 17 00:00:00 2001
From: Hiromu Yakura <hiromu1996@gmail.com>
Date: Tue, 24 May 2016 11:33:33 +0900
Subject: [PATCH] add an option to specify the log directory
---
main.py | 5 +++--
model.py | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
@hiromu
hiromu / estate.c
Created August 29, 2014 02:54
機械学習コンテストサンプルソース
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#define TRAIN_SET 500
#define TEST_SET 500
#define FEATURE 6
#define K 3
@hiromu
hiromu / main.c
Created December 24, 2013 17:46
機械学習コンテスト用サンプルソース(協調フィルタリング)
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TRAINDATA 1000
#define TESTDATA 1000
#define PARAMETER 10
@hiromu
hiromu / Iris.c
Last active January 1, 2016 03:29
機械学習コンテスト用サンプルソース
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TRAINDATA 50
#define TESTDATA 100
#define PARAMETER 4
#define TYPE 3
#define K 3
Volatile Systems Volatility Framework 2.2
Offset(V) Name PID PPID Thds Hnds Sess Wow64 Start Exit
---------- -------------------- ------ ------ ------ -------- ------ ------ -------------------- --------------------
0x823c6660 System 4 0 61 281 ------ 0
0x81fcb020 smss.exe 548 4 3 19 ------ 0 2013-06-30 09:22:16
0x81f3e020 csrss.exe 672 548 12 370 0 0 2013-06-30 09:22:23
0x820f3020 winlogon.exe 696 548 19 582 0 0 2013-06-30 09:22:23
0x8205c020 services.exe 740 696 15 294 0 0 2013-06-30 09:22:23
0x81fdc020 lsass.exe 752 696 20 359 0 0 2013-06-30 09:22:23
0x820e97f0 vmacthlp.exe 940