You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/07/28 13:51:30 UTC

[GitHub] [beam] AnandInguva commented on a diff in pull request #22371: Remove normalization in Pytorch Image Segmentation example

AnandInguva commented on code in PR #22371:
URL: https://github.com/apache/beam/pull/22371#discussion_r932245733


##########
sdks/python/apache_beam/examples/inference/pytorch_image_segmentation.py:
##########
@@ -147,12 +147,9 @@ def preprocess_image(data: Image.Image) -> torch.Tensor:
   image_size = (224, 224)
   # Pre-trained PyTorch models expect input images normalized with the

Review Comment:
   Can we remove these comments as well?



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

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org