{"action":"opened","issue":{"url":"https://api.github.com/repos/alexgkendall/caffe-segnet/issues/5","labels_url":"https://api.github.com/repos/alexgkendall/caffe-segnet/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/alexgkendall/caffe-segnet/issues/5/comments","events_url":"https://api.github.com/repos/alexgkendall/caffe-segnet/issues/5/events","html_url":"https://github.com/alexgkendall/caffe-segnet/issues/5","id":109425345,"number":5,"title":"upsample top index xxx out of range ","user":{"login":"SpecialM2580","id":11871968,"avatar_url":"https://avatars.githubusercontent.com/u/11871968?v=3","gravatar_id":"","url":"https://api.github.com/users/SpecialM2580","html_url":"https://github.com/SpecialM2580","followers_url":"https://api.github.com/users/SpecialM2580/followers","following_url":"https://api.github.com/users/SpecialM2580/following{/other_user}","gists_url":"https://api.github.com/users/SpecialM2580/gists{/gist_id}","starred_url":"https://api.github.com/users/SpecialM2580/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpecialM2580/subscriptions","organizations_url":"https://api.github.com/users/SpecialM2580/orgs","repos_url":"https://api.github.com/users/SpecialM2580/repos","events_url":"https://api.github.com/users/SpecialM2580/events{/privacy}","received_events_url":"https://api.github.com/users/SpecialM2580/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-02T03:52:36Z","updated_at":"2015-10-02T03:52:36Z","closed_at":null,"body":"Hi,@kezbreen\r\nI try your code, but got the following error. \r\nI followed the steps in README.md,step by step,here is the list:\r\n\r\ndownload camvid dataset(701 images) and transform the label by using the script from issue #3 \r\nresized the original pics into [360 480].\r\ngenerate data.txt\r\nchange the path in net.prototxt(first 2 layer)\r\nchange the 'dense_softmax_inner_prod' layer in \"num_output: 32\" (camvid 32 kinds of label)\r\nchange the solver.prototxt \"solver_mode\" to cpu(i used the Geforce 970,it showed error==cudaSuccess(2,0), i thought it was not enough memory ? So I change to cpu)\r\nthen I start training...\r\n\r\n...\r\nI1002 10:58:40.084039  3306 solver.cpp:42] Solver scaffolding done.\r\nI1002 10:58:40.084084  3306 solver.cpp:250] Solving segnet\r\nI1002 10:58:40.084090  3306 solver.cpp:251] Learning Rate Policy: fixed\r\nI1002 10:58:40.085350  3306 solver.cpp:294] Iteration 0, Testing net (#0)\r\nI1002 10:58:46.428558  3306 solver.cpp:343]     Test net output #0: accuracy = 0.0286227\r\nI1002 10:58:46.428601  3306 solver.cpp:343]     Test net output #1: loss = 3.49524 (* 1 = 3.49524 loss)\r\nF1002 10:58:58.492833  3306 upsample_layer.cpp:127] upsample top index 481 out of range - check scale settings match input pooling layer's downsample setup\r\n*** Check failure stack trace: ***\r\n    @     0x7fc354130ea4  (unknown)\r\n    @     0x7fc354130deb  (unknown)\r\n    @     0x7fc3541307bf  (unknown)\r\n    @     0x7fc354133a35  (unknown)\r\n    @     0x7fc359fa814d  caffe::UpsampleLayer<>::Backward_cpu()\r\n    @     0x7fc359f551e9  caffe::Net<>::BackwardFromTo()\r\n    @     0x7fc359f55551  caffe::Net<>::Backward()\r\n    @     0x7fc359f61135  caffe::Solver<>::Step()\r\n    @     0x7fc359f61da5  caffe::Solver<>::Solve()\r\n    @           0x407c7b  train()\r\n    @           0x404ed8  main\r\n    @     0x7fc3509a9a40  (unknown)\r\n    @           0x404a79  _start\r\n    @              (nil)  (unknown)\r\nAborted (core dumped)\r\n...\r\n\r\nI change the batch size to 5 in net.prototxt, the result is \r\nF1002 10:58:58.492833  3306 upsample_layer.cpp:127] upsample top index 0 out of range - check scale settings match input pooling layer's downsample setup\r\n\r\nPlease help, i'm new in caffe .Thanks"}}