100 Commits

Author SHA1 Message Date
57afe85b2c Merge pull request #189 from haofanwang/patch-1
Update default path
2020-01-28 00:11:31 +09:00
401b9035df Merge pull request #188 from qy-yang/fix#187
fix #187 Typos in language model and generative_adversarial_network
2020-01-28 00:11:10 +09:00
06e04389bd Merge pull request #129 from mariuszrokita/patch-1
Update main.py
2020-01-28 00:05:19 +09:00
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
22219527c5 Merge pull request #120 from arisliang/master
minor refactoring and fix
2020-01-28 00:01:15 +09:00
2537490ded Merge pull request #139 from justinshenk/patch-1
Remove dollar-sign prompt from code blocks
2020-01-27 23:59:13 +09:00
25b2685d5e Update default path 2019-09-15 14:12:04 -05:00
dd297a1307 fix #187 Typos in language model line 79 and generative_adversarial_network line 25-28 2019-08-27 17:31:42 +08:00
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
e
a16173ffc4 clip_grad_norm is now deprecated 2018-11-09 16:21:42 +08: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
16d6a76e90 typo 2018-11-04 11:00:43 +09:00
d25b573560 Remove dollar-sign prompt from code blocks
Improves sharing code without affecting readability
2018-11-03 20:08:10 +01:00
ff803b749f Update main.py
Fixed typos.
2018-09-18 13:15:29 +02:00
2bfebb0a4a Fix requires_grad=True needs float tensor 2018-08-05 23:59:17 +08:00
c301c38201 Update download.sh
for better download speed.
2018-06-06 01:34:17 +08:00
e217e42e60 missing eval mode in recurrent neural network 2018-06-03 09:22:20 +08:00
7aac81272a minor refactoring for batch size in deep residual network 2018-06-03 01:20:51 +08:00
3008d88222 minor refactoring for input size 2018-06-02 23:14:26 +08: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
15488e0db1 delete 2018-05-10 17:47:00 +09:00
63db681c4f fix typo in comments 2018-05-09 11:30:17 +02:00
b60ac38382 [Fix]invalid URL 2018-04-21 19:56:06 +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
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
d40cc81afb fixed a minor error in vae 2017-08-06 10:08:31 +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
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
c548e2ae9f tutorial updated 2017-05-28 20:06:40 +09:00
c53c48809e Add files via upload 2017-05-26 14:02:27 +09:00
946955e9e7 Create r 2017-05-26 13:59:00 +09:00
5ffd51cc0e Update README.md 2017-05-24 08:27:32 -07:00
6d0c3c8b33 add denormalization function 2017-05-23 16:34:11 +09:00
47d70f91ac change download directory 2017-05-23 16:33:36 +09:00
92aed9babb call main function 2017-05-11 11:11:45 +08:00
b2c7bd7bfc Bug fix
import pickle and add args. to vocab_path
2017-05-05 16:46:15 -04:00