Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing informaiton about the versions of dependencies #3

Open
ymohit opened this issue Sep 26, 2019 · 2 comments
Open

missing informaiton about the versions of dependencies #3

ymohit opened this issue Sep 26, 2019 · 2 comments

Comments

@ymohit
Copy link

ymohit commented Sep 26, 2019

Hello Everyone,

Thanks for sharing this awesome code repo. I am trying to use it and getting many errors (one mentioned below) possibly because I don't have the correct setup. Considering the rapid and dynamic upgrade in tensorflow and gpflow, it will be good to mention the versions with which this repo has been build upon or work with.

For example, the following error does not make sense at all as I can see that build_likelihood_terms exists here. But it might be because of the setup or something really basic. It doesn't definitely look like an issue with the actual code.

Thanks

Error print for one case:
~/skigp/libs/GPflow/gpflow/decors.py in tensor_mode_wrapper(obj, *args, **kwargs)
65 prev_value = _params_as_tensors_enter(obj, True)
66 try:
---> 67 result = method(obj, *args, **kwargs)
68 finally:
69 _params_as_tensors_exit(obj, prev_value)

~/skigp/libs/VFF/VFF/gpr.py in _build_likelihood(self)
282 @gpflow.params_as_tensors
283 def _build_likelihood(self):
--> 284 return reduce(tf.add, self.build_likelihood_terms())
285
286 @gpflow.params_as_tensors

~/skigp/libs/GPflow/gpflow/params/parameterized.py in getattribute(self, name)
335
336 def getattribute(self, name):
--> 337 attr = misc.get_attribute(self, name)
338 if isinstance(attr, Parameter) and TensorConverter.tensor_mode(self):
339 return Parameterized._tensor_mode_parameter(attr)

~/skigp/libs/GPflow/gpflow/misc.py in get_attribute(obj, name, allow_fail, default)
169 if allow_fail:
170 return default
--> 171 raise error
172
173

~/skigp/libs/GPflow/gpflow/misc.py in get_attribute(obj, name, allow_fail, default)
165 def get_attribute(obj, name, allow_fail=False, default=None):
166 try:
--> 167 return object.getattribute(obj, name)
168 except AttributeError as error:
169 if allow_fail:

AttributeError: 'GPRKron' object has no attribute 'build_likelihood_terms'

@tomaszmf
Copy link

tomaszmf commented Nov 5, 2019

Same issue. I can't make it run - what version of GPflow should I use with what version of TF? Thanks

@ymohit
Copy link
Author

ymohit commented Nov 7, 2019

@tomaszmf Let me know if you have any luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants