[mob] Fix tensor size for clip image
This commit is contained in:
@@ -178,7 +178,8 @@ class OnnxDartPlugin: FlutterPlugin, MethodCallHandler {
|
||||
inputTensorShape = longArrayOf(totalSize, 112, 112, 3)
|
||||
}
|
||||
ModelType.ClipImageEncoder -> {
|
||||
inputTensorShape = longArrayOf(1, 3, 224, 224)
|
||||
inputTensorShape = longArrayOf(1, 3, 256, 256)
|
||||
// inputTensorShape = longArrayOf(1, 3, 256, 256)
|
||||
}
|
||||
ModelType.ClipTextEncoder -> {
|
||||
inputTensorShape = longArrayOf(1, 77)
|
||||
|
||||
Reference in New Issue
Block a user