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

Failed to Run Examples in Master Branch #19907

Open
@barry-jin

Description

Description

Running some examples in master branch will produce error messages. Examples include automatic mixed precision and dcgan.

Error Message

AMP error message:

Traceback (most recent call last):
 File "amp_model_conversion.py", line 22, in <module>
  from common import modelzoo
ModuleNotFoundError: No module named 'common'

DC_GAN error message

Traceback (most recent call last):
 File "dcgan.py", line 355, in <module>
  main()
 File "dcgan.py", line 254, in main
  netG = get_netG()
 File "dcgan.py", line 169, in get_netG
  with netG.name_scope():
AttributeError: 'Sequential' object has no attribute 'name_scope'

To Reproduce

(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)

https://github.com/apache/incubator-mxnet/tree/master/example/automatic-mixed-precision
https://github.com/apache/incubator-mxnet/tree/master/example/gluon/dc_gan

Steps to reproduce

(Paste the commands you ran that produced the error.)

What have you tried to solve it?

Environment

We recommend using our script for collecting the diagnostic information with the following command
curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python3

Environment Information
# Paste the diagnose.py command output here

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions