{"action":"closed","issue":{"url":"https://api.github.com/repos/naibaf7/caffe/issues/40","repository_url":"https://api.github.com/repos/naibaf7/caffe","labels_url":"https://api.github.com/repos/naibaf7/caffe/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/naibaf7/caffe/issues/40/comments","events_url":"https://api.github.com/repos/naibaf7/caffe/issues/40/events","html_url":"https://github.com/naibaf7/caffe/issues/40","id":168314822,"number":40,"title":"When run in arm for plenty of pictures","user":{"login":"zazd","id":19305597,"avatar_url":"https://avatars.githubusercontent.com/u/19305597?v=3","gravatar_id":"","url":"https://api.github.com/users/zazd","html_url":"https://github.com/zazd","followers_url":"https://api.github.com/users/zazd/followers","following_url":"https://api.github.com/users/zazd/following{/other_user}","gists_url":"https://api.github.com/users/zazd/gists{/gist_id}","starred_url":"https://api.github.com/users/zazd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zazd/subscriptions","organizations_url":"https://api.github.com/users/zazd/orgs","repos_url":"https://api.github.com/users/zazd/repos","events_url":"https://api.github.com/users/zazd/events{/privacy}","received_events_url":"https://api.github.com/users/zazd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/naibaf7/caffe/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-29T12:32:24Z","updated_at":"2016-08-03T09:43:28Z","closed_at":"2016-08-03T09:43:28Z","body":"I use caffe-opencl in arm(odroid, mali-t628). When I run a picture one time, I can get the correct output. This means I run the project , get the correct output and close it down. But when I use plenty of pictures, the first picture can get the correct output, but the 2th, 3th..... picture, the outputs  I get are the same as the first picture.\r\n    The way I use this project is:  float *input_data = input_layer->mutable_cpu_data(); and then let the pointer (input_data) point to the picture. After initializing the Net, run Net->Forward(). It is OK. But if I use\r\nfor(each picture in pictures){\r\n     input_data point to picture;\r\n     Net->Forward();\r\n }\r\nI always get the first picture output no matter which picture is inputed.\r\n\r\nHowerver, When I run this project in PC, everything is OK, I do not get this problem. It seems that something wrong in the arm. Or the setting of opencl have the different kind of performance between PC and arm.\r\n\r\nps: I print the data before doing the greentea_conv_im2col_gpu() in base_conv_later, the different pictures have different data, but after greentea_conv_im2col_gpu(), the data become identical. "}}
{"actor":{"display_login":"naibaf7"}}