Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Auto-encoder example out of date #18712

@xidulu

Description

@xidulu

CNN Autoencoder under the example folder is till using the "old" api:

1 net = gluon.nn.HybridSequential(prefix='autoencoder_')
     2 with net.name_scope():
      3     # Encoder 1x28x28 -> 32x1x1
      4     encoder = gluon.nn.HybridSequential(prefix='encoder_')
      5     with encoder.name_scope():

which would cause:

TypeError: __init__() got an unexpected keyword argument 'prefix'

when using the nightly version of MXNet.

Reference

https://github.com/apache/incubator-mxnet/blob/master/example/autoencoder/convolutional_autoencoder.ipynb

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions