lcosmo / DGM_pytorch

49 stars 16 forks source link

Problem in generating the keops formula #2

Closed Ro-Ol closed 2 years ago

Ro-Ol commented 2 years ago

Hi, big fan of your work, but I ran into the following error while running train.py FileNotFoundError: [Errno 2] No such file or directory: '/home//.cache/pykeops-1.4.2-cpython-38-gpu0//build-d9fa1333b1/KeOps_formula.o'

I tried to run keops/pykeops/config.py, but without success. Could you please shed some light in how to generate that executable? Thank you in advance

emirceyani commented 1 year ago

Deleted the line sys.path.insert(0,'./keops') in train.py and installed pykeops via pip and worked for me

Ro-Ol commented 1 year ago

Hi, thank your answer. This definitely solves the problem, but the author states in the code that the library has been modified to add gumbel noise to the probability function. On the other hand, I did not find any trace of this modification. Have you had any luck with that.

Thank you in advance.

emirceyani commented 1 year ago

I have not checked the keops modifications. If it cannot find keops, code uses the DGM module in layers_dense.py

ZeinabRahbar commented 1 year ago

Hi Can you help me running this code as you ran it before? I am running it on colab and conflicts in version of libraries are holding me back from getting results do you know how to solve this issue?