CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

from cntk import input :: ImportError: cannot import name 'input'

Open gsrungarapu opened this issue 9 years ago • 1 comments

Hi,

I am trying to replicate [CNTK_201B_CIFAR-10_ImageHandsOn.ipynb] but I am getting the below error. Not able to import 'input'. I am able to run the CNTK_201A tutorial( pre-requisite for 201B) without any issue.(https://github.com/Microsoft/CNTK/blob/master/Tutorials/CNTK_201B_CIFAR-10_ImageHandsOn.ipynb)

Traceback (most recent call last): File "CNTK 201B.py", line 15, in from cntk import cross_entropy_with_softmax, classification_error, relu, input, softmax, element_times ImportError: cannot import name 'input'

Any suggestions please? Thank you.

gsrungarapu avatar Apr 24 '17 19:04 gsrungarapu

It was resolved using the new version of cntk; and I think, I had a clash with my existing python distribution for cntk. I re-installed everything and used the Python35 and CNTK2.0rc2 which worked fine and I was able to run the above ImageHandsOn.ipynb.

Thanks!

gsrungarapu avatar Apr 25 '17 14:04 gsrungarapu