Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pytorch summary model

from torchsummary import summary
help(summary)
import torchvision.models as models
alexnet = models.alexnet(pretrained=False)
alexnet.cuda()
summary(alexnet, (3, 224, 224))
print(alexnet)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pytorch #summary #model
ADD COMMENT
Topic
Name
7+3 =