ImageMagickのresizeの解像度を任意に指定[Imagemagick]

解像度の後ろに!を付けるconvert -resize 1920x1200! in.jpg out.jpg補足
Imagemagickで解像度の変更を行う際,
convert -resize 1920x1200 in.jpg ou ...PytorchがGPUを使っているかを確認する方法[Pytorch]

import torchprint(torch.cuda.is_available())>>Truetorch.cuda.get_device_name(0)>>'GeForce GTX 1080 Ti'
Pytorchに関する基礎知識 ...
TensorFlowの練習 ~ Cifar10の画像をダウンロードしCNNしてみた ~

WindowsにTensorflowをインストールしたので,試しにCNNしてみた.
なお,本記事の手順は以下の記事を参考にした.
blogs.yahoo.co.jp
必要スクリプトのダウンロード以下 ...
Tensorflow1.10 + Windows10 + CUDA9.0 + cuDNN7.0.5

タイトルのパッケージをインストールする手順をここに示す.
前提条件CUDA9.0とcuDNN7.05, Anacondaがすでにインストールされていることが前提.
上3つのインストール手順の説明は本記事では扱わ ...
AWS EC2 インスタンスをスマホから停止/起動する方法[AWS][EC2]

IAMユーザーの作成
下記記事を参考に作成.
shomi3023.com
ポリシーはAdministratorAccessにした.
このとき任意で決めたIAMユーザー名をメモ.
IAMユーザーの ...Deep Semantic Role Labeling のソースコードを動かすまでの手順

nvidia-docker2でコンテナを作成。 –runtime=nvidiaを忘れないこと。
$ docker run -it --runtime=nvidia nvidia/cuda:7.5-cudnn5-dev ...CUDAとcuDNNとUbuntuのバージョンを指定してコンテナを立てる[nvidia-docker2]

docker run -it --runtime=nvidia nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04–runtime=nvidia を忘れるとnvidia-smiが使えないので忘れない ...
runtimeではnvccが使えないので注意[nvidia-docker2]

教訓 nvidia-dockerで環境を立てるときには、develを選ぶのが吉 説明
さて、nvidia-docker2を使ってコンテナを作成しようとしたのだが
$ docker run -it --runtime=nvidia ...Theano ImportError: cannot import name inplace_increment の解決方法

$ rm -rf ~/.theano
古いキャッシュを消すことで解決.
stackoverflow.com
Anaconda 仮想環境の新規作成

$ conda create -n py27 python=2.7 anaconda
-n: 仮想環境の名前
python=*: pythonのバージョン指定
末尾の引数: 使用するパッケージ。他にもscipy, ...