{"action":"created","issue":{"url":"https://api.github.com/repos/smallcorgi/Faster-RCNN_TF/issues/101","repository_url":"https://api.github.com/repos/smallcorgi/Faster-RCNN_TF","labels_url":"https://api.github.com/repos/smallcorgi/Faster-RCNN_TF/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/smallcorgi/Faster-RCNN_TF/issues/101/comments","events_url":"https://api.github.com/repos/smallcorgi/Faster-RCNN_TF/issues/101/events","html_url":"https://github.com/smallcorgi/Faster-RCNN_TF/issues/101","id":213858635,"number":101,"title":"Snapshot is not correctly written","user":{"login":"khurram18","id":7508106,"avatar_url":"https://avatars2.githubusercontent.com/u/7508106?v=3","gravatar_id":"","url":"https://api.github.com/users/khurram18","html_url":"https://github.com/khurram18","followers_url":"https://api.github.com/users/khurram18/followers","following_url":"https://api.github.com/users/khurram18/following{/other_user}","gists_url":"https://api.github.com/users/khurram18/gists{/gist_id}","starred_url":"https://api.github.com/users/khurram18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khurram18/subscriptions","organizations_url":"https://api.github.com/users/khurram18/orgs","repos_url":"https://api.github.com/users/khurram18/repos","events_url":"https://api.github.com/users/khurram18/events{/privacy}","received_events_url":"https://api.github.com/users/khurram18/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-13T18:34:29Z","updated_at":"2017-03-15T05:53:33Z","closed_at":null,"body":"I am training the network and getting this output\r\n```\r\nWrote snapshot to: /Users/khurram/Development/KFRCNN/output/faster_rcnn_end2end/voc_2007_trainval/VGGnet_fast_rcnn_iter_30.ckpt\r\ndone solving\r\n\r\nreal\t3m57.649s\r\nuser\t17m52.281s\r\nsys\t2m33.946s\r\n+ set +x\r\ngrep: experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-03-13_23-00-01: No such file or directory\r\n+ python ./tools/test_net.py --device cpu --device_id 0 --weights --imdb voc_2007_test --cfg experiments/cfgs/faster_rcnn_end2end.yml --network VGGnet_test\r\nvoc_2007_train\r\nvoc_2007_val\r\nvoc_2007_trainval\r\nvoc_2007_test\r\nkitti_train\r\nkitti_val\r\nkitti_trainval\r\nkitti_test\r\nnthu_71\r\nnthu_370\r\nusage: test_net.py [-h] [--device DEVICE] [--device_id DEVICE_ID]\r\n                   [--def PROTOTXT] [--weights MODEL] [--cfg CFG_FILE]\r\n                   [--wait WAIT] [--imdb IMDB_NAME] [--comp]\r\n                   [--network NETWORK_NAME]\r\ntest_net.py: error: argument --weights: expected one argument\r\n```\r\nThere is no `VGGnet_fast_rcnn_iter_30.ckpt` in `output/faster_rcnn_end2end/voc_2007_trainval/` directory(I am only using 30 iterations for quick debugging)."},"comment":{"url":"https://api.github.com/repos/smallcorgi/Faster-RCNN_TF/issues/comments/286647926","html_url":"https://github.com/smallcorgi/Faster-RCNN_TF/issues/101#issuecomment-286647926","issue_url":"https://api.github.com/repos/smallcorgi/Faster-RCNN_TF/issues/101","id":286647926,"user":{"login":"khurram18","id":7508106,"avatar_url":"https://avatars2.githubusercontent.com/u/7508106?v=3","gravatar_id":"","url":"https://api.github.com/users/khurram18","html_url":"https://github.com/khurram18","followers_url":"https://api.github.com/users/khurram18/followers","following_url":"https://api.github.com/users/khurram18/following{/other_user}","gists_url":"https://api.github.com/users/khurram18/gists{/gist_id}","starred_url":"https://api.github.com/users/khurram18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khurram18/subscriptions","organizations_url":"https://api.github.com/users/khurram18/orgs","repos_url":"https://api.github.com/users/khurram18/repos","events_url":"https://api.github.com/users/khurram18/events{/privacy}","received_events_url":"https://api.github.com/users/khurram18/received_events","type":"User","site_admin":false},"created_at":"2017-03-15T05:53:33Z","updated_at":"2017-03-15T05:53:33Z","body":"@lev-kusanagi I just find out the solution. Replace \r\n```saver = tf.train.Saver(write_version=tf.train.SaverDef.V2)``` \r\nin `lib\\faster_rcnn\\demo.py`\r\nBasically the default saver was using V2 in training time and during restore we were using V1."}}
{"actor":{"display_login":"khurram18"}}