{"action":"created","issue":{"url":"https://api.github.com/repos/balancap/SSD-Tensorflow/issues/184","repository_url":"https://api.github.com/repos/balancap/SSD-Tensorflow","labels_url":"https://api.github.com/repos/balancap/SSD-Tensorflow/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/balancap/SSD-Tensorflow/issues/184/comments","events_url":"https://api.github.com/repos/balancap/SSD-Tensorflow/issues/184/events","html_url":"https://github.com/balancap/SSD-Tensorflow/issues/184","id":286658166,"number":184,"title":"Problem with parameters restore when ebaluation and training","user":{"login":"lky318","id":31329857,"avatar_url":"https://avatars2.githubusercontent.com/u/31329857?v=4","gravatar_id":"","url":"https://api.github.com/users/lky318","html_url":"https://github.com/lky318","followers_url":"https://api.github.com/users/lky318/followers","following_url":"https://api.github.com/users/lky318/following{/other_user}","gists_url":"https://api.github.com/users/lky318/gists{/gist_id}","starred_url":"https://api.github.com/users/lky318/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lky318/subscriptions","organizations_url":"https://api.github.com/users/lky318/orgs","repos_url":"https://api.github.com/users/lky318/repos","events_url":"https://api.github.com/users/lky318/events{/privacy}","received_events_url":"https://api.github.com/users/lky318/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-08T06:29:11Z","updated_at":"2018-03-07T03:13:17Z","closed_at":null,"author_association":"NONE","body":"**Environment: Ubuntu16.04,py3.5,tensorflow-gpu，1080Ti,CUDA8.0\r\nWhen I run the eval_ssd_network by a .sh file, which  write like this:**\r\n\r\n#!/bin/bash\r\n# This is the eval script.\r\nDATASET_DIR=/home/lky318/data/VOCdevkit/VOC2007_test_tfrecord/\r\nEVAL_DIR=/home/lky318/Documents/SSD_Tensorflow_balabcap/results/log_files/log_eval/    # Directory where the results are saved to\r\nCHECKPOINT_PATH=/home/lky318/Documents/SSD_Tensorflow_balabcap/checkpoints/ssd_300_vgg.ckpt/ssd_300_vgg.ckpt\r\n#dataset_name\r\npython /home/lky318/Documents/SSD_Tensorflow_balabcap/eval_ssd_network.py \\\r\n    --eval_dir=${EVAL_DIR} \\\r\n    --dataset_dir=${DATASET_DIR} \\\r\n    --dataset_name=pascalvoc_2007 \\\r\n    --dataset_split_name=test \\\r\n    --model_name=ssd_300_vgg \\\r\n    --checkpoint_path=${CHECKPOINT_PATH} \\\r\n    --batch_size=1\r\n\r\n**Then I got some problem, the command windows stop at parameters restoring,just like this:**\r\n\r\nWARNING:tensorflow:From /home/lky318/Documents/SSD_Tensorflow_balabcap/eval_ssd_network.py:121: get_or_create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.\r\nInstructions for updating:\r\nPlease switch to tf.train.get_or_create_global_step\r\n\r\n# =========================================================================== #\r\n# Training | Evaluation flags:\r\n# =========================================================================== #\r\n{'batch_size': 1,\r\n 'checkpoint_path': '/home/lky318/Documents/SSD_Tensorflow_balabcap/checkpoints/ssd_300_vgg.ckpt/ssd_300_vgg.ckpt',\r\n 'dataset_dir': '/home/lky318/data/VOCdevkit/VOC2007_test_tfrecord/',\r\n 'dataset_name': 'pascalvoc_2007',\r\n 'dataset_split_name': 'test',\r\n 'eval_dir': '/home/lky318/Documents/SSD_Tensorflow_balabcap/results/log_files/log_eval/',\r\n 'eval_image_size': None,\r\n 'eval_resize': 4,\r\n 'gpu_memory_fraction': 0.1,\r\n 'keep_top_k': 200,\r\n 'master': '',\r\n 'matching_threshold': 0.5,\r\n 'max_num_batches': None,\r\n 'model_name': 'ssd_300_vgg',\r\n 'moving_average_decay': None,\r\n 'nms_threshold': 0.45,\r\n 'num_classes': 21,\r\n 'num_preprocessing_threads': 4,\r\n 'preprocessing_name': None,\r\n 'remove_difficult': True,\r\n 'select_threshold': 0.01,\r\n 'select_top_k': 400,\r\n 'wait_for_checkpoints': False}\r\n\r\n# =========================================================================== #\r\n# SSD net parameters:\r\n# =========================================================================== #\r\n{'anchor_offset': 0.5,\r\n 'anchor_ratios': [[2, 0.5],\r\n                   [2, 0.5, 3, 0.3333333333333333],\r\n                   [2, 0.5, 3, 0.3333333333333333],\r\n                   [2, 0.5, 3, 0.3333333333333333],\r\n                   [2, 0.5],\r\n                   [2, 0.5]],\r\n 'anchor_size_bounds': [0.15, 0.9],\r\n 'anchor_sizes': [(21.0, 45.0),\r\n                  (45.0, 99.0),\r\n                  (99.0, 153.0),\r\n                  (153.0, 207.0),\r\n                  (207.0, 261.0),\r\n                  (261.0, 315.0)],\r\n 'anchor_steps': [8, 16, 32, 64, 100, 300],\r\n 'feat_layers': ['block4', 'block7', 'block8', 'block9', 'block10', 'block11'],\r\n 'feat_shapes': [(38, 38), (19, 19), (10, 10), (5, 5), (3, 3), (1, 1)],\r\n 'img_shape': (300, 300),\r\n 'no_annotation_label': 21,\r\n 'normalizations': [20, -1, -1, -1, -1, -1],\r\n 'num_classes': 21,\r\n 'prior_scaling': [0.1, 0.1, 0.2, 0.2]}\r\n\r\n# =========================================================================== #\r\n# Training | Evaluation dataset files:\r\n# =========================================================================== #\r\n['/home/lky318/data/VOCdevkit/VOC2007_test_tfrecord/voc_2007_test_000.tfrecord']\r\n\r\nINFO:tensorflow:Evaluating /home/lky318/Documents/SSD_Tensorflow_balabcap/checkpoints/ssd_300_vgg.ckpt/ssd_300_vgg.ckpt\r\nINFO:tensorflow:Starting evaluation at 2018-01-08-03:42:24\r\n2018-01-08 11:42:24.425935: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA\r\n2018-01-08 11:42:24.527501: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\r\n2018-01-08 11:42:24.527809: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: \r\nname: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582\r\npciBusID: 0000:01:00.0\r\ntotalMemory: 10.91GiB freeMemory: 10.49GiB\r\n2018-01-08 11:42:24.527821: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)\r\nINFO:tensorflow:Restoring parameters from /home/lky318/Documents/SSD_Tensorflow_balabcap/checkpoints/ssd_300_vgg.ckpt/ssd_300_vgg.ckpt\r\n\r\n  "},"comment":{"url":"https://api.github.com/repos/balancap/SSD-Tensorflow/issues/comments/371008415","html_url":"https://github.com/balancap/SSD-Tensorflow/issues/184#issuecomment-371008415","issue_url":"https://api.github.com/repos/balancap/SSD-Tensorflow/issues/184","id":371008415,"user":{"login":"jinglinyuan","id":34929384,"avatar_url":"https://avatars1.githubusercontent.com/u/34929384?v=4","gravatar_id":"","url":"https://api.github.com/users/jinglinyuan","html_url":"https://github.com/jinglinyuan","followers_url":"https://api.github.com/users/jinglinyuan/followers","following_url":"https://api.github.com/users/jinglinyuan/following{/other_user}","gists_url":"https://api.github.com/users/jinglinyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/jinglinyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinglinyuan/subscriptions","organizations_url":"https://api.github.com/users/jinglinyuan/orgs","repos_url":"https://api.github.com/users/jinglinyuan/repos","events_url":"https://api.github.com/users/jinglinyuan/events{/privacy}","received_events_url":"https://api.github.com/users/jinglinyuan/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T03:13:17Z","updated_at":"2018-03-07T03:13:17Z","author_association":"NONE","body":"i have the same problem, did you solved it?"}}
{"actor":{"display_login":"jinglinyuan"}}