paddle-ce-latest-kpis icon indicating copy to clipboard operation
paddle-ce-latest-kpis copied to clipboard

where can i import commands

Open dongfangyixi opened this issue 5 years ago • 1 comments

Hi, gays,

I notice that in this file ce_models/resnet50_net_GPU/train.py line 12 import commands

but I can't find the where to import commands. ModuleNotFoundError: No module named 'commands'

dongfangyixi avatar Jul 25 '19 22:07 dongfangyixi

Hi, gays,

I notice that in this file ce_models/resnet50_net_GPU/train.py line 12 import commands

but I can't find the where to import commands. ModuleNotFoundError: No module named 'commands'

The commands module exists in py2. If it is py3, you need to replace it with subprocess.

gentelyang avatar Jul 26 '19 02:07 gentelyang