menpo

Failed to run Python script with Conda

☆樱花仙子☆ 提交于 2019-12-12 09:44:11
问题 I tried to install menpo like in this tutorial. After that I installed menpofit, menpo3d and menpodetect: conda install -c menpo menpofit conda install -c menpo menpo3d conda install -c menpo menpodetect Next I ran this python script from CMD( python testPy.py ): import menpo.io as mio from menpo.visualize import visualize_images images = list(mio.import_images('A:/img/*.png')) visualize_images(images) And got this output: What am I doing wrong and how I can fix it? 回答1: It seems that

Failed to run Python script with Conda

六月ゝ 毕业季﹏ 提交于 2019-12-05 12:40:07
I tried to install menpo like in this tutorial . After that I installed menpofit, menpo3d and menpodetect: conda install -c menpo menpofit conda install -c menpo menpo3d conda install -c menpo menpodetect Next I ran this python script from CMD( python testPy.py ): import menpo.io as mio from menpo.visualize import visualize_images images = list(mio.import_images('A:/img/*.png')) visualize_images(images) And got this output: What am I doing wrong and how I can fix it? It seems that visualize_images is meant to be used from ipython-notebook . Calling it in a regular python script does not seem