Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paddlejslite 安装不了,windows平台,bml平台都不行,py3.6,py3.7都不行 #455

Open
xiang12383 opened this issue Jun 28, 2022 · 6 comments

Comments

@xiang12383
Copy link

(paddlejs) PS C:\Users\wu\PaddleWorkSpace> pip install paddlejslite >= 0.0.2
ERROR: Could not find a version that satisfies the requirement paddlejslite (from versions: none)
ERROR: No matching distribution found for paddlejslite
(paddlejs) PS C:\Users\wu\PaddleWorkSpace> pip install paddlejslite
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement paddlejslite (from versions: none)
ERROR: No matching distribution found for paddlejslite
(paddlejs) PS C:\Users\wu\PaddleWorkSpace> pip install .\paddlejslite-0.0.2-cp36-cp36m-macosx_10_15_x86_64.whl
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: paddlejslite-0.0.2-cp36-cp36m-macosx_10_15_x86_64.whl is not a supported wheel on this platform.

@xiang12383
Copy link
Author

xiang12383 commented Jun 28, 2022

` aistudio@jupyter-741334-4231014:~$ pip install paddlejslite

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement paddlejslite (from versions: none)
ERROR: No matching distribution found for paddlejslite

aistudio@jupyter-741334-4231014:~$ `

@xiang12383
Copy link
Author

安装 paddlejsconverter,不能安装1.0.8,只能降级到1.0.7,同时paddlelite也降级为2.7.1,最新版的是2.11了。如果使用paddlejsconverter 1.0.7版本,就提示这个错误 :These unsupported ops are: 'bilinear_interp_v2'。而paddlelite2.8 才提供支持'bilinear_interp_v2'。

aistudio@jupyter-741334-4231014:~$ pip install paddlejsconverter
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting paddlejsconverter
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f3/a7/ed9900004bde1c4e318e3fd328adce7bbd5392694c73e9dfed4210fa622c/paddlejsconverter-1.0.8-py3-none-any.whl (15 kB)
Requirement already satisfied: numpy in /opt/conda/lib/python3.6/site-packages (from paddlejsconverter) (1.19.4)
Collecting paddlepaddle>=2.0.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5c/fd/7d584d0ddbf1b74602c639033e61abadac9ce589f9644cd1a4422bda242e/paddlepaddle-2.3.0-cp36-cp36m-manylinux1_x86_64.whl (112.3 MB)
|████████████████████████████████| 112.3 MB 11 kB/s
Collecting paddlejsconverter
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c1/24/15d0a49c5399759026425e2bbaedb851dd9668b3881dd5762698b00e2a29/paddlejsconverter-1.0.7-py3-none-any.whl (15 kB)
Collecting paddlelite==2.7.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/20/74/bef3863643927edb3ab3dfc0ab3c617fb79c4991d71d45c538c7031df753/paddlelite-2.7.1-cp36-cp36m-manylinux1_x86_64.whl (43.0 MB)
|████████████████████████████████| 43.0 MB 5.8 MB/s
Requirement already satisfied: requests>=2.20.0 in /opt/conda/lib/python3.6/site-packages (from paddlepaddle>=2.0.0->paddlejsconverter) (2.22.0)
Requirement already satisfied: decorator in /opt/conda/lib/python3.6/site-packages (from paddlepaddle>=2.0.0->paddlejsconverter) (4.4.0)
Requirement already satisfied: six in /opt/conda/lib/python3.6/site-packages (from paddlepaddle>=2.0.0->paddlejsconverter) (1.12.0)
Collecting paddle-bfloat==0.1.2
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/76/57/4c7675ba3f598ffd036ad2d77f014cbf35dbc983d4ecbb105ee524bcc00a/paddle_bfloat-0.1.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (372 kB)
|████████████████████████████████| 372 kB 5.4 MB/s
Collecting opt-einsum==3.3.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bc/19/404708a7e54ad2798907210462fd950c3442ea51acc8790f3da48d2bee8b/opt_einsum-3.3.0-py3-none-any.whl (65 kB)
|████████████████████████████████| 65 kB 5.9 MB/s
Collecting astor
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c3/88/97eef84f48fa04fbd6750e62dcceafba6c63c81b7ac1420856c8dcc0a3f9/astor-0.8.1-py2.py3-none-any.whl (27 kB)
Requirement already satisfied: protobuf>=3.1.0 in /opt/conda/lib/python3.6/site-packages (from paddlepaddle>=2.0.0->paddlejsconverter) (3.6.1)
Requirement already satisfied: Pillow in /opt/conda/lib/python3.6/site-packages (from paddlepaddle>=2.0.0->paddlejsconverter) (5.4.1)
Requirement already satisfied: setuptools in /opt/conda/lib/python3.6/site-packages (from protobuf>=3.1.0->paddlepaddle>=2.0.0->paddlejsconverter) (40.8.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.6/site-packages (from requests>=2.20.0->paddlepaddle>=2.0.0->paddlejsconverter) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/conda/lib/python3.6/site-packages (from requests>=2.20.0->paddlepaddle>=2.0.0->paddlejsconverter) (2.8)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/lib/python3.6/site-packages (from requests>=2.20.0->paddlepaddle>=2.0.0->paddlejsconverter) (1.24.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.6/site-packages (from requests>=2.20.0->paddlepaddle>=2.0.0->paddlejsconverter) (2020.12.5)
Installing collected packages: paddle-bfloat, opt-einsum, astor, paddlepaddle, paddlelite, paddlejsconverter
Successfully installed astor-0.8.1 opt-einsum-3.3.0 paddle-bfloat-0.1.2 paddlejsconverter-1.0.7 paddlelite-2.7.1 paddlepaddle-2.3.0

@xiang12383
Copy link
Author

PaddleJsConverter 又依赖于 paddlejslite >= 0.0.2

========================================

Project description
PaddleJsConverter
Installation
System Requirements:

paddlepaddle >= 2.0.0
paddlejslite >= 0.0.2
Python3: 3.5.1+ / 3.6 / 3.7
Python2: 2.7.15+

@bymomo
Copy link

bymomo commented Jan 16, 2023

然而paddlejslite又只提供mac平台的pip包,Windows上无法安装,无解,现在这玩意还不成熟

@neocpp
Copy link

neocpp commented Feb 9, 2023

mac平台也没有,安装不了,一样的错误

@LibrarristShalinward
Copy link

LibrarristShalinward commented Mar 5, 2023

如果不需要PaddleLite的优化功能的话,一个笨办法,亲测可用:直接在paddlejslite对应的文件夹(packages/paddlejs-converter)下命令行运行convertToPaddleJSModel.py,如果把--disableOptimize设为1的话是可以跑通的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants