{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18802","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18802/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18802/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18802/events","html_url":"https://github.com/tensorflow/tensorflow/issues/18802","id":316920541,"node_id":"MDU6SXNzdWUzMTY5MjA1NDE=","number":18802,"title":"Training iteration stops silently if not Debugging","user":{"login":"iustin94","id":13846875,"node_id":"MDQ6VXNlcjEzODQ2ODc1","avatar_url":"https://avatars2.githubusercontent.com/u/13846875?v=4","gravatar_id":"","url":"https://api.github.com/users/iustin94","html_url":"https://github.com/iustin94","followers_url":"https://api.github.com/users/iustin94/followers","following_url":"https://api.github.com/users/iustin94/following{/other_user}","gists_url":"https://api.github.com/users/iustin94/gists{/gist_id}","starred_url":"https://api.github.com/users/iustin94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iustin94/subscriptions","organizations_url":"https://api.github.com/users/iustin94/orgs","repos_url":"https://api.github.com/users/iustin94/repos","events_url":"https://api.github.com/users/iustin94/events{/privacy}","received_events_url":"https://api.github.com/users/iustin94/received_events","type":"User","site_admin":false},"labels":[{"id":404586594,"node_id":"MDU6TGFiZWw0MDQ1ODY1OTQ=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower","name":"stat:awaiting tensorflower","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"karmel","id":667809,"node_id":"MDQ6VXNlcjY2NzgwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/667809?v=4","gravatar_id":"","url":"https://api.github.com/users/karmel","html_url":"https://github.com/karmel","followers_url":"https://api.github.com/users/karmel/followers","following_url":"https://api.github.com/users/karmel/following{/other_user}","gists_url":"https://api.github.com/users/karmel/gists{/gist_id}","starred_url":"https://api.github.com/users/karmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmel/subscriptions","organizations_url":"https://api.github.com/users/karmel/orgs","repos_url":"https://api.github.com/users/karmel/repos","events_url":"https://api.github.com/users/karmel/events{/privacy}","received_events_url":"https://api.github.com/users/karmel/received_events","type":"User","site_admin":false},"assignees":[{"login":"karmel","id":667809,"node_id":"MDQ6VXNlcjY2NzgwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/667809?v=4","gravatar_id":"","url":"https://api.github.com/users/karmel","html_url":"https://github.com/karmel","followers_url":"https://api.github.com/users/karmel/followers","following_url":"https://api.github.com/users/karmel/following{/other_user}","gists_url":"https://api.github.com/users/karmel/gists{/gist_id}","starred_url":"https://api.github.com/users/karmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmel/subscriptions","organizations_url":"https://api.github.com/users/karmel/orgs","repos_url":"https://api.github.com/users/karmel/repos","events_url":"https://api.github.com/users/karmel/events{/privacy}","received_events_url":"https://api.github.com/users/karmel/received_events","type":"User","site_admin":false},{"login":"fchollet","id":710255,"node_id":"MDQ6VXNlcjcxMDI1NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/710255?v=4","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-04-23T18:04:18Z","updated_at":"2018-07-12T19:07:31Z","closed_at":null,"author_association":"NONE","body":"Have I written custom code: Yes\r\nOS Platform and Distribution: Windows server 2012 R2 Standard\r\nTensorFlow installed from: Pip repositories\r\nTensorFlow version: 1.7.0\r\nBazel version: NA\r\nCUDA/cuDNN version: NA\r\nGPU model and memory: NA\r\nExact command to reproduce NA\r\n\r\n\r\nI'm attempting to train a tensorflow.contrib.keras.model.Sequencial on an image dataset. I have noticed however that when running the script normally, everything appears to work fine until the process does not exit. When I ran the scrip in debug mode, I received the message \"StopIteration: Could not import PIL.Image. The use of 'array_to_img' requires PIL\". The error is pretty self-explanatory, however is it intended behavior to fail silently like this?  I did not realize at first that the execution halted without exiting, until sometime passed.\r\n\r\nThis is my model initialization and training block:\r\n \r\n        model = tf.contrib.keras.models.Sequential()\r\n        model.add(tf.contrib.keras.layers.Conv2D(32, kernel_size=(3, 3),\r\n                         activation='relu',\r\n                         input_shape=data_train.image_shape))\r\n        model.add(tf.contrib.keras.layers.Conv2D(64, (3, 3), activation='relu'))\r\n        model.add(tf.contrib.keras.layers.MaxPooling2D(pool_size=(2, 2)))\r\n        model.add(tf.contrib.keras.layers.Dropout(0.25))\r\n        model.add(tf.contrib.keras.layers.Flatten())\r\n        model.add(tf.contrib.keras.layers.Dense(128, activation='relu'))\r\n        model.add(tf.contrib.keras.layers.Dropout(0.5))\r\n        model.add(tf.contrib.keras.layers.Dense(4, activation='softmax'))\r\n        \r\n        model.compile(loss=tf.contrib.keras.losses.categorical_crossentropy,\r\n                      optimizer=tf.contrib.keras.optimizers.Adadelta(),\r\n                      metrics=['accuracy'])\r\n\r\n        model.fit_generator(data_train,\r\n                            steps_per_epoch=100,\r\n                            epochs=5,\r\n                            validation_data=data_test,\r\n                            validation_steps= data_test.batch_size)"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/404618515","html_url":"https://github.com/tensorflow/tensorflow/issues/18802#issuecomment-404618515","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18802","id":404618515,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDYxODUxNQ==","user":{"login":"tensorflowbutler","id":28546240,"node_id":"MDQ6VXNlcjI4NTQ2MjQw","avatar_url":"https://avatars2.githubusercontent.com/u/28546240?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflowbutler","html_url":"https://github.com/tensorflowbutler","followers_url":"https://api.github.com/users/tensorflowbutler/followers","following_url":"https://api.github.com/users/tensorflowbutler/following{/other_user}","gists_url":"https://api.github.com/users/tensorflowbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflowbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflowbutler/subscriptions","organizations_url":"https://api.github.com/users/tensorflowbutler/orgs","repos_url":"https://api.github.com/users/tensorflowbutler/repos","events_url":"https://api.github.com/users/tensorflowbutler/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflowbutler/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T19:07:30Z","updated_at":"2018-07-12T19:07:30Z","author_association":"MEMBER","body":"Nagging Assignees @karmel, @fchollet: It has been 78 days with no activity and this issue has an assignee. Please update the label and/or status accordingly."}}
{"actor":{"display_login":"tensorflowbutler"}}