{"action":"created","issue":{"url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/175","repository_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk","labels_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/175/comments","events_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/175/events","html_url":"https://github.com/watson-developer-cloud/java-sdk/issues/175","id":130757993,"number":175,"title":"[visual-recognition] Cannot execute learning task : Could not train classifier. Verify there are at least 10 positive training images and 10 negative training images that are different from each other.","user":{"login":"akankshajain","id":4374569,"avatar_url":"https://avatars.githubusercontent.com/u/4374569?v=3","gravatar_id":"","url":"https://api.github.com/users/akankshajain","html_url":"https://github.com/akankshajain","followers_url":"https://api.github.com/users/akankshajain/followers","following_url":"https://api.github.com/users/akankshajain/following{/other_user}","gists_url":"https://api.github.com/users/akankshajain/gists{/gist_id}","starred_url":"https://api.github.com/users/akankshajain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akankshajain/subscriptions","organizations_url":"https://api.github.com/users/akankshajain/orgs","repos_url":"https://api.github.com/users/akankshajain/repos","events_url":"https://api.github.com/users/akankshajain/events{/privacy}","received_events_url":"https://api.github.com/users/akankshajain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/labels/visual-recognition","name":"visual-recognition","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/milestones/5","html_url":"https://github.com/watson-developer-cloud/java-sdk/milestones/2.8.0","labels_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/milestones/5/labels","id":1563358,"number":5,"title":"2.8.0","description":"This release will fix Android and WebSocket issues along with some improvements to the developer experience when working with created resourced","creator":{"login":"germanattanasio","id":313157,"avatar_url":"https://avatars.githubusercontent.com/u/313157?v=3","gravatar_id":"","url":"https://api.github.com/users/germanattanasio","html_url":"https://github.com/germanattanasio","followers_url":"https://api.github.com/users/germanattanasio/followers","following_url":"https://api.github.com/users/germanattanasio/following{/other_user}","gists_url":"https://api.github.com/users/germanattanasio/gists{/gist_id}","starred_url":"https://api.github.com/users/germanattanasio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germanattanasio/subscriptions","organizations_url":"https://api.github.com/users/germanattanasio/orgs","repos_url":"https://api.github.com/users/germanattanasio/repos","events_url":"https://api.github.com/users/germanattanasio/events{/privacy}","received_events_url":"https://api.github.com/users/germanattanasio/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":10,"state":"closed","created_at":"2016-02-04T14:24:59Z","updated_at":"2016-03-26T01:14:17Z","due_on":"2016-02-19T05:00:00Z","closed_at":"2016-03-08T04:57:03Z"},"comments":6,"created_at":"2016-02-02T17:42:58Z","updated_at":"2016-04-04T19:21:03Z","closed_at":"2016-02-09T14:57:26Z","body":"I am trying to create a classifier using java-sdk.  Here is the small code I have written. I have positive.zip and negative.zip in proper folder in my workspace. But still I get Could not train classifier.\r\n\r\nAnything wrong with the zip file name or images names inside the folder or any of the locations of zips? Please help.\r\n\r\n     System.out.println(\"Create a classifier with positive and negative images\");\r\n     File positiveImages = new File(\"src/main/resources/visual_recognition/positive.zip\");\r\n     File negativeImages = new File(\"src/main/resources/visual_recognition/negative.zip\");\r\n     \r\n     VisualClassifier roads = service.createClassifier(\"roads\", positiveImages, negativeImages);\r\n     System.out.println(roads);"},"comment":{"url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/comments/205454804","html_url":"https://github.com/watson-developer-cloud/java-sdk/issues/175#issuecomment-205454804","issue_url":"https://api.github.com/repos/watson-developer-cloud/java-sdk/issues/175","id":205454804,"user":{"login":"germanattanasio","id":313157,"avatar_url":"https://avatars.githubusercontent.com/u/313157?v=3","gravatar_id":"","url":"https://api.github.com/users/germanattanasio","html_url":"https://github.com/germanattanasio","followers_url":"https://api.github.com/users/germanattanasio/followers","following_url":"https://api.github.com/users/germanattanasio/following{/other_user}","gists_url":"https://api.github.com/users/germanattanasio/gists{/gist_id}","starred_url":"https://api.github.com/users/germanattanasio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germanattanasio/subscriptions","organizations_url":"https://api.github.com/users/germanattanasio/orgs","repos_url":"https://api.github.com/users/germanattanasio/repos","events_url":"https://api.github.com/users/germanattanasio/events{/privacy}","received_events_url":"https://api.github.com/users/germanattanasio/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T19:21:03Z","updated_at":"2016-04-04T19:21:03Z","body":"can you write this as a question in stackoverflow ? this is not related to the java-sdk"}}