$ python 2imgmini.py
Network build
Network built
/home/miyoshi/.pyenv/versions/anaconda3-5.3.0/envs/pytorch/lib/python3.6/site-packages/torch/nn/functional.py:52: UserWarning: size_average and reduce args will be deprecated, please use reduction='elementwise_mean' instead.
warnings.warn(warning.format(ret))
/home/miyoshi/.pyenv/versions/anaconda3-5.3.0/envs/pytorch/lib/python3.6/site-packages/torch/nn/modules/upsampling.py:122: UserWarning: nn.Upsampling is deprecated. Use nn.functional.interpolate instead.
warnings.warn("nn.Upsampling is deprecated. Use nn.functional.interpolate instead.")
train epoch 0 n 0 value_loss 1.0111103057861328
train epoch 0 n 1 value_loss 0.9735496640205383
train epoch 0 n 2 value_loss 0.9211722016334534
train epoch 0 n 3 value_loss 0.8193354606628418
train epoch 0 n 4 value_loss 0.6632522940635681
train epoch 0 n 5 value_loss 0.42712828516960144
train epoch 0 n 6 value_loss 0.07727818936109543
...
train epoch 99 n 96 value_loss 0.008237137459218502
train epoch 99 n 97 value_loss 0.0015351235633715987
train epoch 99 n 98 value_loss 0.0002682803897187114
train epoch 99 n 99 value_loss 0.010822485201060772
process finished
Note
This code needs GPU
Runned by PyTorch 0.4.0