paddle-ce-latest-kpis
paddle-ce-latest-kpis copied to clipboard
where can i import commands
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'
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.