facebookresearch / ClassyVision

An end-to-end PyTorch framework for image and video classification
https://classyvision.ai
MIT License
1.59k stars 277 forks source link

Correct losses_label_smoothing_cross_entropy_loss_test's rounding errors #614

Closed elrach closed 4 years ago

elrach commented 4 years ago

Summary: Corrected test_unnormalized_label_smoothing_cross_entropy and test_deep_copy to round to the nearest 5th decimal to calculate accuracy. All other tests remain at an accuracy of the 7th decimal.

Differential Revision: D23691973

facebook-github-bot commented 4 years ago

This pull request was exported from Phabricator. Differential Revision: D23691973

facebook-github-bot commented 4 years ago

This pull request has been merged in facebookresearch/ClassyVision@188345100cbdfdea13ae3f9b1d86baed24ec77d8.