4b82e69390b85bc471be44359dd51eaa247c5a91,beginner_source/blitz/cifar10_tensorboard_tutorial.py,,,#,66
Before Change
// get some random training images
dataiter = iter(trainloader)
images , labels = dataiter.next()
// show images
matplotlib_imshow(torchvision.utils.make_grid(images))
After Change
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// We"ll also define our `optimizer` and `criterion`
criterion = nn.CrossEntropyLoss()
optimizer = optim.SGD(n et.parameters(), lr=0.001, momentum=0.9)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// 1. Tensorboard setup
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: pytorch/tutorials
Commit Name: 4b82e69390b85bc471be44359dd51eaa247c5a91
Time: 2019-07-31
Author: ubuntu@ip-172-31-22-54.ec2.internal
File Name: beginner_source/blitz/cifar10_tensorboard_tutorial.py
Class Name:
Method Name:
Project Name: Scitator/catalyst
Commit Name: 2775c15702fd52f081ff8fded51f4f38877659df
Time: 2019-08-01
Author: scitator@gmail.com
File Name: examples/_tests_scripts/z_classification.py
Class Name:
Method Name: