Skip to content

How to load a saved model #7

@MohmmadaliKargar

Description

@MohmmadaliKargar

Hi. I have difficulties in how to load a saved model. Let's say I have trained my DQN and have saved 5000 models. How can I load the last model in another python file?

I commented out the loadmodel function inside the DDPG_prius and copied and pasted something similar for the DQN, but when I run it, it gives me the results for the untrained model.

ps. This could sound easy but since coming of Tensorflow2, this is very hard to find tutorials for Tensorflow 1.

Thanks

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