Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 19 12:14

    raver119 on r119_sd

    less spam Signed-off-by: raver… (compare)

  • Sep 19 11:02
    AlexDBlack labeled #8248
  • Sep 19 11:02
    AlexDBlack labeled #8248
  • Sep 19 10:52
    ChambersLiu commented #8162
  • Sep 19 10:46

    raver119 on r119_sd

    one more test fixed Signed-off… (compare)

  • Sep 19 10:27

    raver119 on r119_sd

    one test fixed Signed-off-by: … (compare)

  • Sep 19 10:18

    raver119 on r119_sd

    Context iArgs now long Signed-… (compare)

  • Sep 19 09:21
    orausch opened #8248
  • Sep 19 08:50
    dyoann commented #8162
  • Sep 19 08:35
    ChambersLiu commented #8162
  • Sep 19 05:56
    liuzhengcast edited #8244
  • Sep 19 05:56
    liuzhengcast closed #8244
  • Sep 19 05:55
    liuzhengcast edited #8244
  • Sep 19 01:52

    AlexDBlack on ab_migrate_samediff

    (compare)

  • Sep 19 01:52

    AlexDBlack on master

    SameDiff ops (#8247) * update … (compare)

  • Sep 19 01:52
    AlexDBlack closed #8247
  • Sep 19 01:52
    AlexDBlack opened #8247
  • Sep 19 01:38

    AlexDBlack on ab_migrate_samediff

    update javadocs and a few metho… add PRelu op Signed-off-by: Ry… test and fixes Signed-off-by: … and 3 more (compare)

  • Sep 19 01:28

    AlexDBlack on master

    RL4J - AsyncTrainingListener (#… (compare)

  • Sep 19 01:28
    AlexDBlack closed #8072
longzhendong
@longzhendong
@AlexDBlack Automatic differentiation always throws exceptions in GPU environments
cqiaoYc
@cqiaoYc
What is the difference between INDArray.assign() and Nd4j.copy()?
longzhendong
@longzhendong
memery is difference
shuye12321
@shuye12321
java.lang.UnsatisfiedLinkError: no openblas_nolapack in java.library.path 这个问题你们遇到过么,是怎么处理呢?
Samuel Audet
@saudet
@shuye12321 Try more a more recent version of Spring Boot
mattsilv7384
@mattsilv7384
@RobAltena Thank you for answer. Gist describes what I'm doing.
This code work with neural network for stock prediction. Predicted values are normalized in range [0,1]. To plot this data I need to revert MinMax normalization.
I made this using NormalizerMinMaxScaler but this is not proper way in my case.
https://gist.github.com/mattsilv7384/877b57f8b68b06ea87e3f93075185d26
leerelive
@leerelive
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.nd4j.linalg.compression.BasicNDArrayCompressor
at org.nd4j.linalg.factory.Nd4j.getCompressor(Nd4j.java:6002)
at org.nd4j.linalg.api.ndarray.BaseNDArray.dup(BaseNDArray.java:1839)
at org.nd4j.linalg.api.ops.BaseReduceOp.noOp(BaseReduceOp.java:161)
LiuZheng
@liuzhengcast
when executing NearestNeighbor.java, which is in cifar directory of dl4j-examples, in line 105, when putting data into trainingMap, RuntimeException Op[hashcode] occured, failed to execute op hashcode .
And validation erroe at jenkins/ws
input is double, output is float
Yann-Gaël Guéhéneuc
@yann-gael_gitlab

I'm trying to run Toy example from within Eclipse but I get this runtime error, which doesn't help me to fix the exception:

[main] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.deeplearning4j.rl4j.space.ArrayObservationSpace.<init>(ArrayObservationSpace.java:41)
at org.deeplearning4j.rl4j.mdp.toy.SimpleToy.<init>(SimpleToy.java:47)
at org.deeplearning4j.examples.rl4j.Toy.simpleToy(Toy.java:96)
at org.deeplearning4j.examples.rl4j.Toy.main(Toy.java:85)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException:
at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5247)
at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5112)
at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:182)
... 4 more
Caused by: java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5158)
... 6 more

Yes, the name of the missing class is "" (blank). What am I missing?

gitterBot
@raver120
@yann-gael_gitlab Welcome! Here's a link to Deeplearning4j's Gitter Guidelines, our documentation and other DeepLearning resources online. Please explore these and enjoy! https://github.com/deeplearning4j/deeplearning4j/blob/master/deeplearning4j/GITTER_GUIDELINES.md
Samuel Audet
@saudet
@yann-gael_gitlab Try on the command line with Maven
cqiaoYc
@cqiaoYc
@AlexDBlack Why are there exceptions at rnnTimeStep() when I use the workspace to manage RAM? Failed to allocate 1857792 bytes from DEVICE [2] memory
longzhendong
@longzhendong
@raver119 did you find the bug?
raver119
@raver119
@longzhendong no, unfortunately not yet
@cqiaoYc error code 2 means you're out of gpu memory
longzhendong
@longzhendong
@raver119 are you on the cuda9.2?
@cqiaoYc It works without sameDiff
Once use SameDiff, in a GPU environment, after a few batches, an exception occurs
cqiaoYc
@cqiaoYc
@raver119 I manage reusable objects with object pools, all ndarray ops are in workspace, but the method shown as eclipse/deeplearning4j#8239. another, there is a method using workspace called by multiple methods.
@longzhendong my app without sameDiff.
longzhendong
@longzhendong
image.png
@raver119 After the Evaluation, the exception appears
Yann-Gaël Guéhéneuc
@yann-gael_gitlab
@saudet Thank you: it works (compile and run Toy.java) from Maven!
longzhendong
@longzhendong
image.png
@raver119
Exception in thread "main" java.lang.RuntimeException: Op [divide_bp] execution failed
at org.nd4j.linalg.jcublas.ops.executioner.CudaExecutioner.exec(CudaExecutioner.java:2307)
at org.nd4j.autodiff.samediff.internal.InferenceSession.getOutputsHelper(InferenceSession.java:505)
at org.nd4j.autodiff.samediff.internal.InferenceSession.getOutputs(InferenceSession.java:119)
at org.nd4j.autodiff.samediff.internal.InferenceSession.getOutputs(InferenceSession.java:56)
at org.nd4j.autodiff.samediff.internal.AbstractSession.output(AbstractSession.java:335)
at org.nd4j.autodiff.samediff.SameDiff.directExecHelper(SameDiff.java:3181)
at org.nd4j.autodiff.samediff.SameDiff.execBackwards(SameDiff.java:4693)
at org.nd4j.autodiff.samediff.SameDiff.execBackwards(SameDiff.java:4657)
at org.nd4j.autodiff.samediff.SameDiff.execBackwards(SameDiff.java:4666)
at org.deeplearning4j.nn.layers.samediff.SameDiffLayer.backpropGradient(SameDiffLayer.java:159)
at org.deeplearning4j.nn.graph.vertex.impl.LayerVertex.doBackward(LayerVertex.java:149)
at org.deeplearning4j.nn.graph.ComputationGraph.calcBackpropGradients(ComputationGraph.java:2712)
at org.deeplearning4j.nn.graph.ComputationGraph.computeGradientAndScore(ComputationGraph.java:1381)
at org.deeplearning4j.nn.graph.ComputationGraph.computeGradientAndScore(ComputationGraph.java:1341)
at org.deeplearning4j.optimize.solvers.BaseOptimizer.gradientAndScore(BaseOptimizer.java:170)
at org.deeplearning4j.optimize.solvers.StochasticGradientDescent.optimize(StochasticGradientDescent.java:63)
at org.deeplearning4j.optimize.Solver.optimize(Solver.java:52)
at org.deeplearning4j.nn.graph.ComputationGraph.fitHelper(ComputationGraph.java:1165)
at org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:1115)
at org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:1082)
at org.deeplearning4j.AttentionClassifyTrained.main(AttentionClassifyTrained.java:207)
Caused by: java.lang.RuntimeException: [DEVICE] allocation failed; Error code: [2]
at org.nd4j.linalg.jcublas.ops.executioner.CudaExecutioner.exec(CudaExecutioner.java:2491)
at org.nd4j.linalg.jcublas.ops.executioner.CudaExecutioner.exec(CudaExecutioner.java:2297)
... 20 more
longzhendong
@longzhendong
@raver119 It is LastTimeStepVertex that causes SameDiff memory not to be reclaimed
@raver119 I found the reason, but I don't know how to solve it
raver119
@raver119
hm.
point me to it
longzhendong
@longzhendong
I'll write a test project and send it to you
raver119
@raver119
thanks
longzhendong
@longzhendong
Do you use QQ?
Add a friend
raver119
@raver119
sorry no, i don't use QQ
but you can send me pm here
longzhendong
@longzhendong
OK
Oliver Rausch
@orausch
How can I get SameDiff weight inits to perform deterministically? The following isn't working
    public void testSamediff() {

      SameDiff sd0 = SameDiff.create();
      SameDiff sd1 = SameDiff.create();
      Nd4j.getRandom().setSeed(0);

      SDVariable rand0 = sd0.var("random", new UniformInitScheme('c', 3), DataType.FLOAT, 3, 1);

      Nd4j.getRandom().setSeed(0);
      SDVariable rand1 = sd1.var("random", new UniformInitScheme('c', 3), DataType.FLOAT, 3, 1);


      Nd4j.getRandom().setSeed(0);
      System.out.println(rand0.eval());

      Nd4j.getRandom().setSeed(0);
      System.out.println(rand1.eval());
    }
Also, when are the weights of a variable actually initialized? Is it when we call sd0.var, or when we eval the variable for the first time
longzhendong
@longzhendong
@raver119
How can I send you the zip package?
raver119
@raver119
@orausch file an !issue please
gitterBot
@raver120
To file an issue, please click 'New Issue' at https://github.com/deeplearning4j/deeplearning4j/issues and provide as much details on your problem, as possible
raver119
@raver119
looks like we've forgot to add setSeed op to java side
axel_0070
@axel0070
Hello, how many Go of ram are needed to compute EigenFace with PCA ? I gave 14 go to java and, I still have "java.lang.OutOfMemoryError: Java heap space"
gitterBot
@raver120
@axel0070 Welcome! Here's a link to Deeplearning4j's Gitter Guidelines, our documentation and other DeepLearning resources online. Please explore these and enjoy! https://github.com/deeplearning4j/deeplearning4j/blob/master/deeplearning4j/GITTER_GUIDELINES.md
Yann-Gaël Guéhéneuc
@yann-gael_gitlab
Is there an implementation of a simple example like CartPole that doesn't require "gym_http_server"?
raguenets
@montardon
@lavajaw @RobAltena I'm using cuda 10.1 with 7.6.3 and it works fine.