FinRock
FinRock copied to clipboard
An Error in the code
When I try to use the code to train the model, I faced the following problem:
FinRock-0.5.0\training_ppo_sinusoid_discrete.py", line 79, in
How can I fix this problem?
You need to change :
self.learning_rate = float(self.optimizer.lr.numpy())
by
self.learning_rate = float(self.optimizer.learning_rate.numpy())
It works for me, but I think there are more compatibility issues.