This is an automated email from the ASF dual-hosted git repository. vterentev pushed a commit to branch oss-image-cpu in repository https://gitbox.apache.org/repos/asf/beam.git
commit 8d0508cd5b72c97b80e6920a90e4f02e346f23ad Author: Vitaly Terentyev <[email protected]> AuthorDate: Wed Jan 21 22:21:05 2026 +0400 Add project argument --- sdks/python/apache_beam/examples/inference/pytorch_image_captioning.py | 2 ++ .../apache_beam/examples/inference/pytorch_image_object_detection.py | 2 ++ sdks/python/apache_beam/examples/inference/pytorch_imagenet_rightfit.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/sdks/python/apache_beam/examples/inference/pytorch_image_captioning.py b/sdks/python/apache_beam/examples/inference/pytorch_image_captioning.py index 914ac43fe99..498c1c214c0 100644 --- a/sdks/python/apache_beam/examples/inference/pytorch_image_captioning.py +++ b/sdks/python/apache_beam/examples/inference/pytorch_image_captioning.py @@ -341,6 +341,8 @@ def parse_known_args(argv): # I/O & runtime parser.add_argument('--mode', default='batch', choices=['batch']) + parser.add_argument( + '--project', default='apache-beam-testing', help='GCP project ID') parser.add_argument( '--input', required=True, help='GCS path to file with image URIs') parser.add_argument( diff --git a/sdks/python/apache_beam/examples/inference/pytorch_image_object_detection.py b/sdks/python/apache_beam/examples/inference/pytorch_image_object_detection.py index 8b0f216e5fe..0bb5f53e5b0 100644 --- a/sdks/python/apache_beam/examples/inference/pytorch_image_object_detection.py +++ b/sdks/python/apache_beam/examples/inference/pytorch_image_object_detection.py @@ -243,6 +243,8 @@ def parse_known_args(argv): # I/O & runtime parser.add_argument('--mode', default='batch', choices=['batch']) + parser.add_argument( + '--project', default='apache-beam-testing', help='GCP project ID') parser.add_argument( '--output_table', required=True, diff --git a/sdks/python/apache_beam/examples/inference/pytorch_imagenet_rightfit.py b/sdks/python/apache_beam/examples/inference/pytorch_imagenet_rightfit.py index fa380ed8ac7..76daded4f48 100644 --- a/sdks/python/apache_beam/examples/inference/pytorch_imagenet_rightfit.py +++ b/sdks/python/apache_beam/examples/inference/pytorch_imagenet_rightfit.py @@ -202,6 +202,8 @@ class PostProcessDoFn(beam.DoFn): def parse_known_args(argv): parser = argparse.ArgumentParser() # I/O & runtime + parser.add_argument( + '--project', default='apache-beam-testing', help='GCP project ID') parser.add_argument( '--mode', default='streaming', choices=['streaming', 'batch']) parser.add_argument(
