logistic_sgd module, where to find it?

后端 未结 4 840
刺人心
刺人心 2021-01-19 06:14

doing a deep learning tutorial and my python cannot find that module.

from logistic_sgd import LogisticRegression, load_data
ImportError: No module named log         


        
4条回答
  •  醉酒成梦
    2021-01-19 07:07

    are you using the Theano library, if you are, that means your project cannot find the Theano library, use

    sys.path.append(r'~/TheanoDL')
    

    to declare it at the beginning of your project, change the path of it with your Theano is in.

    Note that it works for a project with a customed Theano library.(my situation)

    Best luck!

提交回复
热议问题