V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
luolianhai
V2EX  ›  Java

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

  •  
  •   luolianhai · 2015-07-15 21:40:52 +08:00 · 2140 次点击
    这是一个创建于 3450 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 条回复    2015-07-16 10:08:31 +08:00
    codeyung
        1
    codeyung  
       2015-07-16 10:08:31 +08:00
    deeplearning4j 木搞过 mark下
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3492 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 04:35 · PVG 12:35 · LAX 20:35 · JFK 23:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.