Skip to content

Instantly share code, notes, and snippets.

@Namburger
Created August 15, 2020 00:40
Show Gist options
  • Save Namburger/e54fea4d7d528b2c13d333e427acf5b1 to your computer and use it in GitHub Desktop.
Save Namburger/e54fea4d7d528b2c13d333e427acf5b1 to your computer and use it in GitHub Desktop.
Creating the tfrecord files
# Now we can create the tfrecord files.
%cd /content/models/research
!cp object_detection/data/pet_label_map.pbtxt /content/dataset
!python3 object_detection/dataset_tools/create_pet_tf_record.py \
--label_map_path="/content/dataset/pet_label_map.pbtxt" \
--data_dir="/content/dataset" \
--output_dir="/content/dataset"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment