Closed AdityaSoni19031997 closed 5 years ago
Thanks for your feedback. The transformations are used to test whether the model is sufficiently general. They are deterministic, therefore the calculation of the accuracy is, in any case, the same for every execution. Thanks for your code, if you want to contribute feel free to make a merge request on the repository.
Hi Gabriel! We shouldn't be applying hard coded transformations as such while testing, rather allow the user to define one and raise assertion error if they didn't :)
https://github.com/GabrielePicco/deep-learning-flower-identifier/blob/master/test_model_pytorch_facebook_challenge.py#L33-L38
Also somehow the code for calculating Accuracy wasn't working for me [PIL Register Decode Error even after applying the fix..], don't know why, so we can replace that with this (self curated version plus someone shared this and i modified to meet my necessities)
(PS We can replace the Word Validation with Test) Again Thanks a lot for the dataset !!