{"action":"opened","issue":{"url":"https://api.github.com/repos/keras-team/keras/issues/11874","repository_url":"https://api.github.com/repos/keras-team/keras","labels_url":"https://api.github.com/repos/keras-team/keras/issues/11874/labels{/name}","comments_url":"https://api.github.com/repos/keras-team/keras/issues/11874/comments","events_url":"https://api.github.com/repos/keras-team/keras/issues/11874/events","html_url":"https://github.com/keras-team/keras/issues/11874","id":391426495,"node_id":"MDU6SXNzdWUzOTE0MjY0OTU=","number":11874,"title":"Running the cifar10_cnn.py example in /keras/examples/ raises a ValueError","user":{"login":"yupm","id":35495603,"node_id":"MDQ6VXNlcjM1NDk1NjAz","avatar_url":"https://avatars1.githubusercontent.com/u/35495603?v=4","gravatar_id":"","url":"https://api.github.com/users/yupm","html_url":"https://github.com/yupm","followers_url":"https://api.github.com/users/yupm/followers","following_url":"https://api.github.com/users/yupm/following{/other_user}","gists_url":"https://api.github.com/users/yupm/gists{/gist_id}","starred_url":"https://api.github.com/users/yupm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yupm/subscriptions","organizations_url":"https://api.github.com/users/yupm/orgs","repos_url":"https://api.github.com/users/yupm/repos","events_url":"https://api.github.com/users/yupm/events{/privacy}","received_events_url":"https://api.github.com/users/yupm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-16T01:31:29Z","updated_at":"2018-12-16T01:31:29Z","closed_at":null,"author_association":"NONE","body":"Fresh install of Anaconda 1.9.2\r\nSetup Python 3.6 env\r\nInstall tensorflow-gpu==1.12.0 and keras-gpu==2.2.4 using anacondat navigator interface\r\n\r\nGit clone https://github.com/keras-team/keras.git \r\n\r\nRun the cifar10_cnn.py file in /keras/examples is Spyder\r\n\r\n```\r\n\r\n  File \"<ipython-input-3-8bbe9b9a8660>\", line 1, in <module>\r\n    runfile('C:/Users/Usr/Documents/Git/keras/examples/cifar10_cnn.py', wdir='C:/Users/Usr/Documents/Git/keras/examples')\r\n\r\n  File \"C:\\Users\\Usr\\Anaconda3\\envs\\python36\\lib\\site-packages\\spyder_kernels\\customize\\spydercustomize.py\", line 704, in runfile\r\n    execfile(filename, namespace)\r\n\r\n  File \"C:\\Users\\Usr\\Anaconda3\\envs\\python36\\lib\\site-packages\\spyder_kernels\\customize\\spydercustomize.py\", line 108, in execfile\r\n    exec(compile(f.read(), filename, 'exec'), namespace)\r\n\r\n  File \"C:/Users/Usr/Documents/Git/keras/examples/cifar10_cnn.py\", line 118, in <module>\r\n    workers=4)\r\n\r\n  File \"C:\\Users\\Usr\\Anaconda3\\envs\\python36\\lib\\site-packages\\keras\\legacy\\interfaces.py\", line 91, in wrapper\r\n    return func(*args, **kwargs)\r\n\r\n  File \"C:\\Users\\\tUsr\\Anaconda3\\envs\\python36\\lib\\site-packages\\keras\\engine\\training.py\", line 1418, in fit_generator\r\n    initial_epoch=initial_epoch)\r\n\r\n  File \"C:\\Users\\Usr\\Anaconda3\\envs\\python36\\lib\\site-packages\\keras\\engine\\training_generator.py\", line 55, in fit_generator\r\n    raise ValueError('`steps_per_epoch=None` is only valid for a'\r\n\r\nValueError: `steps_per_epoch=None` is only valid for a generator based on the `keras.utils.Sequence` class. Please specify `steps_per_epoch` or use the `keras.utils.Sequence` class.\r\n```"}}
{"actor":{"display_login":"yupm"}}