TF1.x导出的pb模型无法通过x2paddle转换为paddlelite可以运行的模型
conda activate paddlelite37 pio uninstall requests -y pip install requests pip uninstall paddlepaddle -y
下载 PaddlePaddle CPU 2.5.2 wheel
pip install paddlepaddle==2.5.2 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html python -V pip uninstall protobuf -y pip install protobuf==3.20.3 pip uninstall tensorflow -y pip install tensorflow==1.15.5
pip install paddlelite==2.12
pip uninstall x2paddle -y pip install x2paddle pio uninstall six -y pip install six x2paddle --framework=tensorflow --model=hed_lite_model.pb --save_dir=pd_model_lite会报错%%bash source /root/miniconda3/etc/profile.d/conda.sh conda activate paddlelite37 pio uninstall requests -y pip install requests pip uninstall paddlepaddle -y
下载 PaddlePaddle CPU 2.5.2 wheel
pip install paddlepaddle==2.5.2 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html python -V pip uninstall protobuf -y pip install protobuf==3.20.3 pip uninstall tensorflow -y pip install tensorflow==1.15.5 ####### pip install paddlelite==2.12 pip uninstall x2paddle -y pip install x2paddle pio uninstall six -y pip install six x2paddle --framework=tensorflow --model=model.pb --save_dir=pd_model_lite 报错 python>=3.8 is required。但是使用3.8之后仍然报错ERROR: No matching distribution found for tensorflow==1.15.5
Source: PaddlePaddle/Paddle-Lite