{"action":"created","issue":{"url":"https://api.github.com/repos/deeplearning4j/dl4j-examples/issues/209","repository_url":"https://api.github.com/repos/deeplearning4j/dl4j-examples","labels_url":"https://api.github.com/repos/deeplearning4j/dl4j-examples/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/deeplearning4j/dl4j-examples/issues/209/comments","events_url":"https://api.github.com/repos/deeplearning4j/dl4j-examples/issues/209/events","html_url":"https://github.com/deeplearning4j/dl4j-examples/issues/209","id":169754062,"number":209,"title":"Score at iteration XXX is NaN messages in GravesLSTMCharModellingExample","user":{"login":"JavaFXpert","id":9936602,"avatar_url":"https://avatars.githubusercontent.com/u/9936602?v=3","gravatar_id":"","url":"https://api.github.com/users/JavaFXpert","html_url":"https://github.com/JavaFXpert","followers_url":"https://api.github.com/users/JavaFXpert/followers","following_url":"https://api.github.com/users/JavaFXpert/following{/other_user}","gists_url":"https://api.github.com/users/JavaFXpert/gists{/gist_id}","starred_url":"https://api.github.com/users/JavaFXpert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavaFXpert/subscriptions","organizations_url":"https://api.github.com/users/JavaFXpert/orgs","repos_url":"https://api.github.com/users/JavaFXpert/repos","events_url":"https://api.github.com/users/JavaFXpert/events{/privacy}","received_events_url":"https://api.github.com/users/JavaFXpert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deeplearning4j/dl4j-examples/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-06T16:22:26Z","updated_at":"2016-08-06T23:31:53Z","closed_at":null,"body":"I'm attempting to run the GravesLSTMCharModellingExample example after having freshly installed the examples using the instructions on the Getting Started page. I'm getting \"Score at iteration 199 is NaN\" messages and no samples are being generated. Here's the output in a gist: https://gist.github.com/JavaFXpert/fb35e4a2d111a8edbfb8bc3bbeb1f999\r\n\r\nI haven't made any modifications to any files, so all pom.xml files are unchanged.  Here are specs on my environment:\r\n\r\nnd4j-native backend is used.\r\n\r\nHardware Overview:\r\n\r\n  Model Name:\tMacBook Pro\r\n  Model Identifier:\tMacBookPro11,5\r\n  Processor Name:\tIntel Core i7\r\n  Processor Speed:\t2.8 GHz\r\n  Number of Processors:\t1\r\n  Total Number of Cores:\t4\r\n  L2 Cache (per Core):\t256 KB\r\n  L3 Cache:\t6 MB\r\n  Memory:\t16 GB\r\n  Boot ROM Version:\tMBP114.0172.B05\r\n  SMC Version (system):\t2.30f2\r\n\r\nOSX 10.11\r\n\r\nHere are the blas related XML files:\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<componentData>\r\n  <component>\r\n    <componentBaseName>blas_lapack_interface</componentBaseName>\r\n    <componentFileName>blas_lapack_interface_common_1451323480.enc</componentFileName>\r\n    <componentName>blas_lapack_interface_common</componentName>\r\n    <componentVersion>1451323480</componentVersion>\r\n    <instrset>0</instrset>\r\n    <locale />\r\n    <numFiles>5</numFiles>\r\n    <platformList>\r\n      <platform>glnxa64</platform>\r\n      <platform>maci64</platform>\r\n      <platform>win64</platform>\r\n    </platformList>\r\n    <releaseFamily>R2016a</releaseFamily>\r\n    <size>107419</size>\r\n    <type />\r\n    <uncompressedBytes>1576774</uncompressedBytes>\r\n  </component>\r\n</componentData>\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<componentData>\r\n  <component>\r\n    <componentBaseName>blas_lapack_interface</componentBaseName>\r\n    <componentFileName>blas_lapack_interface_maci64_1455238839.enc</componentFileName>\r\n    <componentName>blas_lapack_interface_maci64</componentName>\r\n    <componentVersion>1455238839</componentVersion>\r\n    <instrset>0</instrset>\r\n    <locale />\r\n    <numFiles>9</numFiles>\r\n    <platformList>\r\n      <platform>maci64</platform>\r\n    </platformList>\r\n    <releaseFamily>R2016a</releaseFamily>\r\n    <size>361318</size>\r\n    <type />\r\n    <uncompressedBytes>1668665</uncompressedBytes>\r\n  </component>\r\n</componentData>  \r\n```"},"comment":{"url":"https://api.github.com/repos/deeplearning4j/dl4j-examples/issues/comments/238054354","html_url":"https://github.com/deeplearning4j/dl4j-examples/issues/209#issuecomment-238054354","issue_url":"https://api.github.com/repos/deeplearning4j/dl4j-examples/issues/209","id":238054354,"user":{"login":"AlexDBlack","id":2360237,"avatar_url":"https://avatars.githubusercontent.com/u/2360237?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexDBlack","html_url":"https://github.com/AlexDBlack","followers_url":"https://api.github.com/users/AlexDBlack/followers","following_url":"https://api.github.com/users/AlexDBlack/following{/other_user}","gists_url":"https://api.github.com/users/AlexDBlack/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDBlack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDBlack/subscriptions","organizations_url":"https://api.github.com/users/AlexDBlack/orgs","repos_url":"https://api.github.com/users/AlexDBlack/repos","events_url":"https://api.github.com/users/AlexDBlack/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDBlack/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T23:31:53Z","updated_at":"2016-08-06T23:31:53Z","body":"So, OSX: that doesn't surprise me. FWIW we have seen NaN issues with veclib (OSX's bundled BLAS libraries) before (when we used to use netlib-java though). That's definitely one possibility here.\r\nCan you try installing openblas or MKL, see if that makes a difference?\r\n\r\n@saudet we'll link with veclib at runtime, right? Also, what's likely to occur with say veclib and openblas or MKL on the path?\r\n"}}
{"actor":{"display_login":"AlexDBlack"}}