1.rknn虛擬環境使用時報錯問題
使用rknn17環境的報錯:
ImportError: libdc1394.so.22: cannot open shared object file: No such file or directory
參考鏈接:https://blog.csdn.net/2301_80032564/article/details/142316410
創作軟連接:
sudo ln -s /usr/lib/x86_64-linux-gnu/libdc1394.so.25 /usr/lib/x86_64-linux-gnu/libdc1394.so.22
ImportError: libavcodec.so.58: cannot open shared object file: No such file or directory
sudo apt install ffmpeg
/home/fuxueping/fxp/git/2/whc30001_ocr_card_recognition/model/card_detection_single/20250508/last_rknn_rotate.onnx
啟動語句:python3 -m rknn.bin.visualization
2.轉主干是mobilenetV3時的報錯
問題分析參考:tf.nn.depthwise_conv2d()使用_depthwiseconv2d-CSDN博客?
然后通過Netron查看網絡結構,發現mobilenetV3中stride中有不等長的情況,具體的網絡結構如下:
上圖中藍色橢圓形框中的stride為2,
解決辦法:然后我將其強行改成了2
3.轉yolov8檢測模型時的報錯
2025-05-23 15:58:10.642092: W tensorflow/core/framework/allocator.cc:107] Allocation of 1105920000 exceeds 10% of system memory.
解決辦法:將量化的batchsize改小一點