{"action":"created","issue":{"url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/96","repository_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn","labels_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/96/comments","events_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/96/events","html_url":"https://github.com/rbgirshick/py-faster-rcnn/issues/96","id":136768317,"number":96,"title":"AssertionError: assert len(top) == len(self._name_to_top_map)","user":{"login":"eternautaCAT","id":6147283,"avatar_url":"https://avatars.githubusercontent.com/u/6147283?v=3","gravatar_id":"","url":"https://api.github.com/users/eternautaCAT","html_url":"https://github.com/eternautaCAT","followers_url":"https://api.github.com/users/eternautaCAT/followers","following_url":"https://api.github.com/users/eternautaCAT/following{/other_user}","gists_url":"https://api.github.com/users/eternautaCAT/gists{/gist_id}","starred_url":"https://api.github.com/users/eternautaCAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eternautaCAT/subscriptions","organizations_url":"https://api.github.com/users/eternautaCAT/orgs","repos_url":"https://api.github.com/users/eternautaCAT/repos","events_url":"https://api.github.com/users/eternautaCAT/events{/privacy}","received_events_url":"https://api.github.com/users/eternautaCAT/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-26T18:01:30Z","updated_at":"2016-02-26T19:03:51Z","closed_at":"2016-02-26T19:03:51Z","body":"\r\nI'm training my own dataset making fine tunning over imageNET.\r\n\r\nI have follows some tutorials, and debugged some errors reading discussions in teh issues of teh repo, but there is not any discussion about this error:\r\n\r\n`I0226 17:50:22.466792 12885 layer_factory.hpp:77] Creating layer data\r\nI0226 17:50:22.482995 12885 net.cpp:106] Creating Layer data\r\nI0226 17:50:22.483060 12885 net.cpp:411] data -> data\r\nI0226 17:50:22.483094 12885 net.cpp:411] data -> rois\r\nI0226 17:50:22.483120 12885 net.cpp:411] data -> labels\r\nI0226 17:50:22.483144 12885 net.cpp:411] data -> bbox_targets\r\nI0226 17:50:22.483165 12885 net.cpp:411] data -> bbox_inside_weights\r\nI0226 17:50:22.483186 12885 net.cpp:411] data -> bbox_outside_weights\r\nRoiDataLayer: name_to_top: {'gt_boxes': 2, 'data': 0, 'im_info': 1}\r\nTraceback (most recent call last):\r\n  File \"./tools/train_net.py\", line 112, in <module>\r\n    max_iters=args.max_iters)\r\n  File \"/home/ubuntu/cars_datasets/privatecars/py-faster-rcnn/tools/../lib/fast_rcnn/train.py\", line 157, in train_net\r\n    pretrained_model=pretrained_model)\r\n  File \"/home/ubuntu/cars_datasets/privatecars/py-faster-rcnn/tools/../lib/fast_rcnn/train.py\", line 43, in __init__\r\n    self.solver = caffe.SGDSolver(solver_prototxt)\r\n  File \"/home/ubuntu/cars_datasets/privatecars/py-faster-rcnn/tools/../lib/roi_data_layer/layer.py\", line 140, in setup\r\n    assert len(top) == len(self._name_to_top_map)\r\nAssertionError\r\n`\r\n\r\nThe command that i run for trining was:\r\n`./tools/train_net.py --gpu 0 --solver models/VGG_CNN_M_1024/fast_rcnn/solver.prototxt --weights data/imagenet_models/VGG_CNN_M_1024.v2.caffemodel --imdb cars_train --cfg experiments/cfgs/faster_rcnn_end2end.yml`\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/comments/189427201","html_url":"https://github.com/rbgirshick/py-faster-rcnn/issues/96#issuecomment-189427201","issue_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/96","id":189427201,"user":{"login":"eternautaCAT","id":6147283,"avatar_url":"https://avatars.githubusercontent.com/u/6147283?v=3","gravatar_id":"","url":"https://api.github.com/users/eternautaCAT","html_url":"https://github.com/eternautaCAT","followers_url":"https://api.github.com/users/eternautaCAT/followers","following_url":"https://api.github.com/users/eternautaCAT/following{/other_user}","gists_url":"https://api.github.com/users/eternautaCAT/gists{/gist_id}","starred_url":"https://api.github.com/users/eternautaCAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eternautaCAT/subscriptions","organizations_url":"https://api.github.com/users/eternautaCAT/orgs","repos_url":"https://api.github.com/users/eternautaCAT/repos","events_url":"https://api.github.com/users/eternautaCAT/events{/privacy}","received_events_url":"https://api.github.com/users/eternautaCAT/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T19:03:51Z","updated_at":"2016-02-26T19:03:51Z","body":"I was using a wrong proto.txt, sorry."}}