author-pic

Tomohiro Nagasaka

18 posts tagged with "日本語"

セットアップ

Posted on May, 2020

中国ではElectronのダウンロードが異様に遅い。。。なんかエラーが出てもう一回インストールしろと言われる。 スクリプトを走らせるだけで直った。npm run simpleserver''' npm install --global --production windows-build-tools node js gyp err cant find python executable…

Read full post

Syncthing

Posted on May, 2020

インストールnano ~/.config/syncthing/config.xmlリモート

Read full post

ホスティングサービス

Posted on April, 2020

日本国内ではXサーバーが有名ですが、海外にも格安サーバーはたくさんあります。おすすめは下の二つ。HostwindsVultr時間単位で料金が発生。一番安いプランは月々500円。使わないときはサーバーの内容を凍結しておけば料金が発生しません。お財布に優しい。月々500円でLinux…

Read full post

Virtualenv

Posted on April, 2020

環境作成現在のフォルダにインストールされることに注意。環境起動作成されたフォルダにあるactivate.batを使う。pip install pyinstaller pyinstaller yourprogram.pypython --versionpip install imguiglfw########################################This is what I…

Read full post

Seq2Seq

Posted on April, 2020

Tensorflow Addonバグがある? https://github.com/tensorflow/tensorflow/issues/20067Examplehttps://colab.research.google.com/github/dhirensk/ai/blob/master/EnglishtoFrenchseq2seqtf20_withAttention.ipynb

Read full post

Gitサーバー

Posted on April, 2020

GitNginx/etc/nginx/sites-available/default を編集する。location ~ /git(/.*) で /var/www/html/git以下にマッチさせる。設定ファイルの正当性チェック、再起動ユーザー追加ここではユーザー Tomoを追加します。 コマンドを入力するとパスワードの設定を求められます。レポジトリ作成ここではblog…

Read full post

Hugo

Posted on April, 2020

https://github.com/gohugoio/hugoGoHugo注意:SCSSを使うには”Extended”版が必要GitHook/var/www/html/git/blog.git/hooks/post-receive を作成bash /var/www/html/git/blog.git/hooks/post-receive で動作確認Hugo Nginx/etc/nginx…

Read full post

VPNサーバー

Posted on April, 2020

Algohttps://github.com/trailofbits/algo

Read full post

自作音声合成ツール解説

Posted on April, 2020

音声合成ツールについての解説。動画中の音声はこのツールによって作成しています。こんにちは、TOMOです。最近テキスト読み上げツールを開発しています。 今のところ日本語と中国語が読めるようになりました。 英語は研究データも多く難易度が低いのでこれも追加する予定です。 Youtube…

Read full post

Matplotlib

Posted on April, 2020

Jupyterのおまじない画像表示

Read full post

Librosa

Posted on April, 2020

Wav・Oggファイル読み込みOggにはコーデックのインストールが必要。FFMpegを使う。

Read full post

Pyworld

Posted on April, 2020

Pyworldは音声を基本周波数、スペクトログラム、非周期成分に分解、再合成できる。基本周波数の抽出にはharvestとdioがある。harvestの方がノイズが少ない感じ。分解再合成Example

Read full post

テキストファイル処理

Posted on April, 2020

メモリ上の音声再生音声ファイル再生

Read full post

Tensorflowで音声処理

Posted on April, 2020

TensorflowでMelSpectrogramtf.signal.stftはTFLiteで使えない。

Read full post

テキストファイル処理

Posted on April, 2020

ファイル読み込み行ごとにリストに変換ファイル書き込み

Read full post

MECAB

Posted on April, 2020

形態素解析。主に漢字を読み仮名に変換する際に用いる。Mecab

Read full post

ローマ字・ひらがな・カタカナ 変換

Posted on April, 2020

カタカナを平仮名にするローマ字辞書cl, pauについてはJulius用

Read full post

Django

Posted on April, 2020

インストールWindowsUbuntuUbuntuの場合はコマンド中の pip > pip3 と置き換えます。プロジェクト作成データベース初期化プロジェクト作成後、データベースを初期化します。 また、コードのデータベース関連部分を変更した際は。時々プロジェクト名を追加する必要となる場合があるようです。テスト、デプロイ起動ローカルからアクセスする場合。IP…

Read full post