leoxing1996
add midas manually
b18cfd3
raw
history blame contribute delete
338 Bytes
def modelFloatDownloadUrl = "https://github.com/intel-isl/MiDaS/releases/download/v2_1/model_opt.tflite"
def modelFloatFile = "model_opt.tflite"
task downloadModelFloat(type: Download) {
src "${modelFloatDownloadUrl}"
dest project.ext.ASSET_DIR + "/${modelFloatFile}"
overwrite false
}
preBuild.dependsOn downloadModelFloat