Row 4586
Content Data
This page contains data entry 4586 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.
For self learning purposes, I wanna try making regular good old gradient descent from scrach with the help of autograd as a part of my training loop for my neural network, instead of an optimizer.
for example:
`model=Net() #Declare model. A CNN probably`
`for epoch in range(EPOCHS):`
`for i in range(steps):`
`y=model(x)`
`loss=criterion(y)`
`#Old-Fashioned Gradient descent here that updates the parameters`
While I understand the basic functionality of autograd I have some doubts and I am not sure if I will do it right.
Thanks in advance for the help
| Field | Value |
|---|---|
| text | For self learning purposes, I wanna try making regular good old gradient descent from scrach with the help of autograd as a part of my training loop for my neural network, instead of an optimizer. for example: `model=Net() #Declare model. A CNN probably` `for epoch in range(EPOCHS):` `for i in range(steps):` `y=model(x)` `loss=criterion(y)` `#Old-Fashioned Gradient descent here that updates the parameters` While I understand the basic functionality of autograd I have some doubts and… |
| label | r/pytorch |
| dataType | post |
| communityName | r/pytorch |
| datetime | 2024-04-17 |
| username_encoded | Z0FBQUFBQm5LakwxWmNveXVUQlE0U0hTZnBlYlZvWXR0VG1TSDFUQkNPZDRNUkoxeFFqcjNOd0VVSXEydFRqZDNlaTJKbk1BamlHZUlSX2F4cXlTaTdHeFJqWDUyRzI0cEE9PQ== |
| url_encoded | Z0FBQUFBQm5Lak9GcDMzR1d5TWswRng1TnotUVVTN1A5MWlnOU1KVWZKODgtR3d6clBidjFhVlZoUHZKQWpiLU83bmNDUUQ2ZHZZQVotVzEzZndYLUxXSkJFS3MwbGNCYmYxbmVTRlp1M3pMWEJ6b3pKTFNKX1VyVno2NTBSVVJNNGtsOHNRS3dLT3o5bS1GcTJ4MEJjQUhYOGQ3cTlOVGVKYkhnOWdfOEljNDMxY2FKM1otU2k3MXEtdVZZOHB2OExfRncwSVh3SnRs |
Raw Record
{
"text": "For self learning purposes, I wanna try making regular good old gradient descent from scrach with the help of autograd as a part of my training loop for my neural network, instead of an optimizer.\n\nfor example:\n\n \n`model=Net() #Declare model. A CNN probably`\n\n`for epoch in range(EPOCHS):`\n\n`for i in range(steps):`\n\n`y=model(x)`\n\n`loss=criterion(y)`\n\n`#Old-Fashioned Gradient descent here that updates the parameters`\n\n\n\nWhile I understand the basic functionality of autograd I have some doubts and I am not sure if I will do it right. \n\nThanks in advance for the help",
"label": "r/pytorch",
"dataType": "post",
"communityName": "r/pytorch",
"datetime": "2024-04-17",
"username_encoded": "Z0FBQUFBQm5LakwxWmNveXVUQlE0U0hTZnBlYlZvWXR0VG1TSDFUQkNPZDRNUkoxeFFqcjNOd0VVSXEydFRqZDNlaTJKbk1BamlHZUlSX2F4cXlTaTdHeFJqWDUyRzI0cEE9PQ==",
"url_encoded": "Z0FBQUFBQm5Lak9GcDMzR1d5TWswRng1TnotUVVTN1A5MWlnOU1KVWZKODgtR3d6clBidjFhVlZoUHZKQWpiLU83bmNDUUQ2ZHZZQVotVzEzZndYLUxXSkJFS3MwbGNCYmYxbmVTRlp1M3pMWEJ6b3pKTFNKX1VyVno2NTBSVVJNNGtsOHNRS3dLT3o5bS1GcTJ4MEJjQUhYOGQ3cTlOVGVKYkhnOWdfOEljNDMxY2FKM1otU2k3MXEtdVZZOHB2OExfRncwSVh3SnRs"
}
Entry Information
- Entry ID: 4586
- Repository: Axioma AXP
- Dataset: arrmlet/reddit_dataset_36
- Total Entries: 100,000