Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (py35) C:\Users\survey\Documents\crack_classifications_3>python go_3.py
- C:\Users\survey\AppData\Local\conda\conda\envs\py35\lib\importlib\_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
- return f(*args, **kwds)
- Using TensorFlow backend.
- 2018-08-03 15:59:16.631230: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
- 2018-08-03 15:59:16.879477: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow\core\common_runtime\gpu\gpu_device.cc:1212] Found device 0 with properties:
- name: GeForce GT 750M major: 3 minor: 0 memoryClockRate(GHz): 0.9255
- pciBusID: 0000:01:00.0
- totalMemory: 2.00GiB freeMemory: 1.66GiB
- 2018-08-03 15:59:16.880029: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow\core\common_runtime\gpu\gpu_device.cc:1312] Adding visible gpu devices: 0
- go_3.py:63: UserWarning: Update your `Conv2D` call to the Keras 2 API: `Conv2D(32, (3, 3), data_format="channels_first", input_shape=(1, 12, 12..., strides=1, padding="same")`
- model.add(Convolution2D(32, (3, 3),strides=1, border_mode='same', input_shape=(1,12,12), data_format = 'channels_first'))
- 2018-08-03 15:59:17.386291: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow\core\common_runtime\gpu\gpu_device.cc:1312] Adding visible gpu devices: 0
- 2018-08-03 15:59:17.386753: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow\core\common_runtime\gpu\gpu_device.cc:993] Creating TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1448 MB memory) -> physical GPU (device: 0, name: GeForce GT 750M, pci bus id: 0000:01:00.0, compute capability: 3.0)
- go_3.py:67: UserWarning: Update your `MaxPooling2D` call to the Keras 2 API: `MaxPooling2D(pool_size=(2, 2), padding="same")`
- model.add(MaxPooling2D(pool_size=(2, 2), border_mode=("same")))
- image_list matrix before reshape (810, 12, 12)
- Y matrix before reshape [[0. 1. 0.]
- [0. 1. 0.]
- [0. 1. 0.]
- ...
- [1. 0. 0.]
- [1. 0. 0.]
- [1. 0. 0.]]
- Y matrix after reshape [[0. 1. 0.]
- [0. 1. 0.]
- [0. 1. 0.]
- ...
- [1. 0. 0.]
- [1. 0. 0.]
- [1. 0. 0.]]
- go_3.py:101: UserWarning: The `nb_epoch` argument in `fit` has been renamed `epochs`.
- model.fit(image_list, Y, nb_epoch=1000, batch_size=25, validation_split=0.1)
- Traceback (most recent call last):
- File "go_3.py", line 101, in <module>
- model.fit(image_list, Y, nb_epoch=1000, batch_size=25, validation_split=0.1)
- File "C:\Users\survey\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\training.py", line 950, in fit
- batch_size=batch_size)
- File "C:\Users\survey\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\training.py", line 749, in _standardize_user_data
- exception_prefix='input')
- File "C:\Users\survey\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\training_utils.py", line 91, in standardize_input_data
- data = [standardize_single_array(x) for x in data]
- File "C:\Users\survey\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\training_utils.py", line 91, in <listcomp>
- data = [standardize_single_array(x) for x in data]
- File "C:\Users\survey\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\training_utils.py", line 26, in standardize_single_array
- elif x.ndim == 1:
- AttributeError: 'builtin_function_or_method' object has no attribute 'ndim'
Advertisement
Add Comment
Please, Sign In to add comment