Skip to content

An Error in the code #14

@mehran14

Description

@mehran14

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
agent = PPOAgent(
^^^^^^^^^
FinRock-0.5.0.conda\Lib\site-packages\rockrl\tensorflow\PPO\ppo.py", line 113, in init
self.learning_rate = float(self.optimizer.lr.numpy())
^^^^^^^^^^^^^^^^^
AttributeError: 'Adam' object has no attribute 'lr'

How can I fix this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions