Markus Enzweiler
Markus Enzweiler
Thanks to the mlx team for creating and sharing mlx. I have managed to get a small CIFAR-10 image classification CNN up and running rather quickly in mlx (inspired by...
When replacing LayerNorm with BatchNorm (merged in https://github.com/ml-explore/mlx/pull/217) with default params, the cifar example fails with ValueError with mlx 0.0.7: ``` File "../mlx-examples/cifar/main.py", line 48, in train_epoch mx.eval(model.parameters(), optimizer.state) ValueError:...
This PR updates the CIFAR-10 ResNet example to use BatchNorm instead of LayerNorm. It is tested with mlx@026ef9a but should probably wait until https://github.com/ml-explore/mlx/pull/385 (remove `retain_graph` flag) appears in an...
This PR introduces a (small) Convolutional Variational Autoencoder (CVAE) example on MNIST. Not sure whether this is interesting for mlx-examples or not. It is a port from https://github.com/menzHSE/torch-vae to mlx...