配有英伟达显卡的主机,装完 Ubuntu 16.04 后出现闪屏现象,是由于没有安装显卡驱动。
显卡型号
NVIDIA Corporation GM204 [GeForce GTX 970]
public static String getExternalSdCardPath() { | |
String path = null; | |
File sdCardFile = null; | |
List<String> sdCardPossiblePath = Arrays.asList("external_sd", "ext_sd", "external", "extSdCard"); | |
for (String sdPath : sdCardPossiblePath) { | |
File file = new File("/mnt/", sdPath); | |
if (file.isDirectory() && file.canWrite()) { |
根据Unicode5.0整理如下: | |
1)标准CJK文字 | |
http://www.unicode.org/Public/UNIDATA/Unihan.html | |
2)全角ASCII、全角中英文标点、半宽片假名、半宽平假名、半宽韩文字母:FF00-FFEF | |
http://www.unicode.org/charts/PDF/UFF00.pdf | |
3)CJK部首补充:2E80-2EFF | |
http://www.unicode.org/charts/PDF/U2E80.pdf |
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
function [ref_ii, ref_jj, blk_residual] = block_match(blk, frame) | |
% frame and block dimensions | |
[H, W] = size(frame); | |
blk_size = size(blk, 1); | |
ref_ii = 1; | |
ref_jj = 1; | |
err = (255 ^ 2) * (blk_size ^ 2); | |
blk_residual = 255 * ones(blk_size, blk_size); |
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 |
本文介绍如何提取提取声学特征用于Merlin训练。在语音合成中,属于声码器(vocoder)的内容。
Merlin可以使用两种vocoder,STRAIGHT
或WORLD
。WORLD
的目标是提取60-dim MGC, variable-dim BAP (BAP dim: 1 for 16Khz, 5 for 48Khz), 1-dim LF0;STRAIGHT
的目标是提取60-dim MGC, 25-dim BAP, 1-dim LF0。
新版本的WORLD_v2
还在开发中,目标是提取60-dim MGC, 5-dim BAP, 1-dim LF0(MGC和BAP的维度支持微调)。
由于STRAIGHT
的使用有严格的证书限制,本文,主要介绍WORLD
。
for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.
Terminal
, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
BCompare
to BCompare.bak
: mv BCompare BCompare.bak
BCompare
, and chmod a+ux BCompare
: touch BCompare && chmod a+ux BCompare
BCompare
with text editor, insert the script :#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@