Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

where can i import commands #263

Open
dongfangyixi opened this issue Jul 25, 2019 · 1 comment
Open

where can i import commands #263

dongfangyixi opened this issue Jul 25, 2019 · 1 comment

Comments

@dongfangyixi
Copy link

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'

@gentelyang
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants