diff --git a/Makefile b/Makefile index de178c8..990ad3d 100644 --- a/Makefile +++ b/Makefile @@ -30,12 +30,18 @@ data: requirements $(PYTHON_INTERPRETER) src/data/make_dataset.py ## Sync photos with my refs -sync_collections: +sync_collections: src/data/sync_collections.py $(PYTHON_INTERPRETER) src/data/sync_collections.py + touch sync_collections ## Resize collection -resize_collections: +resize_collections: src/data/resize_collections.py $(PYTHON_INTERPRETER) src/data/resize_collections.py + touch resize_collections + +build_tfrecords: sync_collections resize_collections src/features/build_tfrecords.py + $(PYTHON_INTERPRETER) src/features/build_tfrecords.py + touch build_tfrecords ## Delete all compiled Python files diff --git a/src/data/resize_collections.py b/src/data/resize_collections.py index e6acca8..64f6022 100644 --- a/src/data/resize_collections.py +++ b/src/data/resize_collections.py @@ -46,3 +46,4 @@ if __name__ == '__main__': logger = logging.getLogger(__name__) main() + \ No newline at end of file diff --git a/src/data/sync_collections b/src/data/sync_collections new file mode 100644 index 0000000..e69de29 diff --git a/src/data/sync_collections.chkpt b/src/data/sync_collections.chkpt new file mode 100644 index 0000000..e69de29 diff --git a/src/data/sync_collections.py b/src/data/sync_collections.py index e0a7156..f997fd0 100644 --- a/src/data/sync_collections.py +++ b/src/data/sync_collections.py @@ -65,4 +65,4 @@ if __name__ == '__main__': project_dir = Path(__file__).resolve().parents[2] logger = logging.getLogger(__name__) - main() + main() \ No newline at end of file