We have the submission code:
import tensorflow as tf
import os
tfk = tf.keras
class model:
def __init__(self, path):
self.model = tfk.models.load_model(os.path.join(path, 'StandardModelDiego'))
def predict(self, X):
image_test = X/255
out = self.model.predict(image_test)
out = tf.argmax(out, axis=-1)
return out
When we send it to submission, we get an error stating:
ModuleNotFoundError: no module named 'model'.
And the filename is also called model