Skip to content

Instantly share code, notes, and snippets.

@PreetiAsh
PreetiAsh / Still getting InputSplit class not found exception.
Created March 22, 2018 10:13
I have gradle and source code and added required gradle dependency to gradle file. but syill getting exception InputSplit class not found exception.
//Gradle of my project
apply plugin: 'java-library'
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
compile group: 'org.deeplearning4j', name: 'deeplearning4j-core', version: '0.9.1'
compile group: 'org.datavec', name: 'datavec-api', version: '0.9.1'
import org.datavec.api.records.reader.RecordReader;
import org.datavec.api.records.reader.impl.csv.CSVRecordReader;
import org.datavec.api.split.FileSplit;
import org.deeplearning4j.datasets.datavec.RecordReaderDataSetIterator;
import org.deeplearning4j.eval.Evaluation;
import org.deeplearning4j.eval.EvaluationBinary;
import org.deeplearning4j.nn.api.OptimizationAlgorithm;
import org.deeplearning4j.nn.api.Updater;
import org.deeplearning4j.nn.conf.MultiLayerConfiguration;
apply plugin: 'java-library'
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'org.nd4j:nd4j-native-platform:0.9.1'
testCompile 'org.nd4j:nd4j-native:0.9.1'
compile 'org.nd4j:nd4j-cuda-7.5-platform:0.9.1'
compile 'org.nd4j:nd4j-cuda-7.5:0.9.1'
compile 'org.nd4j:nd4j-api:0.9.1'