{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/4694","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/4694/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/4694/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/4694/events","html_url":"https://github.com/tensorflow/models/issues/4694","id":338257815,"node_id":"MDU6SXNzdWUzMzgyNTc4MTU=","number":4694,"title":"No variables to save Error when set the mobilenet-ssd depth_multiplier value<1","user":{"login":"xiadeye","id":7114507,"node_id":"MDQ6VXNlcjcxMTQ1MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/7114507?v=4","gravatar_id":"","url":"https://api.github.com/users/xiadeye","html_url":"https://github.com/xiadeye","followers_url":"https://api.github.com/users/xiadeye/followers","following_url":"https://api.github.com/users/xiadeye/following{/other_user}","gists_url":"https://api.github.com/users/xiadeye/gists{/gist_id}","starred_url":"https://api.github.com/users/xiadeye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiadeye/subscriptions","organizations_url":"https://api.github.com/users/xiadeye/orgs","repos_url":"https://api.github.com/users/xiadeye/repos","events_url":"https://api.github.com/users/xiadeye/events{/privacy}","received_events_url":"https://api.github.com/users/xiadeye/received_events","type":"User","site_admin":false},"labels":[{"id":387356495,"node_id":"MDU6TGFiZWwzODczNTY0OTU=","url":"https://api.github.com/repos/tensorflow/models/labels/stat:awaiting%20response","name":"stat:awaiting response","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"pkulzc","id":35853368,"node_id":"MDQ6VXNlcjM1ODUzMzY4","avatar_url":"https://avatars3.githubusercontent.com/u/35853368?v=4","gravatar_id":"","url":"https://api.github.com/users/pkulzc","html_url":"https://github.com/pkulzc","followers_url":"https://api.github.com/users/pkulzc/followers","following_url":"https://api.github.com/users/pkulzc/following{/other_user}","gists_url":"https://api.github.com/users/pkulzc/gists{/gist_id}","starred_url":"https://api.github.com/users/pkulzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkulzc/subscriptions","organizations_url":"https://api.github.com/users/pkulzc/orgs","repos_url":"https://api.github.com/users/pkulzc/repos","events_url":"https://api.github.com/users/pkulzc/events{/privacy}","received_events_url":"https://api.github.com/users/pkulzc/received_events","type":"User","site_admin":false},"assignees":[{"login":"pkulzc","id":35853368,"node_id":"MDQ6VXNlcjM1ODUzMzY4","avatar_url":"https://avatars3.githubusercontent.com/u/35853368?v=4","gravatar_id":"","url":"https://api.github.com/users/pkulzc","html_url":"https://github.com/pkulzc","followers_url":"https://api.github.com/users/pkulzc/followers","following_url":"https://api.github.com/users/pkulzc/following{/other_user}","gists_url":"https://api.github.com/users/pkulzc/gists{/gist_id}","starred_url":"https://api.github.com/users/pkulzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkulzc/subscriptions","organizations_url":"https://api.github.com/users/pkulzc/orgs","repos_url":"https://api.github.com/users/pkulzc/repos","events_url":"https://api.github.com/users/pkulzc/events{/privacy}","received_events_url":"https://api.github.com/users/pkulzc/received_events","type":"User","site_admin":false},{"login":"yhliang2018","id":36285763,"node_id":"MDQ6VXNlcjM2Mjg1NzYz","avatar_url":"https://avatars1.githubusercontent.com/u/36285763?v=4","gravatar_id":"","url":"https://api.github.com/users/yhliang2018","html_url":"https://github.com/yhliang2018","followers_url":"https://api.github.com/users/yhliang2018/followers","following_url":"https://api.github.com/users/yhliang2018/following{/other_user}","gists_url":"https://api.github.com/users/yhliang2018/gists{/gist_id}","starred_url":"https://api.github.com/users/yhliang2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhliang2018/subscriptions","organizations_url":"https://api.github.com/users/yhliang2018/orgs","repos_url":"https://api.github.com/users/yhliang2018/repos","events_url":"https://api.github.com/users/yhliang2018/events{/privacy}","received_events_url":"https://api.github.com/users/yhliang2018/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-04T12:32:22Z","updated_at":"2018-07-19T21:35:00Z","closed_at":null,"author_association":"NONE","body":"I used the ssd_mobilenet_v1_pets.config and ssd_mobilenet_v1_coco_2017_11_17 pretrained model.I want to adjust the depth_multiplier value in config file,so I set it to 0.5(default is 1),but it raised a error:\r\n\r\nValueError: No variables to save\r\n\r\nbtw,depth_multiplier=1.0 is normal.\r\n\r\nI also asked in stackoverflow:https://stackoverflow.com/questions/51173225/no-variables-to-save-error-when-set-the-mobilenet-ssd-depth-multiplier-value1\r\nthis is my config file:\r\n\r\nmodel {\r\n  ssd {\r\n    num_classes: 5\r\n    box_coder {\r\n      faster_rcnn_box_coder {\r\n        y_scale: 10.0\r\n        x_scale: 10.0\r\n        height_scale: 5.0\r\n        width_scale: 5.0\r\n      }\r\n    }\r\n    matcher {\r\n      argmax_matcher {\r\n        matched_threshold: 0.5\r\n        unmatched_threshold: 0.5\r\n        ignore_thresholds: false\r\n        negatives_lower_than_unmatched: true\r\n        force_match_for_each_row: true\r\n      }\r\n    }\r\n    similarity_calculator {\r\n      iou_similarity {\r\n      }\r\n    }\r\n    anchor_generator {\r\n      ssd_anchor_generator {\r\n        num_layers: 6\r\n        min_scale: 0.2\r\n        max_scale: 0.95\r\n        aspect_ratios: 1.0\r\n        aspect_ratios: 2.0\r\n        aspect_ratios: 0.5\r\n        aspect_ratios: 3.0\r\n        aspect_ratios: 0.3333\r\n      }\r\n    }\r\n    image_resizer {\r\n      fixed_shape_resizer {\r\n        height: 540\r\n        width: 360\r\n      }\r\n    }\r\n    box_predictor {\r\n      convolutional_box_predictor {\r\n        min_depth: 0\r\n        max_depth: 0\r\n        num_layers_before_predictor: 0\r\n        use_dropout: false\r\n        dropout_keep_probability: 0.8\r\n        kernel_size: 1\r\n        box_code_size: 4\r\n        apply_sigmoid_to_scores: false\r\n        conv_hyperparams {\r\n          activation: RELU_6,\r\n          regularizer {\r\n            l2_regularizer {\r\n              weight: 0.00004\r\n            }\r\n          }\r\n          initializer {\r\n            truncated_normal_initializer {\r\n              stddev: 0.03\r\n              mean: 0.0\r\n            }\r\n          }\r\n          batch_norm {\r\n            train: true,\r\n            scale: true,\r\n            center: true,\r\n            decay: 0.9997,\r\n            epsilon: 0.001,\r\n          }\r\n        }\r\n      }\r\n    }\r\n    feature_extractor {\r\n      type: 'ssd_mobilenet_v1'\r\n      min_depth: 16\r\n      depth_multiplier: 0.5\r\n      conv_hyperparams {\r\n        activation: RELU_6,\r\n        regularizer {\r\n          l2_regularizer {\r\n            weight: 0.00004\r\n          }\r\n        }\r\n        initializer {\r\n          truncated_normal_initializer {\r\n            stddev: 0.03\r\n            mean: 0.0\r\n          }\r\n        }\r\n        batch_norm {\r\n          train: true,\r\n          scale: true,\r\n          center: true,\r\n          decay: 0.9997,\r\n          epsilon: 0.001,\r\n        }\r\n      }\r\n    }\r\n    loss {\r\n      classification_loss {\r\n        weighted_sigmoid {\r\n        }\r\n      }\r\n      localization_loss {\r\n        weighted_smooth_l1 {\r\n        }\r\n      }\r\n      hard_example_miner {\r\n        num_hard_examples: 3000\r\n        iou_threshold: 0.99\r\n        loss_type: CLASSIFICATION\r\n        max_negatives_per_positive: 3\r\n        min_negatives_per_image: 0\r\n      }\r\n      classification_weight: 1.0\r\n      localization_weight: 1.0\r\n    }\r\n    normalize_loss_by_num_matches: true\r\n    post_processing {\r\n      batch_non_max_suppression {\r\n        score_threshold: 1e-8\r\n        iou_threshold: 0.6\r\n        max_detections_per_class: 5\r\n        max_total_detections: 20\r\n      }\r\n      score_converter: SIGMOID\r\n    }\r\n  }\r\n}\r\n\r\ntrain_config: {\r\n  batch_size: 5\r\n  optimizer {\r\n    rms_prop_optimizer: {\r\n      learning_rate: {\r\n        exponential_decay_learning_rate {\r\n          initial_learning_rate: 0.004\r\n          decay_steps: 800720\r\n          decay_factor: 0.95\r\n        }\r\n      }\r\n      momentum_optimizer_value: 0.9\r\n      decay: 0.9\r\n      epsilon: 1.0\r\n    }\r\n  }\r\n  fine_tune_checkpoint: \"/media/xxlyu/Newsmy1/temp/ssd_mobilenet_v1_coco_2017_11_17/model.ckpt\"\r\n  from_detection_checkpoint: true\r\n  # Note: The below line limits the training process to 200K steps, which we\r\n  # empirically found to be sufficient enough to train the pets dataset. This\r\n  # effectively bypasses the learning rate schedule (the learning rate will\r\n  # never decay). Remove the below line to train indefinitely.\r\n  # num_steps: 200000\r\n  num_steps: 2000\r\n  data_augmentation_options {\r\n    random_horizontal_flip {\r\n    }\r\n  }\r\n  data_augmentation_options {\r\n    ssd_random_crop {\r\n    }\r\n  }\r\n  batch_queue_capacity: 150\r\n  num_batch_queue_threads: 8\r\n  prefetch_queue_capacity: 10\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/models/issues/comments/406421604","html_url":"https://github.com/tensorflow/models/issues/4694#issuecomment-406421604","issue_url":"https://api.github.com/repos/tensorflow/models/issues/4694","id":406421604,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjQyMTYwNA==","user":{"login":"pkulzc","id":35853368,"node_id":"MDQ6VXNlcjM1ODUzMzY4","avatar_url":"https://avatars3.githubusercontent.com/u/35853368?v=4","gravatar_id":"","url":"https://api.github.com/users/pkulzc","html_url":"https://github.com/pkulzc","followers_url":"https://api.github.com/users/pkulzc/followers","following_url":"https://api.github.com/users/pkulzc/following{/other_user}","gists_url":"https://api.github.com/users/pkulzc/gists{/gist_id}","starred_url":"https://api.github.com/users/pkulzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkulzc/subscriptions","organizations_url":"https://api.github.com/users/pkulzc/orgs","repos_url":"https://api.github.com/users/pkulzc/repos","events_url":"https://api.github.com/users/pkulzc/events{/privacy}","received_events_url":"https://api.github.com/users/pkulzc/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T21:35:00Z","updated_at":"2018-07-19T21:35:00Z","author_association":"CONTRIBUTOR","body":"Could you please download most recent files (the link has been updated) and try again?\r\n\r\nPlease also include more details of the error message."}}
{"actor":{"display_login":"pkulzc"}}