{"action":"created","issue":{"url":"https://api.github.com/repos/davidsandberg/facenet/issues/439","repository_url":"https://api.github.com/repos/davidsandberg/facenet","labels_url":"https://api.github.com/repos/davidsandberg/facenet/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/davidsandberg/facenet/issues/439/comments","events_url":"https://api.github.com/repos/davidsandberg/facenet/issues/439/events","html_url":"https://github.com/davidsandberg/facenet/issues/439","id":252515137,"number":439,"title":"src/classifier.py prints the filename","user":{"login":"e212156822000","id":11701668,"avatar_url":"https://avatars2.githubusercontent.com/u/11701668?v=4","gravatar_id":"","url":"https://api.github.com/users/e212156822000","html_url":"https://github.com/e212156822000","followers_url":"https://api.github.com/users/e212156822000/followers","following_url":"https://api.github.com/users/e212156822000/following{/other_user}","gists_url":"https://api.github.com/users/e212156822000/gists{/gist_id}","starred_url":"https://api.github.com/users/e212156822000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e212156822000/subscriptions","organizations_url":"https://api.github.com/users/e212156822000/orgs","repos_url":"https://api.github.com/users/e212156822000/repos","events_url":"https://api.github.com/users/e212156822000/events{/privacy}","received_events_url":"https://api.github.com/users/e212156822000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-24T07:45:07Z","updated_at":"2017-09-25T01:52:25Z","closed_at":null,"author_association":"NONE","body":"I would like to see which file was classified as which classes, so I like made a little change in ```src/classifier.py``` to print the filename.\r\n\r\n## Before\r\n![image](https://user-images.githubusercontent.com/11701668/29654897-aa7db326-88e1-11e7-8e95-1bd8c78c64e2.png)\r\n\r\n## After\r\n![image](https://user-images.githubusercontent.com/11701668/29655115-6c64d5c8-88e2-11e7-887c-a0127b84e161.png)\r\n\r\n## How to do it ? \r\nReplace\r\n```python\r\nfor i in range(len(best_class_indices)):\r\n      print('%4d %s: %.3f' % (i, class_names[best_class_indices[i]], best_class_probabilities[i]))\r\n ```\r\nwith\r\n```python\r\nfor i in range(len(best_class_indices)):\r\n      print('%4d %s %s: %.3f' % (i, paths[i] , class_names[best_class_indices[i]], best_class_probabilities[i]))\r\n ```"},"comment":{"url":"https://api.github.com/repos/davidsandberg/facenet/issues/comments/331757843","html_url":"https://github.com/davidsandberg/facenet/issues/439#issuecomment-331757843","issue_url":"https://api.github.com/repos/davidsandberg/facenet/issues/439","id":331757843,"user":{"login":"e212156822000","id":11701668,"avatar_url":"https://avatars2.githubusercontent.com/u/11701668?v=4","gravatar_id":"","url":"https://api.github.com/users/e212156822000","html_url":"https://github.com/e212156822000","followers_url":"https://api.github.com/users/e212156822000/followers","following_url":"https://api.github.com/users/e212156822000/following{/other_user}","gists_url":"https://api.github.com/users/e212156822000/gists{/gist_id}","starred_url":"https://api.github.com/users/e212156822000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e212156822000/subscriptions","organizations_url":"https://api.github.com/users/e212156822000/orgs","repos_url":"https://api.github.com/users/e212156822000/repos","events_url":"https://api.github.com/users/e212156822000/events{/privacy}","received_events_url":"https://api.github.com/users/e212156822000/received_events","type":"User","site_admin":false},"created_at":"2017-09-25T01:52:25Z","updated_at":"2017-09-25T01:52:25Z","author_association":"NONE","body":"@Shahnawazgrewal \r\nby this command below : \r\n`python src/classifier.py TRAIN ~/datasets/my_dataset/train/ ~/models/20170512-110547/20170512-110547.pb ~/models/lfw_classifier.pkl --batch_size 45 `"}}
{"actor":{"display_login":"e212156822000"}}