java.lang.NumberFormatException

Infinite or NaN

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web41

  • Infinite or NaN
  • via GitHub by iandobbie
    , 1 year ago
    Infinite or NaN
  • via Atlassian JIRA by Daisuke Miyamoto, 1 year ago
    Infinite or NaN
  • Stack trace

    • java.lang.NumberFormatException: Infinite or NaN at java.math.BigDecimal.<init>(BigDecimal.java:895)[na:1.8.0_73] at java.math.BigDecimal.<init>(BigDecimal.java:872)[na:1.8.0_73] at org.deeplearning4j.ui.weights.HistogramBin.calcHistogram(HistogramBin.java:60)[deeplearning4j-ui-0.5.0.jar:na] at org.deeplearning4j.ui.weights.HistogramBin.access$300(HistogramBin.java:20)[deeplearning4j-ui-0.5.0.jar:na] at org.deeplearning4j.ui.weights.HistogramBin$Builder.build(HistogramBin.java:127)[deeplearning4j-ui-0.5.0.jar:na] at org.deeplearning4j.ui.weights.HistogramIterationListener.iterationDone(HistogramIterationListener.java:169)[deeplearning4j-ui-0.5.0.jar:na] at org.deeplearning4j.optimize.solvers.StochasticGradientDescent.optimize(StochasticGradientDescent.java:65)[deeplearning4j-core-0.5.0.jar:na] at org.deeplearning4j.optimize.Solver.optimize(Solver.java:51)[deeplearning4j-core-0.5.0.jar:na] at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.doTruncatedBPTT(MultiLayerNetwork.java:1215)[deeplearning4j-core-0.5.0.jar:na] at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.fit(MultiLayerNetwork.java:1477)[deeplearning4j-core-0.5.0.jar:na] at org.deeplearning4j.earlystopping.trainer.EarlyStoppingTrainer.fit(EarlyStoppingTrainer.java:59)[deeplearning4j-core-0.5.0.jar:na] at org.deeplearning4j.earlystopping.trainer.BaseEarlyStoppingTrainer.fit(BaseEarlyStoppingTrainer.java:109)[deeplearning4j-core-0.5.0.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    2 times, 4 months ago
    2 times, 5 months ago
    Unknown user
    Once, 8 months ago
    Unknown user
    Once, 10 months ago
    14 more bugmates