kshitij-ingale / kuka_robotic_arm_RL

4 stars 2 forks source link

train_on_batch() missing 2 required positional arguments: 'actor_res' and 'demo_actor_res' #3

Open ChenyangRan opened 4 years ago

ChenyangRan commented 4 years ago

Hi, I have turn the q_valuse into numpy array,

       #change by me 
       q_value=np.array(q_value)
        # Compute critic target
       q_value = np.reshape(q_value, (1, -1)) # (1, )--->(1, -1)

But it brings other problem.

_TypeError: train_on_batch() missing 2 required positional arguments: 'actor_res' and 'demo_actorres' image

May I have your help?