mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-08 10:00:29 +08:00
[Android] Add CxxBuffer to native and Java PaddleSegModel (#677)
[Android] Add CxxBuffer to native PaddleSegModel
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import java.security.MessageDigest
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
@@ -90,8 +88,6 @@ task downloadAndExtractModels(type: DefaultTask) {
|
||||
mkdir "${cachePath}"
|
||||
}
|
||||
FD_MODEL.eachWithIndex { model, index ->
|
||||
MessageDigest messageDigest = MessageDigest.getInstance('MD5')
|
||||
messageDigest.update(model.src.bytes)
|
||||
String[] modelPaths = model.src.split("/")
|
||||
String modelName = modelPaths[modelPaths.length - 1]
|
||||
// Download the target model if not exists
|
||||
|
Reference in New Issue
Block a user