https://github.com/sciss/tensorflow-java-test
Testing TensorFlow Java bindings within Scala. Mirror of https://codeberg.org/sciss/tensorflow-java-test
https://github.com/sciss/tensorflow-java-test
Last synced: 1 day ago
JSON representation
Testing TensorFlow Java bindings within Scala. Mirror of https://codeberg.org/sciss/tensorflow-java-test
- Host: GitHub
- URL: https://github.com/sciss/tensorflow-java-test
- Owner: Sciss
- License: lgpl-2.1
- Created: 2021-10-03T15:22:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-10T21:43:02.000Z (over 4 years ago)
- Last Synced: 2025-02-23T17:22:59.668Z (over 1 year ago)
- Language: Scala
- Homepage:
- Size: 10.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tensorflow-java-test
[](https://github.com/Sciss/tensorflow-java-test/actions?query=workflow%3A%22Scala+CI%22)
## statement
This is a project for testing the [Java bindings](https://github.com/tensorflow/java) to TensorFlow, using Scala 3.
It is (C)opyright 2021–2022 by Hanns Holger Rutz. All rights reserved. The project is released under
the [GNU Lesser General Public License](https://raw.github.com/Sciss/tensorflow-java-test/main/LICENSE) v2.1+ and
comes with absolutely no warranties. To contact the author, send an e-mail to `contact at sciss.de`.
## requirements / installation
The project build with [sbt](https://www.scala-sbt.org/). You may need to edit `build.sbt` to adjust `tfClassifer`.
Furthermore, for Keras models, it currently relies on an unstable version
of [tensorflow-keras-scala](https://codeberg.org/sciss/tensorflow-keras-scala) (bindings). To prepare them, clone
that repository, and within use `git checkout work` and `sbt +publishLocal` to make an unstable version available to
this build.
Then here,
`sbt run`
`sbt 'runMain de.sciss.tf.CnnTest 10 100 sgd'`
Unfinished:
`sbt 'runMain de.sciss.tf.CnnGanMnist'`