This is a quick example of doing multi-label classification. It involves using a proxy to implement the DataIter to make a custom data iterator for MNIST
Before you run this example, make sure that you have the clojure package installed. In the main clojure package directory, do lein install
. Then you can run lein install
in this directory.
To run lein run
. This will execute the cpu version.
You can control the devices you run on by doing:
lein run :cpu
- This will run on 1 cpu device lein run :gpu
- This will run on 1 gpu device
This example only works on 1 device