Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.35 KB | None | 0 0
  1. WM lesion segmentation #
  2. # #
  3. # ------------------------------- #
  4. # (c) Sergi Valverde 2019 #
  5. # Neuroimage Computing Group #
  6. # ------------------------------- #
  7. ##################################################
  8.  
  9. DEBUG: 1
  10. Using TensorFlow backend.
  11. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:349: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
  12.  
  13. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:3147: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.
  14.  
  15. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:99: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
  16.  
  17. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:1062: calling reduce_prod_v1 (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
  18. Instructions for updating:
  19. keep_dims is deprecated, use keepdims instead
  20. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:2683: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.
  21. Instructions for updating:
  22. Please use `rate` instead of `keep_prob`. Rate should be set to `rate = 1 - keep_prob`.
  23. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/optimizers.py:675: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.
  24.  
  25. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:2550: calling reduce_sum_v1 (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
  26. Instructions for updating:
  27. keep_dims is deprecated, use keepdims instead
  28. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:2554: The name tf.log is deprecated. Please use tf.math.log instead.
  29.  
  30. > CNN: loading weights from datatraining configuration
  31. /localhome/jstutters/projects/nicmslesions/nicMSlesions/nets/datatraining/nets/model_1.hdf5
  32. /localhome/jstutters/projects/nicmslesions/nicMSlesions/nets/datatraining/nets/model_2.hdf5
  33. WARNING:tensorflow:From /localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py:140: The name tf.get_default_session is deprecated. Please use tf.compat.v1.get_default_session instead.
  34.  
  35. 2019-09-30 14:02:09.128806: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
  36. 2019-09-30 14:02:09.141781: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
  37. 2019-09-30 14:02:09.154301: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
  38. 2019-09-30 14:02:09.154750: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: euler.nmr.ion.ucl.ac.uk
  39. 2019-09-30 14:02:09.154787: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: euler.nmr.ion.ucl.ac.uk
  40. 2019-09-30 14:02:09.154892: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:200] libcuda reported version is: 435.21.0
  41. 2019-09-30 14:02:09.154989: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:204] kernel reported version is: 435.21.0
  42. 2019-09-30 14:02:09.155018: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:310] kernel version seems to match DSO: 435.21.0
  43. 2019-09-30 14:02:09.164181: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2394515000 Hz
  44. 2019-09-30 14:02:09.166758: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x67dac70 executing computations on platform Host. Devices:
  45. 2019-09-30 14:02:09.166814: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): <undefined>, <undefined>
  46. 2019-09-30 14:02:09.357367: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
  47. > PRE: 10071 identifying input modalities
  48. > INFO: 10071 elapsed time: 2.0 sec
  49. > PRE: 10071 registering FLAIR --> T1 space
  50. > PRE: 10071 registering MOD3 --> T1 space
  51. > PRE: 10071 registering MOD4 --> T1 space
  52. > INFO: 10071 elapsed time: 334.0 sec
  53. /localhome/jstutters/projects/nicmslesions/nicMSlesions/libs/CNN/base.py:515: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
  54. patches = [new_image[idx] for idx in slices]
  55. Traceback (most recent call last):
  56. File "nic_infer_segmentation_batch.py", line 149, in <module>
  57. out_seg = test_cascaded_model(model, test_x_data, options)
  58. File "/localhome/jstutters/projects/nicmslesions/nicMSlesions/libs/CNN/base.py", line 157, in test_cascaded_model
  59. save_nifti=save_nifti)
  60. File "/localhome/jstutters/projects/nicmslesions/nicMSlesions/libs/CNN/base.py", line 557, in test_scan
  61. candidate_mask)
  62. File "/localhome/jstutters/projects/nicmslesions/nicMSlesions/libs/CNN/base.py", line 472, in load_test_patches
  63. Xs = np.stack(X, axis=1)
  64. File "/localhome/jstutters/.virtualenvs/nicmslesionspy2/lib/python2.7/site-packages/numpy/core/shape_base.py", line 423, in stack
  65. return _nx.concatenate(expanded_arrays, axis=axis, out=out)
  66. MemoryError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement