You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/10/20 02:35:15 UTC

[GitHub] [incubator-mxnet] haojin2 commented on issue #14415: [Test Failure] Clojure Integration

haojin2 commented on issue #14415: [Test Failure] Clojure Integration
URL: https://github.com/apache/incubator-mxnet/issues/14415#issuecomment-544214694
 
 
   @gigasquid Seems like this test is failing again now but caused by a different reason:
   ```
   lein test imclassification.train-mnist-test
   
   Starting Training of MNIST ....
   
   Running with context devices of [#object[org.apache.mxnet.Context 0x5e67a490 cpu(0)]]
   
   [15:44:21] src/io/iter_mnist.cc:110: MNISTIter: load 60000 images, shuffle=1, shape=(10,784)
   
   [15:44:22] src/io/iter_mnist.cc:110: MNISTIter: load 10000 images, shuffle=1, shape=(10,784)
   
   WARN  org.apache.mxnet.DataDesc: Found Undefined Layout, will use default index 0 for batch axis
   
   WARN  org.apache.mxnet.DataDesc: Found Undefined Layout, will use default index 0 for batch axis
   
   WARN  org.apache.mxnet.DataDesc: Found Undefined Layout, will use default index 0 for batch axis
   
   WARN  org.apache.mxnet.DataDesc: Found Undefined Layout, will use default index 0 for batch axis
   
   WARN  org.apache.mxnet.DataDesc: Found Undefined Layout, will use default index 0 for batch axis
   
   INFO  org.apache.mxnet.module.BaseModule: Epoch[0] Train-accuracy=0.13231666
   
   INFO  org.apache.mxnet.module.BaseModule: Epoch[0] Time cost=7499
   
   INFO  org.apache.mxnet.module.BaseModule: Epoch[0] Validation-accuracy=0.338
   
   INFO  org.apache.mxnet.module.BaseModule: Epoch[1] Train-accuracy=0.71955
   
   INFO  org.apache.mxnet.module.BaseModule: Epoch[1] Time cost=6314
   
   INFO  org.apache.mxnet.module.BaseModule: Epoch[1] Validation-accuracy=0.8542
   
   INFO  org.apache.mxnet.module.Module: Saved checkpoint to target/test-0002.params
   
   Finish fit
   
   
   
   lein test :only imclassification.train-mnist-test/mnist-two-epochs-test
   
   
   
   FAIL in (mnist-two-epochs-test) (train_mnist_test.clj:38)
   
   expected: (= (file-to-filtered-seq "test/test-symbol.json.ref") (file-to-filtered-seq "target/test-symbol.json"))
   
     actual: (not (= ("{" "  \"nodes\": [" "    {" "      \"op\": \"null\", " "      \"name\": \"data\", " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc1_weight\", " "      \"attrs\": {\"num_hidden\": \"128\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc1_bias\", " "      \"attrs\": {\"num_hidden\": \"128\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"FullyConnected\", " "      \"name\": \"fc1\", " "      \"attrs\": {\"num_hidden\": \"128\"}, " "      \"inputs\": [[0, 0, 0], [1, 0, 0], [2, 0, 0]]" "    }, " "    {" "      \"op\": \"Activation\", " "      \"name\": \"relu1\", " "      \"attrs\": {\"act_type\": \"relu\"}, " "      \"inputs\": [[3, 0, 0]]" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc2_weight\", " "      \"attrs\": {\"num_hidden\": \"64\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc2_bias\", " "      \"attrs\": {\"num_hidden\": \"64\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"FullyConnected\", " "      \"name\": \"fc2\", " "      \"attrs\": {\"num_hidden\": \"64\"}, " "      \"inputs\": [[4, 0, 0], [5, 0, 0], [6, 0, 0]]" "    }, " "    {" "      \"op\": \"Activation\", " "      \"name\": \"relu2\", " "      \"attrs\": {\"act_type\": \"relu\"}, " "      \"inputs\": [[7, 0, 0]]" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc3_weight\", " "      \"attrs\": {\"num_hidden\": \"10\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc3_bias\", " "      \"attrs\": {\"num_hidden\": \"10\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"FullyConnected\", " "      \"name\": \"fc3\", " "      \"attrs\": {\"num_hidden\": \"10\"}, " "      \"inputs\": [[8, 0, 0], [9, 0, 0], [10, 0, 0]]" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"softmax_label\", " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"SoftmaxOutput\", " "      \"name\": \"softmax\", " "      \"inputs\": [[11, 0, 0], [12, 0, 0]]" "    }" "  ], " "  \"arg_nodes\": [0, 1, 2, 5, 6, 9, 10, 12], " "  \"node_row_ptr\": [" "    0, " "    1, " "    2, " "    3, " "    4, " "    5, " "    6, " "    7, " "    8, " "    9, " "    10, " "    11, " "    12, " "    13, " "    14" "  ], " "  \"heads\": [[13, 0, 0]], " "}") ("{" "  \"nodes\": [" "    {" "      \"op\": \"null\", " "      \"name\": \"data\", " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc1_weight\", " "      \"attrs\": {\"num_hidden\": \"128\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc1_bias\", " "      \"attrs\": {\"num_hidden\": \"128\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"FullyConnected\", " "      \"name\": \"fc1\", " "      \"attrs\": {\"num_hidden\": \"128\"}, " "      \"inputs\": [[0, 0, 0], [1, 0, 0], [2, 0, 0]]" "    }, " "    {" "      \"op\": \"Activation\", " "      \"name\": \"relu1\", " "      \"attrs\": {\"act_type\": \"relu\"}, " "      \"inputs\": [[3, 0, 0]]" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc2_weight\", " "      \"attrs\": {\"num_hidden\": \"64\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc2_bias\", " "      \"attrs\": {\"num_hidden\": \"64\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"FullyConnected\", " "      \"name\": \"fc2\", " "      \"attrs\": {\"num_hidden\": \"64\"}, " "      \"inputs\": [[4, 0, 0], [5, 0, 0], [6, 0, 0]]" "    }, " "    {" "      \"op\": \"Activation\", " "      \"name\": \"relu2\", " "      \"attrs\": {\"act_type\": \"relu\"}, " "      \"inputs\": [[7, 0, 0]]" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc3_weight\", " "      \"attrs\": {\"num_hidden\": \"10\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"fc3_bias\", " "      \"attrs\": {\"num_hidden\": \"10\"}, " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"FullyConnected\", " "      \"name\": \"fc3\", " "      \"attrs\": {\"num_hidden\": \"10\"}, " "      \"inputs\": [[8, 0, 0], [9, 0, 0], [10, 0, 0]]" "    }, " "    {" "      \"op\": \"null\", " "      \"name\": \"softmax_label\", " "      \"inputs\": []" "    }, " "    {" "      \"op\": \"SoftmaxOutput\", " "      \"name\": \"softmax\", " "      \"inputs\": [[11, 0, 0], [12, 0, 0]]" "    }" "  ], " "  \"arg_nodes\": [0, 1, 2, 5, 6, 9, 10, 12], " "  \"node_row_ptr\": [" "    0, " "    1, " "    2, " "    3, " "    4, " "    5, " "    6, " "    7, " "    8, " "    9, " "    10, " "    11, " "    12, " "    13, " "    14" "  ], " "  \"heads\": [[13, 0, 0]], " "  \"attrs\": {" "    \"is_np_shape\": [\"int\", 0], " "  }" "}")))
   
   
   
   Ran 1 tests containing 1 assertions.
   
   1 failures, 0 errors.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services