ai-forever / ghost

A new one shot face swap approach for image and video domains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: module 'mxnet' has no attribute 'mod'

antonnes opened this issue · comments

Trying to run the repo on Windows 10.
Installed mxnet-cu102-2.0.0b20201108.

The code execution stops on line 115 in image_infer.py file
model = mx.mod.Module(symbol=sym, context=ctx, label_names=None)

Full error: AttributeError: module 'mxnet' has no attribute 'mod'

Actually made it work with version mxnet_cu102-1.7.0-py2.py3-none-win_amd64.whl
Used the following install command
pip install mxnet_cu102==1.7.0 -f https://dist.mxnet.io/python/cu102