ChaiBapchya opened a new issue #13661: Inconsistencies in Gluon Model Zoo API
URL: https://github.com/apache/incubator-mxnet/issues/13661
 
 
   Currently, if I were to use Gluon Model Zoo and use any model for eg 
DenseNet, I face 2 issues regarding APIs
   a. Lack of clarity about differences in the APIs (Titlecase vs lowercase)
   E.g.
   `mxnet.gluon.model_zoo.vision.AlexNet(classes=1000, **kwargs)`
   and
   `mxnet.gluon.model_zoo.vision.alexnet(pretrained=False, ctx=cpu(0), 
root='/home/jenkins_slave/.mxnet/models', **kwargs)`
   
   b. Even if that were clear, APIs themselves weren't consistent with function 
definitions for few networks
   
   By inconsistency I mean, `**kwargs` instead of mentioning all the parameters 
that are required by the function. (e.g. `pretrained=False, ctx=cpu(0)`)
   
   Case in point - mobile nets, densenets, resnets, squeezenets (note the case 
sensitivity of these APIs)
    
   - 
[mxnet.gluon.model_zoo.vision.mobilenet_v2_0_25(**kwargs)](https://mxnet.incubator.apache.org/api/python/gluon/model_zoo.html#mxnet.gluon.model_zoo.vision.mobilenet_v2_0_25)
   - 
[mxnet.gluon.model_zoo.vision.densenet161(**kwargs)](https://mxnet.incubator.apache.org/api/python/gluon/model_zoo.html#mxnet.gluon.model_zoo.vision.densenet161)
   - [mxnet.gluon.model_zoo.vision.resnet152_v1(**kwargs)](
   
https://mxnet.incubator.apache.org/api/python/gluon/model_zoo.html#mxnet.gluon.model_zoo.vision.resnet152_v1)
   - 
[mxnet.gluon.model_zoo.vision.squeezenet1_0(**kwargs)](https://mxnet.incubator.apache.org/api/python/gluon/model_zoo.html#mxnet.gluon.model_zoo.vision.squeezenet1_0)
   - 
[mxnet.gluon.model_zoo.vision.vgg13(**kwargs)](https://mxnet.incubator.apache.org/api/python/gluon/model_zoo.html#mxnet.gluon.model_zoo.vision.vgg13)
   
   Compared to the likes of alexnet and inceptions
   - [mxnet.gluon.model_zoo.vision.alexnet(pretrained=False, ctx=cpu(0), 
root='/home/jenkins_slave/.mxnet/models', **kwargs)](
   
https://mxnet.incubator.apache.org/api/python/gluon/model_zoo.html#mxnet.gluon.model_zoo.vision.alexnet)
   - [mxnet.gluon.model_zoo.vision.inception_v3(pretrained=False, ctx=cpu(0), 
root='/home/jenkins_slave/.mxnet/models', **kwargs)](
   
https://mxnet.incubator.apache.org/api/python/gluon/model_zoo.html#mxnet.gluon.model_zoo.vision.inception_v3)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to