Skip to content

Instantly share code, notes, and snippets.

@back2yes
Last active March 26, 2018 07:13
Show Gist options
  • Save back2yes/adeb46a16f5e52a45c0a3d328980b98f to your computer and use it in GitHub Desktop.
Save back2yes/adeb46a16f5e52a45c0a3d328980b98f to your computer and use it in GitHub Desktop.
size of input_small: torch.Size([10, 1, 20, 20])
Variable containing:
(0 ,0 ,.,.) =
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
... ⋱ ...
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
(1 ,0 ,.,.) =
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
... ⋱ ...
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
(2 ,0 ,.,.) =
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
... ⋱ ...
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
...
(7 ,0 ,.,.) =
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
... ⋱ ...
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
(8 ,0 ,.,.) =
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
... ⋱ ...
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
(9 ,0 ,.,.) =
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
... ⋱ ...
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
0 0 0 ... 0 0 0
[torch.cuda.FloatTensor of size 10x1x10x10 (GPU 0)]
size of input_large: torch.Size([10, 1, 70, 90])
Variable containing:
(0 ,0 ,.,.) =
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
... ⋱ ...
1.4337 0.4213 0.8577 ... 0.7037 0.3958 1.0169
1.0319 0.5940 0.2329 ... 0.6727 0.6807 0.6160
0.9037 0.3361 1.3275 ... 0.5918 0.5298 0.6265
(1 ,0 ,.,.) =
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
... ⋱ ...
0.1780 0.0155 0.8227 ... 0.3351 1.3672 0.6374
0.7902 2.4052 0.4456 ... 0.5934 0.1705 1.0181
0.0599 0.3681 0.0610 ... 0.0747 0.0684 0.8257
(2 ,0 ,.,.) =
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
... ⋱ ...
0.2765 0.1507 1.4717 ... 0.9668 0.1459 0.1235
0.2353 0.2141 1.5167 ... 0.1874 0.4292 1.8095
0.2626 0.3098 0.2183 ... 0.3262 0.8940 0.0470
...
(7 ,0 ,.,.) =
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
... ⋱ ...
0.8727 0.2231 0.1693 ... 0.1978 0.0244 0.3497
0.3063 0.1763 0.3137 ... 0.4946 0.9962 1.5243
0.1081 0.5039 0.2749 ... 1.0389 0.5169 0.1767
(8 ,0 ,.,.) =
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
... ⋱ ...
0.4896 0.3258 0.8901 ... 1.0474 0.3074 0.6168
0.1670 0.5587 0.6625 ... 0.3871 0.4365 0.6432
0.2993 0.0272 0.3209 ... 0.0594 0.6815 0.2300
(9 ,0 ,.,.) =
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 ... 0.0000 0.0000 0.0000
... ⋱ ...
0.4992 0.9807 0.2442 ... 0.0040 0.2023 0.4668
0.3500 0.9953 0.8851 ... 1.4288 0.9914 0.1126
0.3873 0.1516 1.0591 ... 0.7278 0.1591 0.3180
[torch.cuda.FloatTensor of size 10x1x35x45 (GPU 0)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment