[Question] How to customize the loss calculation for PPO #2028
Labels
check the checklist
You have checked the required items in the checklist but you didn't do what is written...
more information needed
Please fill the issue template completely
question
Further information is requested
❓ Question
Hi,
For a research purpose, I need to modify the loss calculation for PPO in order to take into account another parameter ... I have modified the PPO.py file as follow : loss = (policy_loss + self.ent_coef * entropy_loss + self.vf_coef * value_loss + gen_loss), gen_loss being my new parameter ... but this has absolutely no impact on the training ... not sure, but am I making something wrong there ? thanks a lot in adance.
Checklist
The text was updated successfully, but these errors were encountered: