Here we will setup the server and store the model representation on the fastai `Learn` object..
path = untar_data(URLs.MNIST_TINY)
dls = ImageDataLoaders.from_folder(path)
learn = cnn_learner(dls, resnet18, pretrained=False)
Available events
clientEvents define the actions managed by the web client (send from python, executed by js):
clientEvents
serverEvents define the actions managed by the FastExplorer
server (send by js, executed by python).
serverEvents
xb,yb = dls.one_batch()
xx = xb.cpu().numpy()[0,0]
xx.shape
_get_module_path(learn.model, '0/4/0/relu')
learn.fastexplorer(True)