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
Hi,
I tried to implement the Neural Network shown in the Tutorial as example. I have a couple of questions regarding the code:
Question 1
data.ctrl=np.clip(outputs, -np.pi/2, np.pi/2)
Shouldn't the hinge positions change accumatively? So this, from what I see, reinitializes the hinge positions everytime. This causes my robot to always have very central but positive hinge positions for every hinge (around 0.5 because of the sigmoid and random sampling from the normal distribution?). This can be seen below:
As far as I know, the sigmoid should only return positive values from [0, 1]. But the allowable range of hinge values is [-pi/2, pi/2]. Shouldn't we rescale the output to be centered around 0?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I tried to implement the Neural Network shown in the Tutorial as example. I have a couple of questions regarding the code:
Question 1
Shouldn't the hinge positions change accumatively? So this, from what I see, reinitializes the hinge positions everytime. This causes my robot to always have very central but positive hinge positions for every hinge (around 0.5 because of the sigmoid and random sampling from the normal distribution?). This can be seen below:
Question 2
As far as I know, the sigmoid should only return positive values from [0, 1]. But the allowable range of hinge values is [-pi/2, pi/2]. Shouldn't we rescale the output to be centered around 0?
Beta Was this translation helpful? Give feedback.
All reactions