cavis/deeplearning4j
jxtps 22993f853f Disallow creating bad classification iterator (#8042)
When doing classification we need to know the `numPossibleLabels`. If it's set to -1, then we get obscure and confusing null-pointers when accessing labels when calling `ComputationGraph.fit` on the iterator. This PR blocks the user from shooting themselves in the foot.
2019-07-25 14:51:57 +10:00
..
.github Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
ci Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
contrib Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
deeplearning4j-common Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
deeplearning4j-core DL4J: Switch subsampling layer to custom ops; DL4J samediff mask fix (#67) 2019-07-20 23:17:28 +10:00
deeplearning4j-cuda Update dependencies to just released JavaCPP and JavaCV 1.5.1 (#8004) 2019-07-14 21:07:33 +03:00
deeplearning4j-data Disallow creating bad classification iterator (#8042) 2019-07-25 14:51:57 +10:00
deeplearning4j-dataimport-solrj Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
deeplearning4j-graph First round of runtime test improvements (#7875) 2019-06-13 20:40:40 +10:00
deeplearning4j-manifold Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
deeplearning4j-modelexport-solr Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
deeplearning4j-modelimport Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
deeplearning4j-nearestneighbors-parent [WIP] INDArray hashCode() impl (#50) 2019-07-20 22:22:11 +10:00
deeplearning4j-nlp-parent DL4J BERT iterator: Add option to prepend token (#39) 2019-07-20 22:17:08 +10:00
deeplearning4j-nn Small DL4J/SameDiff fixes (#70) 2019-07-20 23:19:09 +10:00
deeplearning4j-scaleout First round of runtime test improvements (#7875) 2019-06-13 20:40:40 +10:00
deeplearning4j-ui-parent Various fixes (#65) 2019-07-20 23:16:41 +10:00
deeplearning4j-util Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
deeplearning4j-zoo Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
dl4j-integration-tests Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
dl4j-perf Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
.codeclimate.yml Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
.travis.yml Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
CONTRIBUTORS.md Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
GITTER_GUIDELINES.md Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
LICENSE.txt Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
README.md Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
buildmultiplescalaversions.sh Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
pom.xml Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00

README.md

Eclipse Deeplearning4J: Neural Networks for Java/JVM

Join the chat at https://gitter.im/deeplearning4j/deeplearning4j Maven Central Javadoc

Eclipse Deeplearning4J is part of the Skymind Intelligence Layer, along with ND4J, DataVec, Arbiter and RL4J. It is an Apache 2.0-licensed, open-source, distributed neural net library written in Java and Scala. By contributing code to this repository, you agree to make your contribution available under an Apache 2.0 license.

Deeplearning4J integrates with Hadoop and Spark and runs on several backends that enable use of CPUs and GPUs. The aim is to create a plug-and-play solution that is more convention than configuration, and which allows for fast prototyping.

The most recent stable release in Maven Central is 0.9.1, and the current master on Github can be built from source.

For more info, see: https://docs.skymind.ai/docs


Using Eclipse Deeplearning4j

To get started using Deeplearning4j, please go to our Quickstart. You'll need to be familiar with a Java automated build tool such as Maven and an IDE such as IntelliJ.

Main Features

  • Versatile n-dimensional array class
  • GPU integration (supports devices starting from Kepler, cc3.0. You can check your device's compute compatibility here.)

Modules

  • datavec = Library for converting images, text and CSV data into format suitable for Deep Learning
  • nn = core neural net structures MultiLayer Network and Computation graph for designing Neural Net structures
  • core = additional functionality building on deeplearning4j-nn
  • modelimport = functionality to import models from Keras
  • nlp = natural language processing components including vectorizers, models, sample datasets and renderers
  • scaleout = integrations
    • spark = integration with Apache Spark versions 1.3 to 1.6 (Spark 2.0 coming soon)
    • parallel-wraper = Single machine model parallelism (for multi-GPU systems, etc)
    • aws = loading data to and from aws resources EC2 and S3
  • ui = provides visual interfaces for tuning models. Details here

Documentation

Documentation is available at deeplearning4j.org and JavaDocs. Open-source contributors can help us improve our documentation for Deeplearning4j by sending pull requests for the DL4J website here and ND4J here.

Support

We are not supporting Stackoverflow right now. Github issues should focus on bug reports and feature requests. Please join the community on Gitter, where we field questions about how to install the software and work with neural nets. For support from Skymind, please see our contact page.

Installation

To install Deeplearning4J, see our Quickstart and below. More information can be found on the ND4J web site as well as here.

Use Maven Central Repository

Search Maven Central for deeplearning4j to get a list of dependencies.

Add the dependency information to your pom.xml file. We highly recommend downloading via Maven unless you plan to help us develop DL4J. An easy way to get up-to-date dependencies is to use the ones listed in our dl4j-examples POM.


Contribute

  1. Check for open issues or open a fresh one to start a discussion around a feature idea or a bug.
  2. If you feel uncomfortable or uncertain about an issue or your changes, don't hesitate to contact us on Gitter using the link above.
  3. Fork the repository on GitHub to start making your changes (branch off of the master branch).
  4. Write a test that shows the bug was fixed or the feature works as expected.
  5. Note the repository follows the Google Java style with two modifications: 120-char column wrap and 4-spaces indentation. You can format your code to this format by typing mvn formatter:format in the subproject you work on, by using the contrib/formatter.xml at the root of the repository to configure the Eclipse formatter, or by using the Intellij plugin.
  6. Send a pull request and bug us on Gitter until it gets merged and published. :)
  7. Add technical documentation on the Deeplearning4j website and fix any typos you see.