From d93d41d1f51658179d8ab21d557d672fcde2e865 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Mon, 14 Oct 2024 23:57:46 -0700 Subject: [PATCH] process_coco_panoptic.sh path updated according to folder structure The code behavior doesn't change. The update is to update the path to run the code and in the ReadME.md PiperOrigin-RevId: 685982113 --- official/projects/panoptic/README.md | 2 +- official/vision/data/process_coco_panoptic.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/official/projects/panoptic/README.md b/official/projects/panoptic/README.md index 25eeb8f6f7b..8da71ea4a57 100644 --- a/official/projects/panoptic/README.md +++ b/official/projects/panoptic/README.md @@ -25,7 +25,7 @@ $ export PYTHONPATH=$(pwd) ## Preparing Dataset ```bash -$ ./official/data/process_coco_panoptic.sh +$ ./official/vision/data/process_coco_panoptic.sh ``` ## Launch Training diff --git a/official/vision/data/process_coco_panoptic.sh b/official/vision/data/process_coco_panoptic.sh index fd70039741e..8bc9210e8c8 100644 --- a/official/vision/data/process_coco_panoptic.sh +++ b/official/vision/data/process_coco_panoptic.sh @@ -16,7 +16,7 @@ mkdir $DATA_DIR/zips && mv $DATA_DIR/*.zip $DATA_DIR/zips; unzip $DATA_DIR/annotations/panoptic_train2017.zip -d $DATA_DIR unzip $DATA_DIR/annotations/panoptic_val2017.zip -d $DATA_DIR -python3 official/vision/beta/data/create_coco_tf_record.py \ +python3 official/vision/data/create_coco_tf_record.py \ --logtostderr \ --image_dir="$DATA_DIR/val2017" \ --object_annotations_file="$DATA_DIR/annotations/instances_val2017.json" \ @@ -28,7 +28,7 @@ python3 official/vision/beta/data/create_coco_tf_record.py \ --include_panoptic_masks -python3 official/vision/beta/data/create_coco_tf_record.py \ +python3 official/vision/data/create_coco_tf_record.py \ --logtostderr \ --image_dir="$DATA_DIR/train2017" \ --object_annotations_file="$DATA_DIR/annotations/instances_train2017.json" \