_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
conv2d (Conv2D)              (None, 222, 222, 12)      336
_________________________________________________________________
max_pooling2d (MaxPooling2D) (None, 111, 111, 12)      0
_________________________________________________________________
conv2d_1 (Conv2D)            (None, 109, 109, 12)      1308
_________________________________________________________________
max_pooling2d_1 (MaxPooling2 (None, 54, 54, 12)        0
_________________________________________________________________
conv2d_2 (Conv2D)            (None, 52, 52, 14)        1526
_________________________________________________________________
conv2d_3 (Conv2D)            (None, 50, 50, 14)        1778
_________________________________________________________________
max_pooling2d_2 (MaxPooling2 (None, 25, 25, 14)        0
_________________________________________________________________
conv2d_4 (Conv2D)            (None, 23, 23, 18)        2286
_________________________________________________________________
conv2d_5 (Conv2D)            (None, 21, 21, 18)        2934
_________________________________________________________________
max_pooling2d_3 (MaxPooling2 (None, 10, 10, 18)        0
_________________________________________________________________
conv2d_6 (Conv2D)            (None, 8, 8, 22)          3586
_________________________________________________________________
conv2d_7 (Conv2D)            (None, 6, 6, 22)          4378
_________________________________________________________________
max_pooling2d_4 (MaxPooling2 (None, 3, 3, 22)          0
_________________________________________________________________
flatten (Flatten)            (None, 198)               0
_________________________________________________________________
dropout (Dropout)            (None, 198)               0
_________________________________________________________________
dense (Dense)                (None, 14)                2786
_________________________________________________________________
dense_1 (Dense)              (None, 27)                405
=================================================================
Total params: 21,323
Trainable params: 21,323
Non-trainable params: 0
_________________________________________________________________
None
compiling model
Found 577866 images belonging to 27 classes.
Found 1181 images belonging to 27 classes.
Found 681 images belonging to 27 classes.
Found 342 images belonging to 27 classes.
WARNING:tensorflow:From c:\science\znakovka\CNN3\CNN_SSS.py:64: Model.fit_generator (from tensorflow.python.keras.engine.training) is deprecated and will be removed in a future version.
Instructions for updating:
Please use Model.fit, which supports generators.
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
Epoch 1/10
2020-06-25 13:59:48.290477: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 605601792 exceeds 10% of system memory.
2020-06-25 13:59:52.728170: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 605601792 exceeds 10% of system memory.
   1/2257 [..............................] - ETA: 5:06:25 - loss: 3.4871 - acc: 0.03912020-06-25 13:59:54.795248: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 605601792 exceeds 10% of system memory.
2020-06-25 13:59:59.018820: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 605601792 exceeds 10% of system memory.
   2/2257 [..............................] - ETA: 4:28:10 - loss: 3.4861 - acc: 0.04882020-06-25 14:00:00.911289: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 605601792 exceeds 10% of system memory.
2258/2257 [==============================] - 12755s 6s/step - loss: 1.9281 - acc: 0.4082 - val_loss: 1.3735 - val_acc: 0.6029
Epoch 2/10
2258/2257 [==============================] - 12750s 6s/step - loss: 0.9592 - acc: 0.6965 - val_loss: 1.0328 - val_acc: 0.7282
Epoch 3/10
2258/2257 [==============================] - 12750s 6s/step - loss: 0.7438 - acc: 0.7654 - val_loss: 1.1144 - val_acc: 0.7367
Epoch 4/10
2258/2257 [==============================] - 12739s 6s/step - loss: 0.6363 - acc: 0.8000 - val_loss: 0.8515 - val_acc: 0.7883
Epoch 5/10
2258/2257 [==============================] - 12769s 6s/step - loss: 0.5639 - acc: 0.8232 - val_loss: 0.8395 - val_acc: 0.7892
Epoch 6/10
2258/2257 [==============================] - 13288s 6s/step - loss: 0.5121 - acc: 0.8404 - val_loss: 0.9622 - val_acc: 0.7722
Epoch 7/10
2258/2257 [==============================] - 12867s 6s/step - loss: 0.4725 - acc: 0.8533 - val_loss: 0.8725 - val_acc: 0.7900
Epoch 8/10
2258/2257 [==============================] - 12845s 6s/step - loss: 0.4426 - acc: 0.8630 - val_loss: 0.8398 - val_acc: 0.8052
Epoch 9/10
2258/2257 [==============================] - 12878s 6s/step - loss: 0.4148 - acc: 0.8722 - val_loss: 0.7903 - val_acc: 0.8112
Epoch 10/10
2258/2257 [==============================] - 12796s 6s/step - loss: 0.3952 - acc: 0.8783 - val_loss: 0.8022 - val_acc: 0.8010
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.9409 - acc: 0.7357
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8114 - acc: 0.9006
 ************************** initial training done **************************
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12770s 6s/step - loss: 0.3779 - acc: 0.8835 - val_loss: 0.9867 - val_acc: 0.7951
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 1.2519 - acc: 0.6799
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.9010 - acc: 0.9035
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12752s 6s/step - loss: 0.3623 - acc: 0.8890 - val_loss: 0.7399 - val_acc: 0.8307
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.8188 - acc: 0.7768
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.7805 - acc: 0.8801
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12740s 6s/step - loss: 0.3501 - acc: 0.8933 - val_loss: 0.7723 - val_acc: 0.8383
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.9513 - acc: 0.7313
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8353 - acc: 0.9006
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12751s 6s/step - loss: 0.3367 - acc: 0.8978 - val_loss: 0.7476 - val_acc: 0.8281
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.9667 - acc: 0.7327
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8339 - acc: 0.8860
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12745s 6s/step - loss: 0.3262 - acc: 0.9013 - val_loss: 0.6817 - val_acc: 0.8408
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.8930 - acc: 0.7548
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8451 - acc: 0.8860
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12742s 6s/step - loss: 0.3187 - acc: 0.9034 - val_loss: 0.7727 - val_acc: 0.8391
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.9072 - acc: 0.7768
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 1.0442 - acc: 0.9152
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12738s 6s/step - loss: 0.3058 - acc: 0.9074 - val_loss: 0.7608 - val_acc: 0.8323
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.8961 - acc: 0.7812
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8895 - acc: 0.8918
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12751s 6s/step - loss: 0.3011 - acc: 0.9085 - val_loss: 0.7536 - val_acc: 0.8450
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.8849 - acc: 0.7548
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8681 - acc: 0.8977
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12731s 6s/step - loss: 0.2932 - acc: 0.9111 - val_loss: 0.6682 - val_acc: 0.8671
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.9372 - acc: 0.7504
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8955 - acc: 0.8889
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12742s 6s/step - loss: 0.2870 - acc: 0.9136 - val_loss: 0.6891 - val_acc: 0.8586
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.9084 - acc: 0.7636
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8944 - acc: 0.8889
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12742s 6s/step - loss: 0.2817 - acc: 0.9148 - val_loss: 0.7273 - val_acc: 0.8586
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 1.0987 - acc: 0.7386
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.9418 - acc: 0.9035
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12734s 6s/step - loss: 0.2767 - acc: 0.9167 - val_loss: 0.7690 - val_acc: 0.8527
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 1.0741 - acc: 0.7386
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8908 - acc: 0.9006
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12726s 6s/step - loss: 0.2697 - acc: 0.9193 - val_loss: 0.7159 - val_acc: 0.8434
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 1.0102 - acc: 0.7504
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.7862 - acc: 0.9035
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12741s 6s/step - loss: 0.2665 - acc: 0.9202 - val_loss: 0.6825 - val_acc: 0.8637
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.9758 - acc: 0.7430
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8364 - acc: 0.8918
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
2258/2257 [==============================] - 12796s 6s/step - loss: 0.2607 - acc: 0.9222 - val_loss: 0.6952 - val_acc: 0.8577
validating on TU data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
3/3 [==============================] - 6s 2s/step - loss: 0.9325 - acc: 0.7592
validating on MX data
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
2/2 [==============================] - 3s 2s/step - loss: 0.8604 - acc: 0.9064
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
WARNING:tensorflow:sample_weight modes were coerced from
  ...
    to
  ['...']
Train for 2257.2890625 steps, validate for 4.61328125 steps
 417/2257 [====>.........................] - ETA: 2:55:06 - loss: 0.2620 - acc: 0.9222Traceback (most recent call last):
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "c:\Users\ruja\.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\lib\python\debugpy\__main__.py", line 45, in <module>
    cli.main()
  File "c:\Users\ruja\.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 430, in main
    run()
  File "c:\Users\ruja\.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 267, in run_file
    runpy.run_path(options.target, run_name=compat.force_str("__main__"))
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 263, in run_path
    pkg_name=pkg_name, script_name=fname)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "c:\science\znakovka\CNN3\CNN_SSS.py", line 82, in <module>
    verbose=1)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\util\deprecation.py", line 324, in new_func
    return func(*args, **kwargs)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 1306, in fit_generator
    initial_epoch=initial_epoch)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 819, in fit
    use_multiprocessing=use_multiprocessing)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\engine\training_v2.py", line 342, in fit
    total_epochs=epochs)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\engine\training_v2.py", line 128, in run_one_epoch
    batch_outs = execution_function(iterator)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\keras\engine\training_v2_utils.py", line 98, in execution_function
    distributed_function(input_fn))
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\def_function.py", line 568, in __call__
    result = self._call(*args, **kwds)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\def_function.py", line 599, in _call
    return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 2363, in __call__
    return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 1611, in _filtered_call
    self.captured_inputs)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 1692, in _call_flat
    ctx, args, cancellation_manager=cancellation_manager))
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\function.py", line 545, in call
    ctx=ctx)
  File "C:\Users\ruja\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\execute.py", line 61, in quick_execute
    num_outputs)
KeyboardInterrupt

UP TO SSS16 including
