afruehstueck / tileGAN

Code for TileGAN: Synthesis of Large-Scale Non-Homogeneous Textures (SIGGRAPH 2019)
GNU General Public License v3.0
222 stars 19 forks source link

No such file or directory error encountered #12

Closed navuboy closed 2 years ago

navuboy commented 2 years ago

Hi i tried to setup yor environment on my local pc and encountering the following error, what should be the issue?

Screenshot from 2022-10-18 16-14-14

afruehstueck commented 2 years ago

Your error looks like you have trouble with cuda (hence the Could not load dynamic library 'libcudart.so.11.0' [...] error). I would suggest you review your dependency imports!

navuboy commented 2 years ago

The issue was with my cuda toolkit installation, sorted now. But I am encountering another import error issue:, how to resolve this? Screenshot from 2022-10-20 09-37-43

afruehstueck commented 2 years ago

Did you follow the instructions to install hnswlib?

git clone https://github.com/nmslib/hnswlib.git
cd hnswlib/python_bindings
python setup.py install

I'm pretty sure your hnswlib was not compiled correctly in the last step.

navuboy commented 2 years ago

Yes I installed the hnswlib again after sorting the dependencies issue, still encountering the import error :( BTW, should i clone the hnswlib repo within the tileGAN repo? or is there any specific version for it?

navuboy commented 2 years ago

issue resolved, thanks