Spaces:
Running
on
T4
Running
on
T4
.PHONY: install | |
venv: | |
python -m venv venv | |
activate: | |
source ./venv/bin/activate | |
install: local_install install_openmmlab | |
docker_install: local_install install_openmmlab_with_mim | |
local_install: | |
@echo "Running requirements install" | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
install_openmmlab_with_mim: | |
@echo "Running Openmmlab requirements install" | |
pip install -U openmim | |
mim install mmengine | |
mim install mmcv | |
mim install mmdet | |
mim install mmocr | |
install_openmmlab: | |
@echo "Running Openmmlab requirements install" | |
pip install mmengine==0.7.4 | |
pip install mmcv==2.0.1 | |
pip install mmdet==3.0.0 | |
pip install mmocr==1.0.0 | |
build: | |
pip install -e . | |
gradio app.py | |