{"action":"created","issue":{"url":"https://api.github.com/repos/datitran/raccoon_dataset/issues/45","repository_url":"https://api.github.com/repos/datitran/raccoon_dataset","labels_url":"https://api.github.com/repos/datitran/raccoon_dataset/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/datitran/raccoon_dataset/issues/45/comments","events_url":"https://api.github.com/repos/datitran/raccoon_dataset/issues/45/events","html_url":"https://github.com/datitran/raccoon_dataset/issues/45","id":300842021,"number":45,"title":"ValueError: axis = 0 not in [0, 0)","user":{"login":"ngksai93","id":35167201,"avatar_url":"https://avatars2.githubusercontent.com/u/35167201?v=4","gravatar_id":"","url":"https://api.github.com/users/ngksai93","html_url":"https://github.com/ngksai93","followers_url":"https://api.github.com/users/ngksai93/followers","following_url":"https://api.github.com/users/ngksai93/following{/other_user}","gists_url":"https://api.github.com/users/ngksai93/gists{/gist_id}","starred_url":"https://api.github.com/users/ngksai93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngksai93/subscriptions","organizations_url":"https://api.github.com/users/ngksai93/orgs","repos_url":"https://api.github.com/users/ngksai93/repos","events_url":"https://api.github.com/users/ngksai93/events{/privacy}","received_events_url":"https://api.github.com/users/ngksai93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-28T00:09:26Z","updated_at":"2018-03-01T19:49:20Z","closed_at":null,"author_association":"NONE","body":" python /home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/object_detection/train.py --logtostderr=/home/gopalakrishna/log_dir --pipeline_config_path=/home/gopalakrishna/PathToConfig/ssd_mobilenet_v1_coco.config --train_dir=/home/gopalakrishna/model\r\n/home/gopalakrishna/anaconda2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\r\n  from ._conv import register_converters as _register_converters\r\nTraceback (most recent call last):\r\n  File \"/home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/object_detection/train.py\", line 198, in <module>\r\n    tf.app.run()\r\n  File \"/home/gopalakrishna/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py\", line 48, in run\r\n    _sys.exit(main(_sys.argv[:1] + flags_passthrough))\r\n  File \"/home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/object_detection/train.py\", line 194, in main\r\n    worker_job_name, is_chief, FLAGS.train_dir)\r\n  File \"/home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/object_detection/trainer.py\", line 192, in train\r\n    clones = model_deploy.create_clones(deploy_config, model_fn, [input_queue])\r\n  File \"/home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/slim/deployment/model_deploy.py\", line 193, in create_clones\r\n    outputs = model_fn(*args, **kwargs)\r\n  File \"/home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/object_detection/trainer.py\", line 133, in _create_losses\r\n    losses_dict = detection_model.loss(prediction_dict)\r\n  File \"/home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/object_detection/meta_architectures/ssd_meta_arch.py\", line 431, in loss\r\n    location_losses, cls_losses, prediction_dict, match_list)\r\n  File \"/home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/object_detection/meta_architectures/ssd_meta_arch.py\", line 565, in _apply_hard_mining\r\n    match_list=match_list)\r\n  File \"/home/gopalakrishna/work/models-0375c800c767db2ef070cee1529d8a50f42d1042/object_detection/core/losses.py\", line 445, in __call__\r\n    location_losses = tf.unstack(location_losses)\r\n  File \"/home/gopalakrishna/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py\", line 989, in unstack\r\n    (axis, -value_shape.ndims, value_shape.ndims))\r\nValueError: axis = 0 not in [0, 0)\r\n"},"comment":{"url":"https://api.github.com/repos/datitran/raccoon_dataset/issues/comments/369709318","html_url":"https://github.com/datitran/raccoon_dataset/issues/45#issuecomment-369709318","issue_url":"https://api.github.com/repos/datitran/raccoon_dataset/issues/45","id":369709318,"user":{"login":"thriskel","id":17030866,"avatar_url":"https://avatars3.githubusercontent.com/u/17030866?v=4","gravatar_id":"","url":"https://api.github.com/users/thriskel","html_url":"https://github.com/thriskel","followers_url":"https://api.github.com/users/thriskel/followers","following_url":"https://api.github.com/users/thriskel/following{/other_user}","gists_url":"https://api.github.com/users/thriskel/gists{/gist_id}","starred_url":"https://api.github.com/users/thriskel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thriskel/subscriptions","organizations_url":"https://api.github.com/users/thriskel/orgs","repos_url":"https://api.github.com/users/thriskel/repos","events_url":"https://api.github.com/users/thriskel/events{/privacy}","received_events_url":"https://api.github.com/users/thriskel/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T19:49:20Z","updated_at":"2018-03-01T19:49:20Z","author_association":"NONE","body":"check the pipeline.config file it has these lines:\r\n```\r\nfine_tune_checkpoint: \"PATH_TO_CKPT/model.ckpt\"\r\nfrom_detection_checkpoint: false\r\n```\r\nchange the second line to \"true\" instead of \"false\":\r\n`from_detection_checkpoint: true`"}}
{"actor":{"display_login":"thriskel"}}