singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] dcslin commented on pull request #797: Half float checkpoint
Date Wed, 16 Sep 2020 10:23:03 GMT

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



Mime
View raw message