Aron
dd66bfccdb
Update 05_pytorch_going_modular.md
...
at the `return self.classifier(self.block_2(self.block_1(x)))`
You called the blocks `conv_block_1` and `conv_block_2`. Hence the return function leveraging the benefits of operator fusion errors when running a forward pass. I fixed this by changing the two block names to the correct ones in return.
It is also possible to rename both blocks to the shorter version of `block_1` and `block_2` respectively.
2022-07-25 18:22:55 +02:00
Daniel Bourke
e020132277
Update README.md
2022-07-25 22:28:07 +10:00
Daniel Bourke
e9c916809c
Update README.md
2022-07-25 21:29:23 +10:00
Daniel Bourke
d6aefad2e3
update docs front page
2022-07-25 15:45:19 +10:00
Daniel Bourke
e59e24f654
update log
2022-07-25 15:45:08 +10:00
Daniel Bourke
4f912a6ee1
add annotations
2022-07-25 15:44:59 +10:00
Daniel Bourke
1b035d673c
add image math text to code image
2022-07-25 15:36:19 +10:00
Daniel Bourke
2b3bc78ba9
add image for appyling ViT to food vision mini
2022-07-25 14:50:46 +10:00
Daniel Bourke
cebf83bdab
update log
2022-07-25 11:33:29 +10:00
Daniel Bourke
527b59ef07
add annotations
2022-07-25 11:33:19 +10:00
Daniel Bourke
de9bb31785
add note for torchvision 0.13 being out
2022-07-25 11:33:10 +10:00
Daniel Bourke
46a8b29882
fix typo
2022-07-22 16:24:20 +10:00
Daniel Bourke
73e26f3efb
update docs
2022-07-22 14:06:23 +10:00
Daniel Bourke
75ba9c8d6e
Merge branch 'main' of https://github.com/mrdbourke/pytorch-deep-learning into main
2022-07-22 14:05:40 +10:00
Daniel Bourke
bf2b959c74
add walk through dir
2022-07-22 14:05:38 +10:00
Daniel Bourke
cea2703f82
add annotations
2022-07-22 14:05:21 +10:00
Daniel Bourke
b72100b26b
fix typo
2022-07-22 13:02:47 +10:00
Daniel Bourke
cfdda5e4b7
Update helper_functions.py
2022-07-22 12:34:33 +10:00
Daniel Bourke
5e340d4e0b
add info for where predictions.py came from
2022-07-21 15:27:14 +10:00
Daniel Bourke
55fe8446f6
update log and add annotations to 08
2022-07-21 15:26:49 +10:00
Daniel Bourke
32b1ae6f8c
fix typo
2022-07-21 11:56:50 +10:00
Daniel Bourke
d97375fedb
add image mapping transformer encoder to code
2022-07-21 11:25:23 +10:00
Daniel Bourke
53dbff060c
update images with food image patches
2022-07-21 10:51:40 +10:00
Daniel Bourke
6b17e3529f
Update README.md
2022-07-21 10:39:35 +10:00
Daniel Bourke
324f24f512
add image for transformer encoder
2022-07-21 10:38:55 +10:00
Daniel Bourke
e281e09b83
Update index.md
2022-07-21 10:13:35 +10:00
Daniel Bourke
fef9c3fae3
Update make_docs.yml
2022-07-21 10:10:42 +10:00
Daniel Bourke
77e2bfbd40
Merge branch 'main' of https://github.com/mrdbourke/pytorch-deep-learning into main
2022-07-20 15:03:42 +10:00
Daniel Bourke
7f5976fb66
update 08 and log
2022-07-20 15:03:37 +10:00
Daniel Bourke
b8eb77f255
add image mapping transformer encoder to equations
2022-07-20 13:40:11 +10:00
Daniel Bourke
04bd68f1d9
add annotations to 08
2022-07-20 10:55:03 +10:00
Daniel Bourke
9e586fa2f6
update equation 2 in code and add equation 3 mapped to code
2022-07-20 10:49:46 +10:00
Daniel Bourke
0123cc1b1f
update equation 2 and add equation 3
2022-07-20 10:18:38 +10:00
Daniel Bourke
0fdad1a667
update vit paper figure 1 mapping to four equations
2022-07-20 10:09:42 +10:00
Daniel Bourke
de6d913415
add annotations to 08 and update readme log
2022-07-19 15:47:52 +10:00
Daniel Bourke
7f77faf07a
add equation 2 in code
2022-07-19 15:42:16 +10:00
Daniel Bourke
ca2b214698
add annotations to 08
2022-07-19 11:53:44 +10:00
Daniel Bourke
22c0164544
add equation 2 annotated with appendix A
2022-07-19 11:10:38 +10:00
Daniel Bourke
9cabd2fb41
add equation 2 image
2022-07-19 10:27:20 +10:00
Daniel Bourke
30e4f827b1
Merge branch 'main' of https://github.com/mrdbourke/pytorch-deep-learning into main
2022-07-15 16:28:41 +10:00
Daniel Bourke
715aafad09
make code clearer and finish patch embedding section
2022-07-15 16:28:36 +10:00
Daniel Bourke
3cc9875cc9
add vit paper equation 1 code image
2022-07-15 15:25:34 +10:00
Daniel Bourke
511b25a836
update patch embedding animation
2022-07-15 14:43:31 +10:00
Daniel Bourke
7d76d4eab2
Merge branch 'main' of https://github.com/mrdbourke/pytorch-deep-learning into main
2022-07-15 14:38:06 +10:00
Daniel Bourke
0b652f5ca7
add annotations to 08
2022-07-15 14:37:56 +10:00
Daniel Bourke
8c4c27e546
add full architecture animation
2022-07-15 14:32:02 +10:00
Daniel Bourke
ffa1895c9b
update patch embedding animation
2022-07-15 14:28:57 +10:00
Daniel Bourke
33ff9f7710
fix typo, thank you aronvandepol
2022-07-15 12:07:14 +10:00
Daniel Bourke
18312f68e4
Update README.md
2022-07-15 12:06:12 +10:00
Daniel Bourke
a290fc1cbe
add image for patch embeddings and class token and position embeddings
2022-07-15 11:33:32 +10:00