You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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'
The text was updated successfully, but these errors were encountered: