haruncetin / MonocularDepthEstimation

In this repository, monocular depth estimation is implemented using MiDaS v2.1 small model for Android mobile devices.
7 stars 0 forks source link

use official model to get tflite, but the depth results are blurry #2

Closed visonpon closed 7 months ago

visonpon commented 7 months ago

hi @haruncetin , i transform midas_small_256.pt -> onnx ->tflite, and the test results are normal, but when use the tflite model to replace the model you provided ,the results are blurry. I notice that someone also encounter this problem here, it seems related to the channel transpose. hope you can show how to solve it, thanks~