Skip to content

Commit

Permalink
revert change for colab
Browse files Browse the repository at this point in the history
  • Loading branch information
skyflynil authored Feb 21, 2020
1 parent c876ad1 commit 5a3c8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataset_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def create_from_images(tfrecord_dir, image_dir, shuffle, res_log2=7, resize=None

def create_from_images_raw(tfrecord_dir, image_dir, shuffle, res_log2=7, resize=None):
print('Loading images from "%s"' % image_dir)
image_filenames = _get_all_files_2(image_dir)
image_filenames = _get_all_files(image_dir)
print(f"detected {len(image_filenames)} images ...")
if len(image_filenames) == 0:
error("No input images found")
Expand Down

0 comments on commit 5a3c8d7

Please sign in to comment.