Comments (3)
不会啊,我们本地有3.6的测试环境啊,你能把安装错误发一下不?
from tinyneuralnetwork.
在Linux用douban的pypi源会出现下面的错误:
$pip install --no-cache-dir -i http://pypi.douban.com/simple git+https://github.com/alibaba/TinyNeuralNetwork.git
Looking in indexes: http://pypi.douban.com/simple
Collecting git+https://github.com/alibaba/TinyNeuralNetwork.git
Cloning https://github.com/alibaba/TinyNeuralNetwork.git to /tmp/pip-req-build-n1unjisv
Running command git clone -q https://github.com/alibaba/TinyNeuralNetwork.git /tmp/pip-req-build-n1unjisv
Resolved https://github.com/alibaba/TinyNeuralNetwork.git to commit 6f95a6ff26e1e30ab2a609119da1fa06e1da2607
Collecting numpy>=1.18.5
Downloading http://pypi.doubanio.com/packages/14/32/d3fa649ad7ec0b82737b92fefd3c4dd376b0bb23730715124569f38f3a08/numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)
|████████████████████████████████| 14.8 MB 76.7 MB/s
Collecting PyYAML>=5.3.1
Downloading http://pypi.doubanio.com/packages/b3/85/79b9e5b4e8d3c0ac657f4e8617713cca8408f6cdc65d2ee6554217cedff1/PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
|████████████████████████████████| 603 kB 100.6 MB/s
Collecting ruamel.yaml>=0.16.12
Downloading http://pypi.doubanio.com/packages/cb/30/2d76730ade03303d1c4deb0742a4fbe374e072a4eeb9e1d08f5140f7ddd2/ruamel.yaml-0.17.20-py3-none-any.whl (109 kB)
|████████████████████████████████| 109 kB 136.3 MB/s
ERROR: Could not find a version that satisfies the requirement python-igraph>=0.9.6 (from tinyneuralnetwork) (from versions: none)
ERROR: No matching distribution found for python-igraph>=0.9.6
但是这边切到清华源就好了
$pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple git+https://github.com/alibaba/TinyNeuralNetwork.git
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting git+https://github.com/alibaba/TinyNeuralNetwork.git
Cloning https://github.com/alibaba/TinyNeuralNetwork.git to /tmp/pip-req-build-99hzjnsk
Running command git clone -q https://github.com/alibaba/TinyNeuralNetwork.git /tmp/pip-req-build-99hzjnsk
Resolved https://github.com/alibaba/TinyNeuralNetwork.git to commit 6f95a6ff26e1e30ab2a609119da1fa06e1da2607
Collecting numpy>=1.18.5
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/14/32/d3fa649ad7ec0b82737b92fefd3c4dd376b0bb23730715124569f38f3a08/numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)
|████████████████████████████████| 14.8 MB 9.8 MB/s
Collecting PyYAML>=5.3.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b3/85/79b9e5b4e8d3c0ac657f4e8617713cca8408f6cdc65d2ee6554217cedff1/PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
|████████████████████████████████| 603 kB 2.9 MB/s
Collecting ruamel.yaml>=0.16.12
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/cb/30/2d76730ade03303d1c4deb0742a4fbe374e072a4eeb9e1d08f5140f7ddd2/ruamel.yaml-0.17.20-py3-none-any.whl (109 kB)
|████████████████████████████████| 109 kB 13.0 MB/s
Collecting python-igraph>=0.9.6
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/50/29/b8c722b48a8d5a63a5d32668dd3cdf6352c62a9761adcfbbd2283d19c384/python_igraph-0.9.9-py3-none-any.whl (9.1 kB)
Collecting tflite==2.3.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/52/27/ad85e415b6022f72e40b667e16c9479a3080b936cca177a3611a1792e1ff/tflite-2.3.0-py2.py3-none-any.whl (79 kB)
|████████████████████████████████| 79 kB 16.0 MB/s
Collecting futures3>=1.0.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c1/1b/348d0fd38cee417c9208d7dd80ab12b07b8dcb6e96507b04b95160fbd6d2/futures3-1.0.0-py3-none-any.whl (18 kB)
Collecting flatbuffers
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3d/d0/26033c70d642fbc1e35d3619cf3210986fb953c173b1226709f75056c149/flatbuffers-2.0-py2.py3-none-any.whl (26 kB)
Collecting igraph==0.9.9
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/01/e7/331b6307733c530b535d6efff591152345a2642c90354987e893f504b33d/igraph-0.9.9-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
|████████████████████████████████| 3.1 MB 12.9 MB/s
Collecting texttable>=1.6.2
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/75/23/8170868d04b153b1b9ed1bb84348212bb4a08f31b292ef9d7f6ea648fd49/texttable-1.6.4-py2.py3-none-any.whl (10 kB)
Collecting ruamel.yaml.clib>=0.2.6
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2a/25/5b1dfc832ef3b83576c546d1fb3e27f136022cdd1008aab290a1e28ef220/ruamel.yaml.clib-0.2.6-cp36-cp36m-manylinux1_x86_64.whl (552 kB)
|████████████████████████████████| 552 kB 110.3 MB/s
Building wheels for collected packages: TinyNeuralNetwork
Building wheel for TinyNeuralNetwork (setup.py) ... done
Created wheel for TinyNeuralNetwork: filename=TinyNeuralNetwork-0.1.0+6f95a6ff26e1e30ab2a609119da1fa06e1da2607-py3-none-any.whl size=177980 sha256=88aac0d2d8b724efe2973aa986c1695fb0a16e932215c475ffde9ef23e38e738
Stored in directory: /tmp/pip-ephem-wheel-cache-npigjg9f/wheels/97/59/f0/f4e7d563f8bc9f303835d6d3b29b6a80c46bd042cfef2f090f
Successfully built TinyNeuralNetwork
Installing collected packages: texttable, ruamel.yaml.clib, numpy, igraph, flatbuffers, tflite, ruamel.yaml, PyYAML, python-igraph, futures3, TinyNeuralNetwork
Successfully installed PyYAML-6.0 TinyNeuralNetwork-0.1.0+6f95a6ff26e1e30ab2a609119da1fa06e1da2607 flatbuffers-2.0 futures3-1.0.0 igraph-0.9.9 numpy-1.19.5 python-igraph-0.9.9 ruamel.yaml-0.17.20 ruamel.yaml.clib-0.2.6 texttable-1.6.4 tflite-2.3.0
from tinyneuralnetwork.
所以这边建议更换源再试试,如果还有问题请重新打开这个issue。
from tinyneuralnetwork.
Related Issues (20)
- tinynn.converter module not found! HOT 2
- [CI] several tests for modifier failed
- Whether to support pytorch to keras HOT 1
- TransposeConv wrong shape? HOT 15
- change input to INT8 after converting to tflite HOT 2
- [converter] implement torch's `aten::scaled_dot_product_attention` operator HOT 2
- Request: clamp would be more efficient to go to Bounded Relu than Maximum + Minimum HOT 3
- Do not support PReLU module? HOT 5
- torch.max not working HOT 2
- OneShotChannelPruner results in the miss of some operators HOT 4
- KeyError when executing quantization HOT 5
- PyTorch 转 TFLite 使用 int8 量化 HOT 4
- Does tinynn support following int16 quantization? HOT 1
- jit.trace succeed but tinynn tracer failed HOT 1
- It became larger after converting to tflite model HOT 4
- how to do Post-training integer quantization with int16 activation HOT 4
- unnecessary float() variables cause quantization to fail. HOT 7
- aten::index nodes take multiple indices in PyTorch model but cause an error when trying to convert to TFLite HOT 1
- aten::repeat_interleave is considered an unsupported Tensor and causing an error when trying to convert to TFLite HOT 2
- convert model error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyneuralnetwork.