CNTK
CNTK copied to clipboard
Python cgi - no module named cntk
Hi,
I' making a web form for uploading images. I want to predict a class of the image and return a result to user. But when I import cntk in my cgi script the error ImportError: No module named 'cntk' appears. The odd thing about it is that when I load model via my python test script in command line everything is ok. No error.
How is that possible?
Path to cntk python was not in python path of Apache. These two lines helped
import sys
sys.path.append('D:\\CNTK\\bindings\\python')