-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (26 loc) · 850 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (26 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# a makefile to setup the environment for the project
# call it with `make` to run the setup
# call it with `make clean` to clean up the environment
.PHONY: all clean
all: setup
@echo "Environment setup complete."
setup:
@echo "Setting up the environment..."
@pip install --upgrade pip
@echo "Pip upgraded."
@pip install -r requirements.txt
@echo "Environment setup done."
@git submodule update --init --recursive
@echo "Submodules updated."
@pip install git+https://github.com/eduard626/CLIP.git
@echo "CLIP installed from GitHub repository."
@cd eTAM && pip install -e . && cd ..
@echo "eTAM installed in editable mode."
@cd eTAM/checkpoints && bash download_checkpoints.sh
@echo "Checkpoints downloaded."
clean:
@echo "Cleaning up..."
@rm -rf eTAM/checkpoints/*.pt
@rm -rf __pycache__
@rm -rf *.pyc
@echo "Cleanup done."