- 未標註都是 batch 1
- basic 是公開音效資料
- ab 是內部訓練資料
- unab 非標註資料
cyclegan_vc2_two_step_77500.ckpt a+b+basic_1
import cv2 | |
import mss | |
import numpy as np | |
""" | |
1. Install python3 | |
2. Setting python path | |
``` | |
python -m pip install numpy |
sudo mount -t ntfs -o rw,auto,nobrowse /dev/disk2s2 disk |
logstash | |
kibana | |
elasticsearch | |
Codota | |
Kitematic-Mac | |
https://pjreddie.com/darknet/nightmare/ | |
Flutter | |
Firebase |
import inspect | |
class foo: | |
def bar(): | |
print 'Hello' | |
print(inspect.getsource(foo)) |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> |
// 需要在同網域執行 否則需要破解 注入腳本 | |
var urls = [ | |
"abc.com" | |
]; | |
function sleep(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} |
from pydub import AudioSegment | |
from pydub.silence import split_on_silence | |
audio_chunks = split_on_silence(audio, | |
# must be silent for at least half a second | |
min_silence_len=300, | |
# consider it silent if quieter than -25 dBFS | |
silence_thresh=-25 | |
) |
from pydub import AudioSegment | |
import numpy as np | |
import config | |
file_index = str(1) | |
audio = AudioSegment.from_file(config.resource_path("%s.wav" % file_index)) | |
audio = audio.set_channels(1) | |
raw_data = audio.raw_data |