File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
courses/machine_learning/deepdive/03_tensorflow Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 348
348
" [2, 8, 7]\n " ,
349
349
" ])\n " ,
350
350
" \n " ,
351
- " sess = tf_debug.LocalCLIDebugWrapperSession(sess)\n " ,
351
+ " sess = tf_debug.LocalCLIDebugWrapperSession(sess, ui_type= \" readline \" )\n " ,
352
352
" sess.add_tensor_filter(\" has_inf_or_nan\" , tf_debug.has_inf_or_nan)\n " ,
353
353
" print sess.run(some_method(fake_a, fake_b))"
354
354
]
364
364
"outputs" : [],
365
365
"source" : [
366
366
" %bash\n " ,
367
- " # Note: doesn 't work because Datalab is not an interactive terminal\n " ,
368
- " # You have to ssh into Docker image and run it in a terminal or have TensorFlow locally installed. \n " ,
369
- " # Sorry :( \n " ,
367
+ " # Note: won 't work without the ui_type= \" readline \" argument because Datalab is not an interactive terminal\n " ,
368
+ " # and doesn't support the default \" curses \" ui_type. If you would like to use the default \" curses \" UI, \n " ,
369
+ " # you have to ssh into Docker image and run it in a terminal or have TensorFlow locally installed. \n " ,
370
370
" # python debugger.py --debug"
371
371
]
372
372
},
You can’t perform that action at this time.
0 commit comments