kfkd-tutorial
kfkd-tutorial copied to clipboard
getattr( ... ).set_value() to be replaced by setattr( ... )
Hi.
Thank you so much for this epic tutorial. I tried the tutorial and I came across the error
AttributeError: 'float' object has no attribute 'set_value'
for this part of code: getattr(nn, self.name).set_value(new_value) in the AjustVariable class
I could fix it using: setattr(nn, self.name, new_value)
Please review
Thanks, Vinayak