MXNet Clojure version of the code for the Neural Networks and Deep Learning free book
Note, that you will need to download and unzip MNIST images into the data
directory. Use script from the MXNet project which I put into utils/get_mnist_data.sh, it should do the right thing. The data files are about 50Mb in size, so I didn't commit them to github.
git clone https://github.com/deem0n/deep-book-clojure.git
cd deep-book-clojure
utils/get_mnist_data.sh
lein test
lein run
Python | Clojure |
---|---|
|
|
Someone suggested to use the following:
JVM_FLAGS="-server \
-XX:+UseConcMarkSweepGC \
-XX:+UseCompressedOops \
-XX:+DoEscapeAnalysis \
-XX:+UseBiasedLocking \
-Xmx2g"
Copyright © 2019 Dmitry Dorofeev