apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.79k stars 6.79k forks source link

Update MXNet examples with Gluon training APIs #18458

Open eric-haibin-lin opened 4 years ago

eric-haibin-lin commented 4 years ago

A large number of examples in the mxnet official repo is using the Module APIs for training. Since the Module APIs will be removed in mxnet 2.0 in favor of the easier-to-use Gluon APIs, it will be great to get help from the community to update/rewrite these examples using the Gluon APIs.

Below is a list of examples using Module APIs

szha commented 4 years ago

Going forward, we should have properly maintained examples that are checked by CI and rerun frequently to make sure they are function. We should probably decide on the proper infrastructure for doing that first.

Also, since the toolkits are better equipped to maintain examples for each domain, it might be a good idea to having them in the toolkits instead.

pengzhao-intel commented 4 years ago

Going forward, we should have properly maintained examples that are checked by CI and rerun frequently to make sure they are function. We should probably decide on the proper infrastructure for doing that first.

Also, since the toolkits are better equipped to maintain examples for each domain, it might be a good idea to having them in the toolkits instead.

Toolkits distributed in different repos and it's hard to get by newer. I think the basic examples are still very helpful to illustrate the FWK's usage and capability.

szha commented 4 years ago

I created the repository for examples here: https://github.com/apache/incubator-mxnet-examples