Open wakanawakana opened 7 years ago
Add Info
python Another way
import os os.system("th run_module.lua")
not work There is something that can not coexist
I understood one problem lua environment package.cpath, package.path
Adding the th.bat parameter to torch - activate.cmd will solve the problem that the module can not be found
Add Info
python Another way
subprocess.call("C:\Users\wakana\mLearn\Torch7\distro-win\install\torch-activate.cmd & th run_module.lua", shell=True)
success
Hello Contributors (^^)/
I build Windows7 64bit With Cuda8, VS2015Com and CUDNN5(problem modifyd[DOS Prompt not equal ANSI Color Console & CUDNN problem #188]) Using the image module from the Torch/Lua console was okay But, I want use from python (I try pip install lutorpy but not work)
My Python environment was Anaconda2 with many modules I will put on the code I am trying
python code(calllua.py)
run_modul.lua
Call from python logs
png image test fail and shutdown python
Maybe Windows Environment problem? but i have no ideas