alshedivat / alshedivat/keras-gp

missing startup.m in the gpml in the backend?

Ouverte
#24 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
250
Forks
55
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I tried running something that is basically the example in https://github.com/alshedivat/keras-gp/blob/master/examples/msgp_sm_kernel_mlp_kin40k.py

I believe the problematic line is https://github.com/alshedivat/keras-gp/blob/master/examples/msgp_sm_kernel_mlp_kin40k.py#L62
oct2py kept complaining about the startup function which I assume should be imported from startup.m I wonder if therre should have been a startup.m file in the repository?

Is this problem cause by something else? Thanks.

run()
File "DKLKeras-SM.py", line 123, in run
nb_train_samples=len(X_train))
File "DKLKeras-SM.py", line 198, in assemble_mlp
nb_train_samples=nb_train_samples)
File "/Users/yvonne/Envs/DKLKeras3.6/lib/python3.6/site-packages/kgp-0.3.2-py3.6.egg/kgp/layers.py", line 63, in __init__
self.backend = GP_BACKEND(engine, engine_kwargs, gpml_path)
File "/Users/yvonne/Envs/DKLKeras3.6/lib/python3.6/site-packages/kgp-0.3.2-py3.6.egg/kgp/backend/gpml.py", line 69, in __init__
self.eng.eval('startup', verbose=0)
File "/Users/yvonne/Envs/DKLKeras3.6/lib/python3.6/site-packages/kgp-0.3.2-py3.6.egg/kgp/backend/engines.py", line 99, in eval
self._eng.eval(expr, verbose=verbose)
File "/Users/yvonne/Envs/DKLKeras3.6/lib/python3.6/site-packages/oct2py/core.py", line 304, in eval
out_file=self._reader.out_file)
File "/Users/yvonne/Envs/DKLKeras3.6/lib/python3.6/site-packages/oct2py/core.py", line 625, in evaluate
raise Oct2PyError(msg)
oct2py.utils.Oct2PyError: Oct2Py tried to run:

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.