Merge branch 'master' of https://git.wmi.amu.edu.pl/s444350/SZI-Smieciarka into adamO
3
game.py
@ -8,11 +8,12 @@ import astar
|
|||||||
import uczenie_kacper as kacper
|
import uczenie_kacper as kacper
|
||||||
import uczenie_adamO as adamO
|
import uczenie_adamO as adamO
|
||||||
|
|
||||||
|
|
||||||
smieci_path = ''
|
smieci_path = ''
|
||||||
smieci_w_kontenerach = "resources\\smieci w kontenerach"
|
smieci_w_kontenerach = "resources\\smieci w kontenerach"
|
||||||
|
|
||||||
# PODAJ OSOBE PRZED URUCHOMIENIEM (kacper/adamB/adamO)
|
# PODAJ OSOBE PRZED URUCHOMIENIEM (kacper/adamB/adamO)
|
||||||
osoba = 'adamO'
|
osoba = 'kacper'
|
||||||
rfc = None
|
rfc = None
|
||||||
|
|
||||||
if osoba == 'kacper':
|
if osoba == 'kacper':
|
||||||
|
BIN
resources/smieci w kontenerach/glass/KsncTC084n8.jpg
Normal file
After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 8.0 KiB |
BIN
resources/smieci w kontenerach/glass/google-image(0044).jpeg
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
resources/smieci w kontenerach/glass/google-image(0113).jpeg
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
resources/smieci w kontenerach/glass/google-image(0146).jpeg
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
resources/smieci w kontenerach/glass/google-image(0277).jpeg
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
resources/smieci w kontenerach/glass/google-image(0288).jpeg
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
resources/smieci w kontenerach/glass/google-image(0318).jpeg
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
resources/smieci w kontenerach/glass/google-image(0326).jpeg
Normal file
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 8.6 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0011).jpeg
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0043).jpeg
Normal file
After Width: | Height: | Size: 145 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0104).jpeg
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0141).jpeg
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0153).jpeg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0164).jpeg
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0189).jpeg
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0277).jpeg
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0287).jpeg
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0330).jpeg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0412).jpeg
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0424).jpeg
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0634).jpeg
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0643).jpeg
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0673).jpeg
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
resources/smieci w kontenerach/metal/google-image(0717).jpeg
Normal file
After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 15 KiB |
BIN
resources/smieci w kontenerach/paper/IMG_20170408_221337.jpg
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
resources/smieci w kontenerach/paper/google-image(0356).jpeg
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
resources/smieci w kontenerach/plastic/1440.jpg
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0019)_1.jpeg
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0024)_2.jpeg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0045).jpeg
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0046).jpeg
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0090).jpeg
Normal file
After Width: | Height: | Size: 9.0 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0092).jpeg
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0147)_3.jpeg
Normal file
After Width: | Height: | Size: 9.8 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0157)_3.jpeg
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0161).jpeg
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0168).jpeg
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0204).jpeg
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0220).jpeg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0246).jpeg
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0266).jpeg
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0269).jpeg
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0354).jpeg
Normal file
After Width: | Height: | Size: 129 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0512).jpeg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
resources/smieci w kontenerach/plastic/google-image(0641)_1.jpeg
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
resources/smieci w kontenerach/plastic/imagesA5J8OC7C.jpg
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
resources/smieci w kontenerach/plastic/imagesPWF3LM86.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
@ -1,4 +1,6 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
|
import os
|
||||||
|
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
|
||||||
from keras.preprocessing.image import ImageDataGenerator, load_img, img_to_array
|
from keras.preprocessing.image import ImageDataGenerator, load_img, img_to_array
|
||||||
from keras.models import Sequential
|
from keras.models import Sequential
|
||||||
from keras.layers import Conv2D, MaxPooling2D
|
from keras.layers import Conv2D, MaxPooling2D
|
||||||
|