Fix FL duet_mnist classify_url_image function classifying the wrong image
Description
This PR solves the issue of Classifying the wrong image in federated learning duet_mnist url_image example. the function classify_url_image does not really classify the received image's URL; it displays the received image im but predicts the value of image_1, which is an example from the test dataset.
The solution resizes and converts the Image object to a tensor object and sends the object to classifıcatıon functıon classify_local
Affected Dependencies
None
How has this been tested?
Uncommenting the function's test cell and running it shows that it classifies the image successfully.
Fix FL duet_mnist classify_url_image function classifying the wrong image
Description
This PR solves the issue of Classifying the wrong image in federated learning duet_mnist url_image example. the function
classify_url_image
does not really classify the received image's URL; it displays the received imageim
but predicts the value ofimage_1
, which is an example from the test dataset. The solution resizes and converts theImage
object to atensor
object and sends the object to classifıcatıon functıonclassify_local
Affected Dependencies
None
How has this been tested?
Checklist