Class CifarLoader

    • Field Detail

      • DEFAULT_USE_SPECIAL_PREPROC

        public static final boolean DEFAULT_USE_SPECIAL_PREPROC
        See Also:
        Constant Field Values
      • fullDir

        protected final File fullDir
      • meanVarPath

        protected final File meanVarPath
      • trainFilesSerialized

        protected final String trainFilesSerialized
      • testFilesSerialized

        protected final String testFilesSerialized
      • trainInputStream

        protected InputStream trainInputStream
      • testInputStream

        protected InputStream testInputStream
      • train

        protected boolean train
      • useSpecialPreProcessCifar

        protected boolean useSpecialPreProcessCifar
      • seed

        protected long seed
      • shuffle

        protected boolean shuffle
      • numExamples

        protected int numExamples
      • uMean

        protected double uMean
      • uStd

        protected double uStd
      • vMean

        protected double vMean
      • vStd

        protected double vStd
      • meanStdStored

        protected boolean meanStdStored
      • loadDSIndex

        protected int loadDSIndex
      • fileNum

        protected int fileNum
    • Constructor Detail

      • CifarLoader

        public CifarLoader()
      • CifarLoader

        public CifarLoader​(boolean train)
      • CifarLoader

        public CifarLoader​(boolean train,
                           File fullPath)
      • CifarLoader

        public CifarLoader​(int height,
                           int width,
                           int channels,
                           boolean train,
                           boolean useSpecialPreProcessCifar)
      • CifarLoader

        public CifarLoader​(int height,
                           int width,
                           int channels,
                           ImageTransform imgTransform,
                           boolean train,
                           boolean useSpecialPreProcessCifar)
      • CifarLoader

        public CifarLoader​(int height,
                           int width,
                           int channels,
                           ImageTransform imgTransform,
                           boolean train,
                           boolean useSpecialPreProcessCifar,
                           boolean shuffle)
      • CifarLoader

        public CifarLoader​(int height,
                           int width,
                           int channels,
                           ImageTransform imgTransform,
                           boolean train,
                           boolean useSpecialPreProcessCifar,
                           File fullDir,
                           long seed,
                           boolean shuffle)