You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/02/17 17:49:25 UTC
[GitHub] [incubator-mxnet] barry-jin opened a new issue #19907: Failed to Run Examples in Master Branch
barry-jin opened a new issue #19907:
URL: https://github.com/apache/incubator-mxnet/issues/19907
## Description
Running some examples in master branch will produce error messages. Examples include [automatic mixed precision](https://github.com/apache/incubator-mxnet/tree/master/example/automatic-mixed-precision) and [dcgan](https://github.com/apache/incubator-mxnet/tree/master/example/gluon/dc_gan).
### 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.)
1.
2.
## What have you tried to solve it?
1.
2.
## 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`
<details>
<summary>Environment Information</summary>
```
# Paste the diagnose.py command output here
```
</details>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org