added images to test_Data
This commit is contained in:
parent
ee53b0d72b
commit
585193f5c4
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -31,7 +31,7 @@ for i in dir_list:
|
||||
for j in os.listdir(path+'/'+i):
|
||||
file_path = path+'/'+i + '/' + j
|
||||
actual.append(i)
|
||||
test_image = tf.keras.utils.load_img(file_path, target_size = (256, 256))
|
||||
test_image = tf.keras.utils.load_img(file_path, target_size = (200, 200))
|
||||
test_image = tf.keras.utils.img_to_array(test_image)
|
||||
test_image = np.expand_dims(test_image, axis = 0)
|
||||
result = model.predict(test_image)
|
||||
|
Loading…
Reference in New Issue
Block a user