hughperkins / pytorch

Python wrappers for torch and lua
BSD 2-Clause "Simplified" License
431 stars 70 forks source link

Can not import PyTorch together with pytorch #42

Open chequochuu opened 6 years ago

chequochuu commented 6 years ago

I have my code in python which is using pytorch library. Now I want to import another network from lua. When I load model it show an error: "Found Environment variable CUDNN_PATH = /usr/local/cuda/lib64/libcudnn.so.5 stack smashing detected : python3 terminated". However if I delete import torch line, it can work normally. Anyone can help me?