Advertisement
whchung

Untitled

Apr 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. root@c0mp1lr:/root# python tf-vgg16.py
  2. 2018-04-18 19:57:46.084614: W tensorflow/stream_executor/rocm/rocm_driver.cc:405] creating context when one is currently active; existing: 0x7fd972a57460
  3. 2018-04-18 19:57:46.084734: I tensorflow/core/common_runtime/gpu/gpu_device.cc:907] Found device 0 with properties:
  4. name: Device 6863
  5. AMDGPU ISA: gfx900
  6. memoryClockRate (GHz) 1.6
  7. pciBusID 0000:2a:00.0
  8. Total memory: 15.98GiB
  9. Free memory: 15.73GiB
  10. 2018-04-18 19:57:46.084773: W tensorflow/stream_executor/rocm/rocm_driver.cc:405] creating context when one is currently active; existing: 0x7fd972a5e150
  11. 2018-04-18 19:57:46.084810: I tensorflow/core/common_runtime/gpu/gpu_device.cc:907] Found device 1 with properties:
  12. name: Device 687f
  13. AMDGPU ISA: gfx900
  14. memoryClockRate (GHz) 1.63
  15. pciBusID 0000:2d:00.0
  16. Total memory: 7.98GiB
  17. Free memory: 7.73GiB
  18. 2018-04-18 19:57:46.084834: I tensorflow/core/common_runtime/gpu/gpu_device.cc:801] Peer access not supported between device ordinals 0 and 1
  19. 2018-04-18 19:57:46.084842: I tensorflow/core/common_runtime/gpu/gpu_device.cc:801] Peer access not supported between device ordinals 1 and 0
  20. 2018-04-18 19:57:46.084851: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929] DMA: 0 1
  21. 2018-04-18 19:57:46.084857: I tensorflow/core/common_runtime/gpu/gpu_device.cc:939] 0: Y N
  22. 2018-04-18 19:57:46.084864: I tensorflow/core/common_runtime/gpu/gpu_device.cc:939] 1: N Y
  23. 2018-04-18 19:57:46.084872: I tensorflow/core/common_runtime/gpu/gpu_device.cc:997] Creating TensorFlow device (/gpu:0) -> (device: 0, name: Device 6863, pci bus id: 0000:2a:00.0)
  24. 2018-04-18 19:57:46.084878: I tensorflow/core/common_runtime/gpu/gpu_device.cc:997] Creating TensorFlow device (/gpu:1) -> (device: 1, name: Device 687f, pci bus id: 0000:2d:00.0)
  25. Traceback (most recent call last):
  26. File "tf-vgg16.py", line 13, in <module>
  27. output = vgg16(input_img)
  28. File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/keras/python/keras/engine/topology.py", line 396, in __call__
  29. output = super(Layer, self).__call__(inputs, **kwargs)
  30. File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/base.py", line 450, in __call__
  31. outputs = self.call(inputs, *args, **kwargs)
  32. File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/keras/python/keras/engine/topology.py", line 1742, in call
  33. output_tensors, _, _ = self.run_internal_graph(inputs, masks)
  34. File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/keras/python/keras/engine/topology.py", line 1922, in run_internal_graph
  35. output_tensors = _to_list(layer.call(computed_tensor, **kwargs))
  36. File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/convolutional.py", line 158, in call
  37. data_format=utils.convert_data_format(self.data_format, self.rank + 2))
  38. File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/nn_ops.py", line 652, in convolution
  39. num_spatial_dims]))
  40. ValueError: number of input channels does not match corresponding dimension of filter, 224 != 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement