Skip to content

Commit

Permalink
process_coco_panoptic.sh path updated according to folder structure
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tensorflower-gardener committed Oct 15, 2024
1 parent db92052 commit d93d41d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion official/projects/panoptic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $ export PYTHONPATH=$(pwd)

## Preparing Dataset
```bash
$ ./official/data/process_coco_panoptic.sh <path-to-data-directory>
$ ./official/vision/data/process_coco_panoptic.sh <path-to-data-directory>
```

## Launch Training
Expand Down
4 changes: 2 additions & 2 deletions official/vision/data/process_coco_panoptic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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" \
Expand Down

0 comments on commit d93d41d

Please sign in to comment.