drstats/Makefile

33 lines
767 B
Makefile
Raw Normal View History

2024-11-23 19:07:19 +00:00
all: build clean sync_excempt export_dataset export_stats merge_images
2024-11-23 18:56:52 +00:00
build:
2024-11-23 19:18:21 +00:00
pip install build
python -m build .
pip install -e .
2024-11-23 18:56:52 +00:00
2024-11-23 18:56:52 +00:00
2024-11-23 18:56:52 +00:00
sync:
2024-11-23 19:18:21 +00:00
dr.sync
2024-11-23 18:56:52 +00:00
2024-11-23 19:07:19 +00:00
clean:
-@rm -r export
mkdir -p export
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."
2024-11-23 19:18:21 +00:00
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 19:18:21 +00:00
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