{"action":"created","issue":{"url":"https://api.github.com/repos/hwalsuklee/tensorflow-mnist-cnn/issues/8","repository_url":"https://api.github.com/repos/hwalsuklee/tensorflow-mnist-cnn","labels_url":"https://api.github.com/repos/hwalsuklee/tensorflow-mnist-cnn/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/hwalsuklee/tensorflow-mnist-cnn/issues/8/comments","events_url":"https://api.github.com/repos/hwalsuklee/tensorflow-mnist-cnn/issues/8/events","html_url":"https://github.com/hwalsuklee/tensorflow-mnist-cnn/issues/8","id":366756362,"node_id":"MDU6SXNzdWUzNjY3NTYzNjI=","number":8,"title":"No model.ckpt was saved under dierctory model/","user":{"login":"bababadboy","id":28383634,"node_id":"MDQ6VXNlcjI4MzgzNjM0","avatar_url":"https://avatars2.githubusercontent.com/u/28383634?v=4","gravatar_id":"","url":"https://api.github.com/users/bababadboy","html_url":"https://github.com/bababadboy","followers_url":"https://api.github.com/users/bababadboy/followers","following_url":"https://api.github.com/users/bababadboy/following{/other_user}","gists_url":"https://api.github.com/users/bababadboy/gists{/gist_id}","starred_url":"https://api.github.com/users/bababadboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bababadboy/subscriptions","organizations_url":"https://api.github.com/users/bababadboy/orgs","repos_url":"https://api.github.com/users/bababadboy/repos","events_url":"https://api.github.com/users/bababadboy/events{/privacy}","received_events_url":"https://api.github.com/users/bababadboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T12:02:20Z","updated_at":"2018-12-01T10:42:17Z","closed_at":null,"author_association":"NONE","body":"I ran `python mnist_cnn_train.py` in terminal and the terminal returned\r\n```\r\nOptimization` Finished!\r\ntest accuracy for the stored model: 0.9932\r\n```\r\nTraining logs are saved in \"logs/train\" , however, there is no trained model saved as \"model/model01_99.61/model.ckpt\" or in other directories. When I run `python mnist_cnn_test.py --model-dir model/model01_99.61 --batch-size 5000 --use-ensemble False` and it returns an error message:\r\n```bash\r\nNotFoundError (see above for traceback): Key fc3/BatchNorm/beta not found in checkpoint\r\n\t [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device=\"/job:localhost/replica:0/task:0/device:CPU:0\"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]\r\n```\r\nWhere is the problem?"},"comment":{"url":"https://api.github.com/repos/hwalsuklee/tensorflow-mnist-cnn/issues/comments/443416964","html_url":"https://github.com/hwalsuklee/tensorflow-mnist-cnn/issues/8#issuecomment-443416964","issue_url":"https://api.github.com/repos/hwalsuklee/tensorflow-mnist-cnn/issues/8","id":443416964,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzQxNjk2NA==","user":{"login":"yangyangu","id":31436404,"node_id":"MDQ6VXNlcjMxNDM2NDA0","avatar_url":"https://avatars3.githubusercontent.com/u/31436404?v=4","gravatar_id":"","url":"https://api.github.com/users/yangyangu","html_url":"https://github.com/yangyangu","followers_url":"https://api.github.com/users/yangyangu/followers","following_url":"https://api.github.com/users/yangyangu/following{/other_user}","gists_url":"https://api.github.com/users/yangyangu/gists{/gist_id}","starred_url":"https://api.github.com/users/yangyangu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangyangu/subscriptions","organizations_url":"https://api.github.com/users/yangyangu/orgs","repos_url":"https://api.github.com/users/yangyangu/repos","events_url":"https://api.github.com/users/yangyangu/events{/privacy}","received_events_url":"https://api.github.com/users/yangyangu/received_events","type":"User","site_admin":false},"created_at":"2018-12-01T10:42:17Z","updated_at":"2018-12-01T10:42:17Z","author_association":"NONE","body":"If you use Windows, you should run \"python mnist_cnn_test.py --model-dir /model/model01_99.61 --batch-size 5000 --use-ensemble False\"\r\nAll you have to do is add a '/' before \"model\"\r\nThen your code can run."}}
{"actor":{"display_login":"yangyangu"}}