29 lines
749 B
Makefile
Raw Normal View History

2024-11-23 18:56:52 +00:00
all: build sync_excempt export_dataset export_stats merge_images
2024-11-23 18:56:52 +00:00
build:
2024-11-23 18:56:52 +00:00
time pip install build
time python -m build .
time pip install -e .
2024-11-23 18:56:52 +00:00
2024-11-23 18:56:52 +00:00
sync:
time dr.sync
2024-11-23 18:56:52 +00:00
sync_excempt:
@echo "Sync is not executed because it's a lengthy process ending with timeout error."
2024-11-23 18:56:52 +00:00
export_stats:
2024-11-23 18:56:52 +00:00
@echo "Make sure you have ran 'make sync' first. Results will be in ./export/"
2024-11-23 18:56:52 +00:00
@echo "Exporting statisticts."
time dr.stats_all
2024-11-23 18:56:52 +00:00
2024-11-23 18:56:52 +00:00
export_dataset:
2024-11-23 18:56:52 +00:00
@echo "Make sure you have ran 'make sync' first."
@echo "Exporting dataset to be used for LLM embedding. Result will be ./export/0_dataset.txt"
2024-11-23 18:56:52 +00:00
time dr.dataset > export/dataset.txt
2024-11-23 18:56:52 +00:00
merge_images:
@echo "Merging images to one big image. Result will be ./export/1_graphs_compliation.png."
python merge_images.py