151 Commits

Author SHA1 Message Date
16691c00f8 Let sample.py can generate caption for gray image.
The sample.py cannot be used to generate caption for gray image.In the data_loader.py, all of the images have been converted to 'RGB' format. But when generating captions using sample.py for single image, this conversion is missed. So for gray image, it will have such RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[1, 1, 224, 224] to have 3 channels, but got 1 channels instead.
2019-02-24 10:02:07 +08:00
4896cefea1 Merge pull request #143 from AutuanLiu/patch01
clip_grad_norm is now deprecated
2018-11-09 17:53:38 +09:00
e
a16173ffc4 clip_grad_norm is now deprecated 2018-11-09 16:21:42 +08:00
c48008bf9d Merge pull request #141 from keineahnung2345/fix-resnet
[Bug fix] redundant layers in ResNet
2018-11-06 22:04:38 +09:00
606d0aa188 [Bug fix] redundant layers in ResNet
In https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/02-intermediate/deep_residual_network/main.py#L115, it defined a length 4 `layers`. 
But in https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/02-intermediate/deep_residual_network/main.py#L84, it only uses `layers[0]` and `layers[1]`. 
So the last entry of [2,2,2,2] should be redundant.
2018-11-06 17:54:07 +08:00
6f28678302 Merge pull request #140 from litcoderr/master
simple typo
2018-11-04 18:37:57 +09:00
16d6a76e90 typo 2018-11-04 11:00:43 +09:00
6fe5ff5211 Merge pull request #128 from timctho/master
Fix requires_grad=True needs float tensor
2018-08-07 12:46:30 +09:00
2bfebb0a4a Fix requires_grad=True needs float tensor 2018-08-05 23:59:17 +08:00
9219526869 Merge pull request #119 from JosephKJ/master
Upgrading the pytorch logo to the 2018 version
2018-06-11 10:27:59 +09:00
d9b7278204 Merge pull request #121 from arisliang/patch-1
Update download.sh
2018-06-06 11:44:19 +09:00
c301c38201 Update download.sh
for better download speed.
2018-06-06 01:34:17 +08:00
5eb2b2e609 Update README.md 2018-05-27 21:49:19 +05:30
a81ac8d6e9 Rename pytorch_logo.svg to pytorch_logo_2018.svg 2018-05-27 21:48:53 +05:30
b0017623c7 Update README.md 2018-05-27 21:47:18 +05:30
eed8fe2dd2 New Logo 2018-05-27 21:46:39 +05:30
99271737fb Merge pull request #114 from xinqiu/patch-1
fix spelling mistake
2018-05-15 22:47:21 +09:00
ce951bf7dc fix spelling mistake 2018-05-15 16:02:20 +08:00
66783db4f4 Update README.md 2018-05-10 18:19:35 +09:00
2e87294c08 Update tutorials for pytorch 0.4.0 2018-05-10 17:53:59 +09:00
78c6afe681 Update tutorials for pytorch 0.4.0 2018-05-10 17:52:01 +09:00
9087fe6427 Update ReadME.md 2018-05-10 17:48:50 +09:00
15488e0db1 delete 2018-05-10 17:47:00 +09:00
1016ac031f Merge pull request #112 from marlonjan/patch-1
fix typo in comments
2018-05-10 10:49:47 +09:00
63db681c4f fix typo in comments 2018-05-09 11:30:17 +02:00
1760cc8e81 Merge pull request #107 from UdonDa/fix-url
[Fix] typo
2018-04-21 20:06:37 +09:00
b60ac38382 [Fix]invalid URL 2018-04-21 19:56:06 +09:00
6c785eb810 Edited dependencies. 2018-02-23 12:53:04 +09:00
6aa638dcbf Merge pull request #99 from kdavis-mozilla/data_utils_fix
Removed unused code
2018-02-22 19:22:15 +09:00
f64c7c78c2 Removed unused code 2018-02-22 10:44:07 +01:00
f73f67e310 Fixed the input image size for the resnet18 2018-02-15 22:48:51 +09:00
655c6df3ba fixed typo 2018-01-09 17:28:16 +09:00
1ec90fad72 Update model.py 2017-09-28 15:33:17 +09:00
17ef894aec Merge pull request #61 from PhysikerErlangen/patch-1
Update main.py
2017-09-16 00:43:49 +09:00
be4c08b0ff Update main.py 2017-09-16 00:43:12 +09:00
8a824389d9 Update main.py
I got confused by the use of the binary cross entropy. In particular it wasn't clear to me why the variable real_labels are used in the training of the generator.

I have added some comments. I am not sure if they are correct, so you might want to double check them.
2017-09-15 18:05:51 +08:00
6f255dec23 Merge pull request #58 from JayParks/master
fixed a minor error in vae
2017-08-06 16:47:35 +09:00
d40cc81afb fixed a minor error in vae 2017-08-06 10:08:31 +09:00
4b67434961 Merge pull request #49 from Kongsea/master
Update main-gpu.py
2017-07-11 13:35:01 +09:00
9cce6c6df6 Update main-gpu.py 2017-07-11 11:43:18 +08:00
4bf140b407 Update main-gpu.py
ref: https://discuss.pytorch.org/t/how-to-get-cuda-variable-gradient/1386
2017-07-11 11:19:16 +08:00
8f459d745d Update download.sh 2017-06-23 12:20:05 +09:00
7079547635 Merge pull request #42 from nelson-liu/patch-1
Remove period in logger.py reference
2017-05-30 10:04:23 +09:00
420bb90993 Remove period in logger.py reference
The period was breaking the URL link.
2017-05-29 15:53:11 -07:00
0d1f56d0bb Update README.md 2017-05-29 15:12:25 +09:00
ab5ac31dae edit image captioning code 2017-05-29 15:07:40 +09:00
286f7b7589 tutorial updated 2017-05-28 20:46:20 +09:00
f28838931c tutorial updated 2017-05-28 20:30:15 +09:00
92875f0669 tutorial updated 2017-05-28 20:14:45 +09:00
3854e81216 Create LICENSE 2017-05-28 20:12:12 +09:00