You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by GitBox <gi...@apache.org> on 2020/09/16 10:23:03 UTC

[GitHub] [singa] dcslin commented on pull request #797: Half float checkpoint

dcslin commented on pull request #797:
URL: https://github.com/apache/singa/pull/797#issuecomment-693315411


   Usage example:
   ```
   root@1c6aaef3db53:~/singa-hpmerge# PYTHONPATH=build/python/ python3 examples/cnn/train_cnn.py cnn mnist -m3 -pfloat16 -i 7
   Starting Epoch 0:
   Training loss = 0.061211, training accuracy = 0.752235
   Evaluation accuracy = 0.944912, Elapsed Time = 6.867703s
   Starting Epoch 1:
   Training loss = 237.194122, training accuracy = 0.920124
   Evaluation accuracy = 0.957131, Elapsed Time = 6.740274s
   Starting Epoch 2:
   Training loss = 167.028595, training accuracy = 0.944337
   Evaluation accuracy = 0.970353, Elapsed Time = 6.833484s
   root@1c6aaef3db53:~/singa-hpmerge# PYTHONPATH=build/python/ python3 examples/cnn/train_cnn.py cnn mnist -m3 -pfloat32 -i 7
   Starting Epoch 0:
   Training loss = 596.964600, training accuracy = 0.789421
   Evaluation accuracy = 0.943209, Elapsed Time = 5.502895s
   Starting Epoch 1:
   Training loss = 234.664322, training accuracy = 0.920758
   Evaluation accuracy = 0.960036, Elapsed Time = 5.506354s
   Starting Epoch 2:
   Training loss = 165.501694, training accuracy = 0.944454
   Evaluation accuracy = 0.971254, Elapsed Time = 5.482749s
   ```


----------------------------------------------------------------
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