Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trained model (checkpoint file) not found? #30

Open
orangeYao opened this issue Oct 15, 2017 · 1 comment
Open

Trained model (checkpoint file) not found? #30

orangeYao opened this issue Oct 15, 2017 · 1 comment

Comments

@orangeYao
Copy link

orangeYao commented Oct 15, 2017

No matter I am doing training or testing, there is a warning like
[!] Load FAILED: checkpoints/Breakout-v0/env_name=Breakout-v0/agent_type=DQN/batch_size=32/beta=0.01/data_format=NHWC/decay=0.99/discount_r=0.99/double_q=False/ep_end=0.01/ep_start=1.0/gamma=0.99/history_length=4/learning_rate=0.00025/learning_rate_decay=0.96/learning_rate_decay_step=50000/learning_rate_minimum=0.00025/max_delta=None/max_grad_norm=None/max_r=1/min_delta=None/min_r=-1/momentum=0.0/n_action_repeat=1/network_header_type=nips/network_output_type=normal/observation_dims=80,80/random_start=True/t_ep_end=1000000/t_learn_start=50000/t_target_q_update_freq=10000/t_test=10000/t_train_freq=4/t_train_max=500000/use_cumulated_reward=False/

Actually there is indeed an output file generated in the path of above warning under a new folder named 'logs'. But that is a weird file named 'events.out.tfevents.1508026080.vpn-campus-152-3-71-166.ssl.vpn.school_name.edu'. It does not look like the checkpoint, but a file about network.

Thus I am wondering how the check point file stored after training and how to load them when testing? Any suggestion will be greatly appreciated, thanks !

@orangeYao
Copy link
Author

orangeYao commented Oct 15, 2017

OK, I guess I know what happened. The saving condition has not been meet, which requires avg_ep_r>0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant