text_plain_output_1.png
from tensorflow.keras.models import load_model

import numpy as np

import numpy as np # linear algebra

import os

import os

import random

import tensorflow as tf

import numpy as np
import pandas as pd
import os

model = load_model('../input/efficientnetv2transfer/model-18-fine_after.h5')

def set_seed(seed=200):
    tf.random.set_seed(seed)
    np.random.seed(seed)
    random.seed(seed)
    os.environ['PYTHONHASHSEED'] = str(seed)
set_seed(0)

x_test = np.load('../input/pneumonia-xray-datagen-np/x_test.npy')
y_test = np.load('../input/pneumonia-xray-datagen-np/y_test.npy')

test_evalu = model.evaluate(x_test, y_test)