Guest User

Untitled

a guest
Mar 21st, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.73 KB | None | 0 0
  1. 2018-03-13 03:45:32.181075: W tensorflow/core/framework/op_kernel.cc:1202] OP_REQUIRES failed at mkl_conv_ops.h:497 : Aborted: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  2. 2018-03-13 03:45:32.214919: W tensorflow/core/framework/op_kernel.cc:1202] OP_REQUIRES failed at mkl_conv_ops.h:497 : Aborted: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  3. 2018-03-13 03:45:32.236942: W tensorflow/core/framework/op_kernel.cc:1202] OP_REQUIRES failed at mkl_conv_ops.h:497 : Aborted: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  4. 2018-03-13 03:45:32.250349: W tensorflow/core/framework/op_kernel.cc:1202] OP_REQUIRES failed at mkl_conv_ops.h:497 : Aborted: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  5. 2018-03-13 03:45:32.275450: W tensorflow/core/framework/op_kernel.cc:1202] OP_REQUIRES failed at mkl_conv_ops.h:497 : Aborted: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  6. 2018-03-13 03:45:32.289917: W tensorflow/core/framework/op_kernel.cc:1202] OP_REQUIRES failed at mkl_conv_ops.h:497 : Aborted: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  7. 2018-03-13 03:45:32.307290: W tensorflow/core/framework/op_kernel.cc:1202] OP_REQUIRES failed at mkl_conv_ops.h:497 : Aborted: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  8. 2018-03-13 03:45:32.318013: W tensorflow/core/framework/op_kernel.cc:1202] OP_REQUIRES failed at mkl_conv_ops.h:497 : Aborted: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  9. Traceback (most recent call last):
  10. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1361, in _do_call
  11. return fn(*args)
  12. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1340, in _run_fn
  13. target_list, status, run_metadata)
  14. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 516, in __exit__
  15. c_api.TF_GetCode(self.status.status))
  16. tensorflow.python.framework.errors_impl.AbortedError: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  17. [[Node: gradients/SRGAN_g/Conv4_6/Conv2D_grad/Conv2DBackpropFilter = _MklConv2DBackpropFilter[T=DT_FLOAT, _kernel="MklOp", data_format="NHWC", padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](SRGAN_g/pixelshufflerx2/1/6/Relu, gradients/SRGAN_g/Conv3_7/Conv2D_grad/Const_1, gradients/SRGAN_g/Conv4_6/add_grad/tuple/control_dependency, SRGAN_g/pixelshufflerx2/1/6/Relu:1, DMT/_250, DMT/_251)]]
  18.  
  19. During handling of the above exception, another exception occurred:
  20.  
  21. Traceback (most recent call last):
  22. File "main.py", line 289, in <module>
  23. train()
  24. File "main.py", line 149, in train
  25. errM, _ = sess.run([mse_loss, g_optim_init], {t_image: b_imgs_96, t_target_image: b_imgs_384})
  26. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 905, in run
  27. run_metadata_ptr)
  28. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1137, in _run
  29. feed_dict_tensor, options, run_metadata)
  30. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1355, in _do_run
  31. options, run_metadata)
  32. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1374, in _do_call
  33. raise type(e)(node_def, op, message)
  34. tensorflow.python.framework.errors_impl.AbortedError: Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  35. [[Node: gradients/SRGAN_g/Conv4_6/Conv2D_grad/Conv2DBackpropFilter = _MklConv2DBackpropFilter[T=DT_FLOAT, _kernel="MklOp", data_format="NHWC", padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](SRGAN_g/pixelshufflerx2/1/6/Relu, gradients/SRGAN_g/Conv3_7/Conv2D_grad/Const_1, gradients/SRGAN_g/Conv4_6/add_grad/tuple/control_dependency, SRGAN_g/pixelshufflerx2/1/6/Relu:1, DMT/_250, DMT/_251)]]
  36.  
  37. Caused by op 'gradients/SRGAN_g/Conv4_6/Conv2D_grad/Conv2DBackpropFilter', defined at:
  38. File "main.py", line 289, in <module>
  39. train()
  40. File "main.py", line 89, in train
  41. g_optim_init = tf.train.AdamOptimizer(lr_v, beta1=beta1).minimize(mse_loss, var_list=g_vars)
  42. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 359, in minimize
  43. grad_loss=grad_loss)
  44. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 460, in compute_gradients
  45. colocate_gradients_with_ops=colocate_gradients_with_ops)
  46. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 611, in gradients
  47. lambda: grad_fn(op, *out_grads))
  48. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 377, in _MaybeCompile
  49. return grad_fn() # Exit early
  50. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 611, in <lambda>
  51. lambda: grad_fn(op, *out_grads))
  52. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/ops/nn_grad.py", line 523, in _Conv2DGrad
  53. data_format=data_format)
  54. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 717, in conv2d_backprop_filter
  55. dilations=dilations, name=name)
  56. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
  57. op_def=op_def)
  58. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3271, in create_op
  59. op_def=op_def)
  60. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1650, in __init__
  61. self._traceback = self._graph._extract_stack() # pylint: disable=protected-access
  62.  
  63. ...which was originally created as op 'SRGAN_g/Conv4_6/Conv2D', defined at:
  64. File "main.py", line 289, in <module>
  65. train()
  66. File "main.py", line 53, in train
  67. net_g = SRGAN_g(t_image, is_train=True, reuse=False)
  68. File "/global/home/hpc4142/srgan-master_TF/model.py", line 57, in SRGAN_g
  69. recursive_layers[i] = Conv2dReuse(recursive_layers[i], 256, (3, 3), (1, 1), act=None, padding='SAME', W_init=w_init, name='n256s1/2/%s' %i, group = "Conv4")
  70. File "/global/home/hpc4142/srgan-master_TF/nu_layers.py", line 461, in Conv2dReuse
  71. group = group)
  72. File "/global/home/hpc4142/srgan-master_TF/nu_layers.py", line 270, in __init__
  73. self.outputs = act( tf.nn.conv2d(self.inputs, W, strides=strides, padding=padding, use_cudnn_on_gpu=use_cudnn_on_gpu, data_format=data_format) + b )
  74. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 631, in conv2d
  75. data_format=data_format, dilations=dilations, name=name)
  76. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
  77. op_def=op_def)
  78. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3271, in create_op
  79. op_def=op_def)
  80. File "/global/home/hpc4142/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1650, in __init__
  81. self._traceback = self._graph._extract_stack() # pylint: disable=protected-access
  82.  
  83. AbortedError (see above for traceback): Operation received an exception:Status: 3, message: could not set native handle, in file ./tensorflow/core/kernels/mkl_conv_ops.h:494
  84. [[Node: gradients/SRGAN_g/Conv4_6/Conv2D_grad/Conv2DBackpropFilter = _MklConv2DBackpropFilter[T=DT_FLOAT, _kernel="MklOp", data_format="NHWC", padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](SRGAN_g/pixelshufflerx2/1/6/Relu, gradients/SRGAN_g/Conv3_7/Conv2D_grad/Const_1, gradients/SRGAN_g/Conv4_6/add_grad/tuple/control_dependency, SRGAN_g/pixelshufflerx2/1/6/Relu:1, DMT/_250, DMT/_251)]]
Add Comment
Please, Sign In to add comment