Commit Graph

98 Commits

Author SHA1 Message Date
7411f602fb 402 - remove squeeze for 1-D array 2018-11-13 09:13:44 +08:00
40bcdb5c6c Merge pull request #55 from keineahnung2345/401-cnn
[Bug fix] 401_CNN.py
2018-11-12 09:46:32 +08:00
a9ef65ed9a [Bug fix] 401_CNN.py
1. fix typo
2. remove .squeeze for 1-D tensor
2018-11-09 17:26:27 +08:00
0f4219c72c Merge pull request #53 from keineahnung2345/302-squeeze
302 - remove .squeeze() from 1-D numpy array
2018-11-08 19:43:20 +08:00
867aa1d1b2 Merge pull request #52 from keineahnung2345/update-203-activation
update to torch 0.4
2018-11-08 19:42:52 +08:00
bf4cf1e700 update for new version of torch 2018-11-08 19:40:27 +08:00
5b1d191946 302 - remove .squeeze() from 1-D numpy array
prediction.data.numpy() is already 1-D, so the .squeeze() is unnecessary.
2018-11-08 14:14:35 +08:00
59487ef2b4 update to torch 0.4
Warning message from old version:
/opt/conda/lib/python3.6/site-packages/torch/nn/functional.py:1047: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
  warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
2018-11-07 16:11:19 +08:00
906cf71b6f update for new version of torch 2018-11-07 16:08:38 +08:00
ce55cc9446 fix bug 2018-11-07 15:58:12 +08:00
889455575a Merge remote-tracking branch 'origin/master' 2018-08-06 19:25:14 +08:00
7d95eb3e30 update 2018-08-06 19:24:48 +08:00
304c0b230f Merge pull request #31 from Hierom/patch-1
Fixing error learning rate for this sample
2018-07-15 20:25:38 +08:00
b161aa063f Merge pull request #32 from Hierom/patch-2
Fixing error accurate and error tensor to numpy
2018-07-15 20:24:35 +08:00
99158fd0ca Fixing error accurate and error tensor to numpy 2018-07-14 22:35:34 +08:00
410f7eca88 Update 301_regression.ipynb 2018-07-12 17:14:10 +08:00
840ed35b9c Update 301_regression.ipynb 2018-07-12 17:08:43 +08:00
0212a9d368 Fixing error learning rate for this sample 2018-07-12 17:01:31 +08:00
d053113d3a fixed for windows 2018-07-05 16:38:07 +08:00
f2ebd8a37b update accuracy function 2018-06-29 10:09:52 +08:00
79380fb90e fix typo 2018-06-14 22:20:51 +08:00
921b69a582 update to torch 0.4 2018-05-30 01:39:53 +08:00
7e7c9bb383 update to torch 0.4 2018-05-30 00:46:22 +08:00
538ba18975 Merge pull request #27 from AyushExel/patch-2
Remove deprecated code
2018-05-30 00:32:22 +08:00
e19eb5d060 Remove deprecated code
The use of Variable() explicitly is deprecated as Autograd now supports tensors directly.
2018-05-29 21:02:10 +05:30
de563d70fd Merge pull request #24 from inoue0426/master
bug fix
2018-05-17 15:09:08 +08:00
dc78eeae3b bug fix 2018-05-16 00:40:44 +09:00
c711da855a update to torch 0.4 2018-05-10 08:48:03 +10:00
68396f5972 fix bug for windows 2018-05-04 11:39:52 +10:00
46c516fc10 fix typo 2018-03-08 00:22:06 +11:00
968b6e2d0b Merge pull request #18 from okdolly/patch-2
x = torch.linspace(-5,5,200), size [200]
2018-02-26 11:22:03 +08:00
647a51551d Merge pull request #17 from okdolly/patch-1
torch.dot does not broadcast
2018-02-26 09:39:11 +08:00
9beffbc7eb x = torch.linspace(-5,5,200), size [200]
y=torch.linspace(x1,x2) returns a one-dimensional tensor of size 100 equally spaced points between x1 and x2.

y=torch.linspace(x1,x2,n) returns a one-dimensional tensor of n equally spaced points between x1 and x2.
2018-02-17 22:52:07 -08:00
b048c4dd84 torch.dot does not broadcast
torch.dot() can only work for 1 dimension tensor.

http://pytorch.org/docs/master/torch.html
https://github.com/pytorch/pytorch/issues/2313
2018-02-17 22:09:20 -08:00
0b09c05dc8 a3c 2018-01-18 22:29:43 +11:00
ebf9bfd250 update for torch 0.3 2018-01-04 16:56:37 +11:00
f65e27f71e update for torch 0.3 2018-01-02 15:05:18 +11:00
5df56c99dd remove random seed 2017-12-15 14:21:23 +11:00
dcbd424b2a Merge pull request #12 from YJH-666/master
mnist dataset download setting
2017-11-22 11:24:02 +11:00
895ad9a26c mnist dataset download setting 2017-11-22 08:13:22 +08:00
2ae0c0fa6a fix typo 2017-11-08 22:45:10 +08:00
9318a69f08 fix action shape problem 2017-10-30 09:58:09 +11:00
a7b14b8091 fix action shape 2017-10-27 09:06:10 +11:00
ce4a8286fd update for torch 0.2 2017-09-05 12:57:40 +10:00
3b23f6bced update for torch 0.2 2017-09-05 12:57:25 +10:00
f31c88b81e update 2017-08-28 19:52:18 +10:00
e7599c0f14 update 2017-08-09 01:51:16 +10:00
1b5fa9f7aa update 2017-06-27 17:00:01 +10:00
76c82cf670 update 2017-06-23 10:58:37 +10:00
2f33447f6a update 2017-06-23 10:57:01 +10:00