luolianhai
V2EX  ›  Java

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

  •  
  •   luolianhai · Jul 15, 2015 · 2918 views
    This topic created in 3962 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   ·   1479 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 17:00 · PVG 01:00 · LAX 10:00 · JFK 13:00
    ♥ Do have faith in what you're doing.