I can't properly set the bob.learn.activation.Activation in linear Machines
Hey guys,
Another python binding issue.
So I have extended bob.learn.activation.Activation
on the python side like this:
from ._library import Logistic as _Logistic_C
class Logistic(_Logistic_C):
def my_cool_python_method(self):
pass
I can't properly set the following object act = Logistic()
in bob.learn.linear.Machine.activation
.
For instance, if I do
activation = Logistic() # This the python extended version
activation.my_cool_python_method # this method exists
machine = bob.learn.linear.Machine()
machine.activation = activation
machine.activation.my_cool_python_method # This method does not exists
How can I solve this?
Thanks
ping @andre.anjos