a72a5b05d8edcde1e1bbb808ed26d5c858b112d5,gluon/models/dpn.py,,_test,#,587
Before Change
assert (model != dpn107 or weight_count == 86917800)
assert (model != dpn131 or weight_count == 79254504)
x = Variable(torch.randn(1, 3, 224, 224))
y = net(x)
assert (tuple(y.size()) == (1, 1000))
After Change
assert (model != dpn131 or weight_count == 79254504)
//net.hybridize()
x = mx.nd.zeros((1, 3, 224, 224), ctx=ctx)
y = net(x)
assert (y.shape == (1, 1000))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: osmr/imgclsmob
Commit Name: a72a5b05d8edcde1e1bbb808ed26d5c858b112d5
Time: 2018-08-27
Author: osemery@gmail.com
File Name: gluon/models/dpn.py
Class Name:
Method Name: _test
Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: 8af5800b9a74cf7b2c8d2577b7d9be3ef987f26b
Time: 2021-04-09
Author: florian@flova.de
File Name: detect.py
Class Name:
Method Name: detect_image
Project Name: osmr/imgclsmob
Commit Name: 8cc023c568f2cdcdf5c34c5fa1b76090073bca73
Time: 2018-12-04
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/resattnet.py
Class Name:
Method Name: _test