Commit Graph

159 Commits

Author SHA1 Message Date
Yunjey Choi
32cf716575 Merge pull request #159 from Michael-Hsu/patch-1
Let sample.py can generate caption for gray image.
2020-01-28 00:04:54 +09:00
Yunjey Choi
22219527c5 Merge pull request #120 from arisliang/master
minor refactoring and fix
2020-01-28 00:01:15 +09:00
Yunjey Choi
2537490ded Merge pull request #139 from justinshenk/patch-1
Remove dollar-sign prompt from code blocks
2020-01-27 23:59:13 +09:00
Yunjey Choi
56bba93619 Update README.md 2019-04-15 13:35:57 +09:00
Michael Hsu
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
Yunjey Choi
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
Yunjey Choi
c48008bf9d Merge pull request #141 from keineahnung2345/fix-resnet
[Bug fix] redundant layers in ResNet
2018-11-06 22:04:38 +09:00
keineahnung2345
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
Yunjey Choi
6f28678302 Merge pull request #140 from litcoderr/master
simple typo
2018-11-04 18:37:57 +09:00
litcoderr
16d6a76e90 typo 2018-11-04 11:00:43 +09:00
Justin Shenk
d25b573560 Remove dollar-sign prompt from code blocks
Improves sharing code without affecting readability
2018-11-03 20:08:10 +01:00
Yunjey Choi
6fe5ff5211 Merge pull request #128 from timctho/master
Fix requires_grad=True needs float tensor
2018-08-07 12:46:30 +09:00
TimHo
2bfebb0a4a Fix requires_grad=True needs float tensor 2018-08-05 23:59:17 +08:00
Yunjey Choi
9219526869 Merge pull request #119 from JosephKJ/master
Upgrading the pytorch logo to the 2018 version
2018-06-11 10:27:59 +09:00
Yunjey Choi
d9b7278204 Merge pull request #121 from arisliang/patch-1
Update download.sh
2018-06-06 11:44:19 +09:00
Aris L
c301c38201 Update download.sh
for better download speed.
2018-06-06 01:34:17 +08:00
Liang Yi
e217e42e60 missing eval mode in recurrent neural network 2018-06-03 09:22:20 +08:00
Liang Yi
7aac81272a minor refactoring for batch size in deep residual network 2018-06-03 01:20:51 +08:00
Liang Yi
3008d88222 minor refactoring for input size 2018-06-02 23:14:26 +08:00
Joseph K J
5eb2b2e609 Update README.md 2018-05-27 21:49:19 +05:30
Joseph K J
a81ac8d6e9 Rename pytorch_logo.svg to pytorch_logo_2018.svg 2018-05-27 21:48:53 +05:30
Joseph K J
b0017623c7 Update README.md 2018-05-27 21:47:18 +05:30
Joseph K J
eed8fe2dd2 New Logo 2018-05-27 21:46:39 +05:30
Yunjey Choi
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
Yunjey Choi
66783db4f4 Update README.md 2018-05-10 18:19:35 +09:00
Yunjey Choi
2e87294c08 Update tutorials for pytorch 0.4.0 2018-05-10 17:53:59 +09:00
yunjey
78c6afe681 Update tutorials for pytorch 0.4.0 2018-05-10 17:52:01 +09:00
yunjey
9087fe6427 Update ReadME.md 2018-05-10 17:48:50 +09:00
yunjey
15488e0db1 delete 2018-05-10 17:47:00 +09:00
Yunjey Choi
1016ac031f Merge pull request #112 from marlonjan/patch-1
fix typo in comments
2018-05-10 10:49:47 +09:00
Marlon@Ada
63db681c4f fix typo in comments 2018-05-09 11:30:17 +02:00
Yunjey Choi
1760cc8e81 Merge pull request #107 from UdonDa/fix-url
[Fix] typo
2018-04-21 20:06:37 +09:00
UdonDa
b60ac38382 [Fix]invalid URL 2018-04-21 19:56:06 +09:00
Yunjey Choi
6c785eb810 Edited dependencies. 2018-02-23 12:53:04 +09:00
Yunjey Choi
6aa638dcbf Merge pull request #99 from kdavis-mozilla/data_utils_fix
Removed unused code
2018-02-22 19:22:15 +09:00
kdavis-mozilla
f64c7c78c2 Removed unused code 2018-02-22 10:44:07 +01:00
Yunjey Choi
f73f67e310 Fixed the input image size for the resnet18 2018-02-15 22:48:51 +09:00
Yunjey Choi
655c6df3ba fixed typo 2018-01-09 17:28:16 +09:00
yunjey
1ec90fad72 Update model.py 2017-09-28 15:33:17 +09:00
yunjey
17ef894aec Merge pull request #61 from PhysikerErlangen/patch-1
Update main.py
2017-09-16 00:43:49 +09:00
yunjey
be4c08b0ff Update main.py 2017-09-16 00:43:12 +09:00
PhysikerErlangen
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
yunjey
6f255dec23 Merge pull request #58 from JayParks/master
fixed a minor error in vae
2017-08-06 16:47:35 +09:00
JayParks
d40cc81afb fixed a minor error in vae 2017-08-06 10:08:31 +09:00
yunjey
4b67434961 Merge pull request #49 from Kongsea/master
Update main-gpu.py
2017-07-11 13:35:01 +09:00
Kongsea
9cce6c6df6 Update main-gpu.py 2017-07-11 11:43:18 +08:00
Kongsea
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
yunjey
8f459d745d Update download.sh 2017-06-23 12:20:05 +09:00