I came across this error and I'm not sure where I've gone wrong! It would be really helpful if someone could help me out on this. Thanks!
Create Output Model Directory
dbutils.fs.mkdirs('/CIFAR10/models/')
Out[21]: True
from keras.models import load_model
modelpath = '/dbfs/CIFAR10/models/cifar_2000pictures.h5'
model2000.save(modelpath)
#model = load_model(modelpath)
ConnectException: Connection refused (Connection refused)
Error while obtaining a new communication channel
ConnectException error: This is often caused by an OOM error that causes the connection to the Python REPL to be closed. Check your query's memory usage.
Spark tip settings