You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@mxnet.apache.org by Alex via MXNet Forum <mx...@discoursemail.com.INVALID> on 2020/08/03 14:25:58 UTC

[MXNet Forum] [Gluon] [model_name] object has no attribute 'output'


I downloaded a couple of models from Zoo, such as 'resnet18_v1b' or 'ResNet50_v1d ' via get_model(model_name, pretrained=True) and unfortunately their objects do not have the attribute 'output'. This leads to the error:

AttributeError: 'ResNetV1b' object has no attribute 'output'

And the ability to define own output layer is lost at least via the method shown in your tutorials:

with finetune_net.name_scope():
    finetune_net.output = nn.Dense(classes)

Is it something normal? What would be the advice on how to deal with this?





---
[Visit Topic](https://discuss.mxnet.io/t/model-name-object-has-no-attribute-output/6455/1) or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.mxnet.io/email/unsubscribe/5c409d0c676fd4e4d0c05ee6ccb6e23f865963cbc9e94c6574ed9a680453288a).