NvidiaのドライバやCUDAがインストールされていない場合にGPUの存在を確認するコマンド

lspci: command not found がでた場合は,
apt install pciutilsTensorboardでMNISTのデータをグリグリ回して観察してみた[PCA][t-SNE]

TensorFlow 0.12から”Embedding Visualization”というものが追加され, データをグリグリ回しながら3次元的に観察できるようになった.
そこで, 本記事では下の方の ...
gensimで英語の分かち書き[gensim][Python]

複数のCSVを読み込んで一つのDataframeにまとめる[Python][Pandas]

hogeというフォルダの中に複数のCSVが配置されているとき、
以下のコードで複数のCSVを一つのDataFrame(表)としてまとめることが可能
from glob import globimport pandas ...Automatically Extracting Action Graphs from Materials Science Synthesis Procedures

無機物材料の生成プロセスをフローグラフ化する手法.
先行研究の料理のレシピをフローグラフ化する手法(Mise en Place: Unsupervised Interpretation of Instructional R ...
RecipeScape: Mining and Analyzing Diverse Processes in Cooking Recipes

Published 2017 in CHI Extended Abstracts
文で書かれた料理のレシピを構造化データにする為の研究.
事前に定義しておいたRecipeDeckから,料理の動作を選択することに ...
EC2インスタンスのストレージ増設方法

手順としては大まかに2つあり, ひとつはAWS マネジメントコンソール上でストレージをアタッチすること, もうひとつが任意のフォルダにストレージをマウントすることである.
では早速手順にはいる.
EC2 Man ...
shutil.copyfileでpermission deniedがでたときは引数を見直そう[Python][shutil]

Windowsでファイルをあるフォルダへコピーするコードを書いた際,以下のエラーがでた.
import shutilpath1 = r"C:\Users\hoge\Documents\hoge\hoge.pdf"path2 = ...Pytorch v0.4のコードをv0.3で動かす際には.dataに注意[Pytorch]

Pytorchのコードを見ているとミニバッチごとのlossやaccuracyを計算する際、.dataを用いて値を取り出されることが頻繁にある。
よくある例:
for i in range(0, 2 * POS_NEG ...pythonでグラフデータベースを構築[Python][GraphDataBase][Neo4j]

本記事では、グラフデータベースNeo4jを用いて、簡単なグラフをpythonで記述する方法を紹介。
まずはNeo4jのインストールから済ませよう
vastee.hatenablog.com
Neo4 ...