GP_DRF icon indicating copy to clipboard operation
GP_DRF copied to clipboard

missing function ut.determinent when executing GP_example.py

Open MarcCoru opened this issue 5 years ago • 0 comments

Hi, thanks for the code. I wanted to try it out. However, there seems to be a missing determinant function in the utilils.py script

steps to reproduce:

conda create -n gp-drf python=2.7 pip
conda activate gp-drf
pip install torch==0.4
python GP_example.py
Traceback (most recent call last):
  File "GP_example.py", line 25, in <module>
    gp.fit(X, y, verbose=1, lr=1e-4, epochs=100)
  File "/home/marc/projects/GP_DRF/models/GP.py", line 30, in fit
    loss = self.compute_objective(X, y)
  File "/home/marc/projects/GP_DRF/models/GP.py", line 60, in compute_objective
    A = - 0.5 * ut.determinent(Knn)
AttributeError: 'module' object has no attribute 'determinent'

MarcCoru avatar Nov 12 '19 19:11 MarcCoru