This shows off how to do image classification with the module api
There is an example of the high level training api fit and also how to use multiple cpus/gpus
To see more examples of how to use different parts of the module api look at the module example
An example of using the profiler.
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 the example you must do
lein install in the root of the main project directorylein run. This will execute the cpu version.You can control the devices you run on by doing:
lein run :cpu 2 - This will run on 2 cpu devices lein run :gpu 1 - This will run on 1 gpu device lein run :gpu 2 - This will run on 2 gpu devices