Open LifeBringer opened 5 years ago
Hi Andrew,
There was an error with the completion notes for Section 1 first_coin_flip = (torch.rand(len(db)) < noise).float() should be first_coin_flip = (torch.rand(len(db)) > noise).float()
first_coin_flip = (torch.rand(len(db)) < noise).float()
first_coin_flip = (torch.rand(len(db)) > noise).float()
Please see: https://youtu.be/_ByJgx6H0MQ?t=32 for reference.
https://github.com/udacity/private-ai/blob/master/completed/Section%202%20-%20Federated%20Learning.ipynb
I have also noticed this error and pulled a fix here: https://github.com/udacity/private-ai/pull/14
Hi Andrew,
There was an error with the completion notes for Section 1
first_coin_flip = (torch.rand(len(db)) < noise).float()
should befirst_coin_flip = (torch.rand(len(db)) > noise).float()
Please see: https://youtu.be/_ByJgx6H0MQ?t=32 for reference.
https://github.com/udacity/private-ai/blob/master/completed/Section%202%20-%20Federated%20Learning.ipynb