Help us understand the problem. What is going on with this article?

window10でchainer,dcganのメモ

動作環境

Windows10 Home
GTX1080ti

Anacondaのインストール

https://www.anaconda.com/

CUDA

https://developer.nvidia.com/cuda-toolkit-archive

cuDNN

https://developer.nvidia.com/rdp/cudnn-download

環境作成

Anacondapromptを起動
仮想環境の作成
conda create -n [仮想環境名] python=3.7 jupyter
仮想環境の一覧
conda info --envs
仮想環境の起動
cond activate [仮想環境名]
仮想環境の停止
conda deactivate

chainerをインストール

pip install chainer,cupy

バージョン確認
import chainer
chainer.__version__
'6.2.0'

DCGANのexample

git clone https://github.com/chainer/chainer.git
※chainer\examples\dcgan

dcganのトレーニング、画像出力

python train_dcgan.py --gpu 0
cifar-10がダウンロードされたあとに学習が始まります

Device: @cupy:0
# Minibatch-size: 50
# n_hidden: 100
# epoch: 1000

Downloading from https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz...

学習済みモデルと出力画像

モデル result
出力画像 result\preview
image00283000.png

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした