{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6586","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6586/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6586/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6586/events","html_url":"https://github.com/tensorflow/tensorflow/issues/6586","id":198250581,"number":6586,"title":"Crashi in  Jupyter Notebook with conv2d - stream->parent()->GetConvolveAlgorithms(&algorithms)","user":{"login":"danbergeland","id":7866171,"avatar_url":"https://avatars.githubusercontent.com/u/7866171?v=3","gravatar_id":"","url":"https://api.github.com/users/danbergeland","html_url":"https://github.com/danbergeland","followers_url":"https://api.github.com/users/danbergeland/followers","following_url":"https://api.github.com/users/danbergeland/following{/other_user}","gists_url":"https://api.github.com/users/danbergeland/gists{/gist_id}","starred_url":"https://api.github.com/users/danbergeland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbergeland/subscriptions","organizations_url":"https://api.github.com/users/danbergeland/orgs","repos_url":"https://api.github.com/users/danbergeland/repos","events_url":"https://api.github.com/users/danbergeland/events{/privacy}","received_events_url":"https://api.github.com/users/danbergeland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-31T23:24:20Z","updated_at":"2016-12-31T23:24:20Z","closed_at":null,"body":"\r\n### What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?\r\n\r\nI have googled for the issue on several fronts and found nothing close since the Windows release.\r\n\r\n### Environment info\r\nOperating System:\r\nWindows 7-64bit.  Intel i3-6100 (64-bit), 8 gb DDR4, nVidia GTX 750 ti 2gb, \r\n\r\nInstalled version of CUDA and cuDNN: \r\n(please attach the output of `ls -l /path/to/cuda/lib/libcud*`):\r\nCUDA v8.0\r\ncuDNN 5.1 \r\n\r\njupyter notebook messages when importing tensorflow:\r\nsuccessfully loaded:\r\ncublas64_80.dll\r\ncudnn64_5.dll\r\ncufft64_80.dll\r\nnvcuda.dll\r\ncurand64_80.dll\r\n\r\nFound device 0 with properties:\r\nname: GeForce GTX 750 Ti\r\nmajor: 5 minor: 0 memoryClockRate (GHz) 1.1105\r\npciBusID 0000:01:00.0\r\nTotal memory: 2.00GiB\r\nFree memory: 1.65GiB\r\nDMA:0\r\n0: Y\r\nCreating TensorFlow device ... \r\n\r\n\r\nIf installed from binary pip package, provide:\r\n\r\n1. A link to the pip package you installed:\r\nI used the default: pip install tensorflow as described on their website.\r\n2. The output from `python -c \"import tensorflow; print(tensorflow.__version__)\"`.\r\n0.12.0-rc0\r\n\r\n### If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)\r\nI built and tested this jupyter notebook WITHOUT gpu support.  It already builds and runs correctly (as in, have trained and optimized a network).  Now I'm trying to get it to work with gpu to speed it up.\r\n\r\nHere's the step in the notebook that causes the issue.  Prior to this, tensorFlow is imported successfully as tf.  This is the first session it's running.  the 'training_operation' uses conv2d.\r\n`\r\n##run Training\r\n\r\nwith tf.Session() as sess:\r\n    sess.run(tf.global_variables_initializer())\r\n    num_examples = len(X_train)\r\n    \r\n    print(\"Training...\")\r\n    print()\r\n    for i in range(EPOCHS):\r\n        X_train, y_train = shuffle(X_train, y_train)\r\n        for offset in range(0, num_examples, BATCH_SIZE):\r\n            end = offset + BATCH_SIZE\r\n            batch_x, batch_y = X_train[offset:end], y_train[offset:end]\r\n            sess.run(training_operation, feed_dict={x: batch_x, y: batch_y})\r\n            \r\n        validation_accuracy = evaluate(X_validation, y_validation)\r\n        print(\"EPOCH {} ...\".format(i+1))\r\n        print(\"Validation Accuracy = {:.3f}\".format(validation_accuracy))\r\n        print()\r\n        \r\n    saver.save(sess, './lenetTrafficSign')\r\n    print(\"Model saved\")`\r\n\r\n\r\n### What other attempted solutions have you tried?\r\nI saw a similar issue in a pre-windows version that suggested it had something to do with memory.\r\nI tried adding the following before the tensorflow session:\r\n`config = tf.ConfigProto()\r\nconfig.gpu_options.per_process_gpu_memory_fraction = 0.4\r\nwith tf.Session() as sess:\r\n    sess.run(tf.global_variables_initializer())`\r\n\r\n\r\n### Logs or other output that would be helpful\r\n(If logs are large, please upload as attachment or provide link).\r\nThe error is as follows, when trying to run the session:\r\n![image](https://cloud.githubusercontent.com/assets/7866171/21579570/f25e4a0c-cf7d-11e6-8136-1f8b681e3dcd.png)\r\n\r\n"}}
{"actor":{"display_login":"danbergeland"}}