{"action":"created","issue":{"url":"https://api.github.com/repos/danielvarga/keras-finetuning/issues/5","repository_url":"https://api.github.com/repos/danielvarga/keras-finetuning","labels_url":"https://api.github.com/repos/danielvarga/keras-finetuning/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/danielvarga/keras-finetuning/issues/5/comments","events_url":"https://api.github.com/repos/danielvarga/keras-finetuning/issues/5/events","html_url":"https://github.com/danielvarga/keras-finetuning/issues/5","id":196272163,"node_id":"MDU6SXNzdWUxOTYyNzIxNjM=","number":5,"title":"IOError: cannot identify image file","user":{"login":"roryw10","id":5229850,"node_id":"MDQ6VXNlcjUyMjk4NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5229850?v=4","gravatar_id":"","url":"https://api.github.com/users/roryw10","html_url":"https://github.com/roryw10","followers_url":"https://api.github.com/users/roryw10/followers","following_url":"https://api.github.com/users/roryw10/following{/other_user}","gists_url":"https://api.github.com/users/roryw10/gists{/gist_id}","starred_url":"https://api.github.com/users/roryw10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roryw10/subscriptions","organizations_url":"https://api.github.com/users/roryw10/orgs","repos_url":"https://api.github.com/users/roryw10/repos","events_url":"https://api.github.com/users/roryw10/events{/privacy}","received_events_url":"https://api.github.com/users/roryw10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-18T12:05:30Z","updated_at":"2018-10-09T06:43:55Z","closed_at":null,"author_association":"NONE","body":"Hitting an error here when i run the script, going to have a look around now i think there is something wrong with pillow in my environment though i have tried to create a fresh env and im still hitting the same error!\r\n\r\n`Using TensorFlow backend.\r\nloading dataset\r\nTraceback (most recent call last):\r\n  File \"train.py\", line 34, in <module>\r\n    X, y, tags = dataset.dataset(data_directory, n)\r\n  File \"/Users/roryw10/keras-finetuning/dataset.py\", line 45, in dataset\r\n    img = scipy.misc.imread(filename)\r\n  File \"//anaconda/envs/finetune/lib/python2.7/site-packages/scipy/misc/pilutil.py\", line 154, in imread\r\n    im = Image.open(name)\r\n  File \"//anaconda/envs/finetune/lib/python2.7/site-packages/PIL/Image.py\", line 1980, in open\r\n    raise IOError(\"cannot identify image file\")\r\nIOError: cannot identify image file`"},"comment":{"url":"https://api.github.com/repos/danielvarga/keras-finetuning/issues/comments/428078645","html_url":"https://github.com/danielvarga/keras-finetuning/issues/5#issuecomment-428078645","issue_url":"https://api.github.com/repos/danielvarga/keras-finetuning/issues/5","id":428078645,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODA3ODY0NQ==","user":{"login":"gauravgola96","id":32256853,"node_id":"MDQ6VXNlcjMyMjU2ODUz","avatar_url":"https://avatars0.githubusercontent.com/u/32256853?v=4","gravatar_id":"","url":"https://api.github.com/users/gauravgola96","html_url":"https://github.com/gauravgola96","followers_url":"https://api.github.com/users/gauravgola96/followers","following_url":"https://api.github.com/users/gauravgola96/following{/other_user}","gists_url":"https://api.github.com/users/gauravgola96/gists{/gist_id}","starred_url":"https://api.github.com/users/gauravgola96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauravgola96/subscriptions","organizations_url":"https://api.github.com/users/gauravgola96/orgs","repos_url":"https://api.github.com/users/gauravgola96/repos","events_url":"https://api.github.com/users/gauravgola96/events{/privacy}","received_events_url":"https://api.github.com/users/gauravgola96/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T06:43:55Z","updated_at":"2018-10-09T06:43:55Z","author_association":"NONE","body":"Hey,\r\nI am also facing same problem when i tried to use keras Imagegenrator().flow_from_dataframe . \r\nAny solution so far?"}}
{"actor":{"display_login":"gauravgola96"}}