Closed Kolya142 closed 1 year ago
What were the values you inputted for x
, y
and dis
?
position x, posion y, distance
I believe net.active
is supposed to take in a list of values. So instead of net.active(x, y, dis)
, it should be net.active([x, y, dis])
.
The function is called activate
, not active
. self.active
is an integer variable. That's why the error message says "int is not callable".
nnout = net.active(x,y, dis)
TypeError: 'int' object is not callable