AI4Finance-Foundation / FinRL-Meta

FinRL­-Meta: Dynamic datasets and market environments for FinRL.
https://ai4finance.org
MIT License
1.18k stars 555 forks source link

in tutorials/2-advance/FinRL_PortfolioAllocation_Explainable_DRL.py about calculate_gradient() #251

Open blingblingxixi opened 1 year ago

blingblingxixi commented 1 year ago

I think you should use forward_input = copy.deepcopy(interpolated_input) to replace the original forward_input = interpolated_input

MM340 commented 9 months ago

@blingblingxixi Can you explain why?