mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-15 19:09:58 +02:00
make models: avoid re-download
This commit is contained in:
parent
e5b5264568
commit
839b7c4d84
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -58,6 +58,9 @@ help:
|
||||||
# Download and extract models to $(PWD)/models_layout_v0_5_0
|
# Download and extract models to $(PWD)/models_layout_v0_5_0
|
||||||
models: $(BIN_MODELNAME) $(SEG_MODELNAME) $(OCR_MODELNAME)
|
models: $(BIN_MODELNAME) $(SEG_MODELNAME) $(OCR_MODELNAME)
|
||||||
|
|
||||||
|
# do not download these files if we already have the directories
|
||||||
|
.INTERMEDIATE: $(BIN_MODELFILE) $(SEG_MODELFILE) $(OCR_MODELFILE)
|
||||||
|
|
||||||
$(BIN_MODELFILE):
|
$(BIN_MODELFILE):
|
||||||
wget -O $@ $(BIN_MODEL)
|
wget -O $@ $(BIN_MODEL)
|
||||||
$(SEG_MODELFILE):
|
$(SEG_MODELFILE):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue