V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
luolianhai
V2EX  ›  Java

method readTxt in class org.nd4j.linalg.factory.Nd4j cannot be applied to given types

  •  
  •   luolianhai · Jul 15, 2015 · 2863 views
    This topic created in 3939 days ago, the information mentioned may be changed or developed.

    i am trying to compile the project deeplearning4j but the following errors occur:

    [ERROR] /home/luolianhai/deeplearning4j/deeplearning4j-core/src/test/java/org/deeplearning4j/plot/TsneTest.java:[44,29] method readTxt in class org.nd4j.linalg.factory.Nd4j cannot be applied to given types;
    required: java.lang.String
    found: java.lang.String,java.lang.String
    reason: actual and formal argument lists differ in length

    [ERROR] /home/luolianhai/deeplearning4j/deeplearning4j-core/src/test/java/org/deeplearning4j/plot/BarnesHutTsneTest.java:[49,29] method readTxt in class org.nd4j.linalg.factory.Nd4j cannot be applied to given types;
    required: java.lang.String
    found: java.lang.String,java.lang.String
    reason: actual and formal argument lists differ in length
    The API documentation for Nd4j displays the following signatures for the readTxt method:

    static INDArray readTxt(String filePath)
    static INDArray readTxt(String filePath, String split)
    I have no idea and the problem has confused me for some time.

    1 replies    2015-07-16 10:08:31 +08:00
    codeyung
        1
    codeyung  
       Jul 16, 2015
    deeplearning4j 木搞过 mark下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1445 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:57 · PVG 07:57 · LAX 16:57 · JFK 19:57
    ♥ Do have faith in what you're doing.