Skip to content

Release/1.6 #1087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Jul 28, 2020
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
353174f
Add TorchScript fork/join tutorial
Jun 11, 2020
28f044e
Merge pull request #1021 from jamesr66a/fork_join
Jun 18, 2020
4e97bce
Add note about zipfile format in serialization tutorial
Jun 19, 2020
90f4771
Merge pull request #1036 from jamesr66a/save_note
Jun 19, 2020
823ddca
Profiler recipe (#1019)
ilia-cher Jun 23, 2020
910dfa9
[mobile] Mobile Perf Recipe
IvanKobzarev Jun 16, 2020
7b182fe
Merge branch 'master' into recipe_mobile_perf
Jun 24, 2020
6285b8f
Merge pull request #1031 from IvanKobzarev/recipe_mobile_perf
Jun 24, 2020
02aef1d
Minor syntax edits to mobile perf recipe
Jun 30, 2020
d64b9aa
Remove built files
Jun 30, 2020
8e4e379
[android] android native app recipe
IvanKobzarev Jun 26, 2020
9cc3ce8
[mobile_perf][recipe] Add ChannelsLast recommendation
IvanKobzarev Jun 26, 2020
a79c227
Merge branch 'master' into recipe_aarlink_customop
Jul 2, 2020
7b615c1
Merge pull request #1041 from IvanKobzarev/recipe_aarlink_customop
Jul 2, 2020
e6ac673
Merge branch 'release/1.6' into mobile_perf_channels_last
Jul 2, 2020
86b5c4a
Adding distributed pipeline parallel tutorial
Apr 11, 2020
fff3fba
Merge pull request #1042 from IvanKobzarev/mobile_perf_channels_last
Jul 2, 2020
dec681d
Merge pull request #948 from mrshenli/pipeline
Jul 2, 2020
f0be561
Add async execution tutorials
mrshenli Jun 30, 2020
aef2568
Merge pull request #1045 from mrshenli/batch
Jul 3, 2020
51abc6a
Fix code block in pipeline tutorial
mrshenli Jul 4, 2020
2f3ab79
Merge pull request #1050 from mrshenli/fix
Jul 4, 2020
f8465c3
Adding an Overview Page for PyTorch Distributed (#1056)
mrshenli Jul 9, 2020
d766eeb
[Mobile Perf Recipe] Add the benchmarking part for iOS (#1055)
xta0 Jul 13, 2020
569e96f
RPC profiling recipe (#1068)
rohan-varma Jul 15, 2020
5aa9d48
Push latest changes from master into release/1.6 (#1074)
Jul 16, 2020
bfb3bb5
Tutorial for DDP + RPC (#1071)
pritamdamania87 Jul 16, 2020
f9f3088
Make RPC profiling recipe into prototype tutorial (#1078)
Jul 21, 2020
c8e79e1
Add RPC tutorial
Jul 21, 2020
f2c549d
Update to include recipes
Jul 21, 2020
d9d152b
Add Graph Mode Dynamic Quant tutorial (#1065)
supriyar Jul 21, 2020
b53f272
Add mobile recipes images
jlin27 Jul 21, 2020
a855e46
Update mobile recipe index
Jul 21, 2020
f8b200d
Remove RPC Profiling recipe from index
Jul 22, 2020
6e261b2
1.6 model freezing tutorial (#1077)
Jul 22, 2020
def85bd
Update title
Jul 22, 2020
7945534
Update recipes_index.rst
brianjo Jul 28, 2020
f4561a8
Update dcgan_faces_tutorial.py
gchanan Jul 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update dcgan_faces_tutorial.py
Update labels to be floats to work around torch.full inference change.
  • Loading branch information
gchanan committed Jul 28, 2020
commit f4561a8fff95a98d3cd77f1515114a01040a7b4b
4 changes: 2 additions & 2 deletions beginner_source/dcgan_faces_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ def forward(self, input):
fixed_noise = torch.randn(64, nz, 1, 1, device=device)

# Establish convention for real and fake labels during training
real_label = 1
fake_label = 0
real_label = 1.
fake_label = 0.

# Setup Adam optimizers for both G and D
optimizerD = optim.Adam(netD.parameters(), lr=lr, betas=(beta1, 0.999))
Expand Down