Open wangyuhuix opened 4 years ago
it will be called inside lets_init_weights in RND_predictor_Model class
def lets_init_weights(self):
self.state_predict_layer.apply(self.init_state_predict_weights)
Thanks for your reply.
But when will lets_init_weights()
be called?
I have run the ppo_rnd_taxi_final_blow_pytorch.py
, but it seems that lets_init_weights ()
is never called during the running process.
i have comment the code to init weights. just uncomment the code on line 551
if load_weights:
agent.load_weights()
print('Weight Loaded')
'''else :
agent.lets_init_weights()
print('Init Weight')'''
I notice that you have write the initialization code for RND_predictor_Model. But I failed to find where and when it has been called.