{"action":"created","issue":{"url":"https://api.github.com/repos/devsisters/DQN-tensorflow/issues/46","repository_url":"https://api.github.com/repos/devsisters/DQN-tensorflow","labels_url":"https://api.github.com/repos/devsisters/DQN-tensorflow/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/devsisters/DQN-tensorflow/issues/46/comments","events_url":"https://api.github.com/repos/devsisters/DQN-tensorflow/issues/46/events","html_url":"https://github.com/devsisters/DQN-tensorflow/issues/46","id":286937817,"number":46,"title":"Trouble loading checkpoints","user":{"login":"xoffey","id":22627691,"avatar_url":"https://avatars0.githubusercontent.com/u/22627691?v=4","gravatar_id":"","url":"https://api.github.com/users/xoffey","html_url":"https://github.com/xoffey","followers_url":"https://api.github.com/users/xoffey/followers","following_url":"https://api.github.com/users/xoffey/following{/other_user}","gists_url":"https://api.github.com/users/xoffey/gists{/gist_id}","starred_url":"https://api.github.com/users/xoffey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xoffey/subscriptions","organizations_url":"https://api.github.com/users/xoffey/orgs","repos_url":"https://api.github.com/users/xoffey/repos","events_url":"https://api.github.com/users/xoffey/events{/privacy}","received_events_url":"https://api.github.com/users/xoffey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-09T00:59:34Z","updated_at":"2018-02-27T10:44:46Z","closed_at":null,"author_association":"NONE","body":"I need to be able to resume training breakout-v0 after stopping it. I would also like to be able to move a checkpoint dir to another machine and resume training there.\r\n\r\nWhen I train on my laptop, using ubuntu 14.04, I am able to resume after stopping. But on the faster machine I really want to use, I can not resume after stopping. That machine uses ubuntu 16.04, FWIW.\r\n\r\nBoth machines use tensorflow 1.3.0. The working laptop uses python 3.6 and the non-working machine uses python 3.5.2. OpenAI gym is version 0.9.4 on both machines, as installed by pip. Neither machine uses GPU, and both use NHWC.\r\n\r\nOn both machines, I have cloned from the devsisters/DQN-tensorflow repository and manually fixed the bugs that prevent it from working with python 3.x.\r\n\r\n`~/DQN-tensorflow$ python main.py --env_name=Breakout-v0 --is_train=True --display=False\r\n\r\n [*] GPU : 1.0000\r\n{'_save_step': 500000,\r\n '_test_step': 50000,\r\n 'action_repeat': 4,\r\n 'backend': 'tf',\r\n 'batch_size': 32,\r\n 'cnn_format': 'NHWC',\r\n 'discount': 0.99,\r\n 'display': False,\r\n 'double_q': False,\r\n 'dueling': False,\r\n 'env_name': 'Breakout-v0',\r\n 'env_type': 'detail',\r\n 'ep_end': 0.1,\r\n 'ep_end_t': 1000000,\r\n 'ep_start': 1.0,\r\n 'history_length': 4,\r\n 'learn_start': 50000.0,\r\n 'learning_rate': 0.00025,\r\n 'learning_rate_decay': 0.96,\r\n 'learning_rate_decay_step': 50000,\r\n 'learning_rate_minimum': 0.00025,\r\n 'max_delta': 1,\r\n 'max_reward': 1.0,\r\n 'max_step': 50000000,\r\n 'memory_size': 1000000,\r\n 'min_delta': -1,\r\n 'min_reward': -1.0,\r\n 'model': 'm1',\r\n 'random_start': 30,\r\n 'scale': 10000,\r\n 'screen_height': 84,\r\n 'screen_width': 84,\r\n 'target_q_update_step': 10000,\r\n 'train_frequency': 4}\r\nWARNING:tensorflow:From /home/mjc/DQN-tensorflow/dqn/agent.py:224: calling argmax (from tensorflow.python.ops.math_ops) with dimension is deprecated and will be removed in a future version.\r\nInstructions for updating:\r\nUse the `axis` argument instead\r\nWARNING:tensorflow:From /opt/anaconda/miniconda3/envs/tfbuild/lib/python3.5/site-packages/tensorflow/python/util/tf_should_use.py:107: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.\r\nInstructions for updating:\r\nUse `tf.global_variables_initializer` instead.\r\n\r\n [*] Loading checkpoints...\r\n [!] Load FAILED: checkpoints/Breakout-v0/backend-tf/ep_end-0.1/model-m1/screen_width-84/env_type-detail/learning_rate-0.00025/learning_rate_minimum-0.00025/memory_size-1000000/env_name-Breakout-v0/dueling-False/learning_rate_decay-0.96/batch_size-32/min_delta--1/max_reward-1.0/learn_start-50000.0/double_q-False/max_delta-1/scale-10000/random_start-30/cnn_format-NHWC/discount-0.99/min_reward--1.0/action_repeat-4/learning_rate_decay_step-50000/ep_start-1.0/history_length-4/target_q_update_step-10000/ep_end_t-1000000/train_frequency-4/max_step-50000000/screen_height-84/\r\n`\r\n\r\nHow can this problem be fixed?\r\n  \r\n  "},"comment":{"url":"https://api.github.com/repos/devsisters/DQN-tensorflow/issues/comments/368827776","html_url":"https://github.com/devsisters/DQN-tensorflow/issues/46#issuecomment-368827776","issue_url":"https://api.github.com/repos/devsisters/DQN-tensorflow/issues/46","id":368827776,"user":{"login":"Martellacci","id":10613944,"avatar_url":"https://avatars1.githubusercontent.com/u/10613944?v=4","gravatar_id":"","url":"https://api.github.com/users/Martellacci","html_url":"https://github.com/Martellacci","followers_url":"https://api.github.com/users/Martellacci/followers","following_url":"https://api.github.com/users/Martellacci/following{/other_user}","gists_url":"https://api.github.com/users/Martellacci/gists{/gist_id}","starred_url":"https://api.github.com/users/Martellacci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martellacci/subscriptions","organizations_url":"https://api.github.com/users/Martellacci/orgs","repos_url":"https://api.github.com/users/Martellacci/repos","events_url":"https://api.github.com/users/Martellacci/events{/privacy}","received_events_url":"https://api.github.com/users/Martellacci/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T10:44:46Z","updated_at":"2018-02-27T10:44:46Z","author_association":"NONE","body":"I've the same problema"}}
{"actor":{"display_login":"Martellacci"}}