Comments (6)
@steven9046 我们这边支持一下,稍等
from tinyneuralnetwork.
@steven9046 好了,重新安装一下试试
from tinyneuralnetwork.
又提示了这个错误:
/home/vipuser/miniconda3/lib/python3.8/site-packages/torch/jit/_trace.py:934: TracerWarning: Encountering a list at the output of the tracer might cause the trace to be incorrect, this is only valid if the container structure does not change based on the module's inputs.Consider using a constant container instead (e.g. for `list`, use a `tuple` instead. for `dict`, use a `NamedTuple` instead). If you absolutely need this and know the side effects, pass strict=False to trace() to allow this behavior.
module._c._create_method_from_trace(
Traceback (most recent call last):
File "convert.py", line 47, in <module>
main_worker()
File "convert.py", line 44, in main_worker
converter.convert()
File "/home/vipuser/miniconda3/lib/python3.8/site-packages/TinyNeuralNetwork-0.1.0+02d74089524c0f37c6c5a73e04ce375a65e1d254-py3.8.egg/tinynn/converter/base.py", line 285, in convert
self.init_operations()
File "/home/vipuser/miniconda3/lib/python3.8/site-packages/TinyNeuralNetwork-0.1.0+02d74089524c0f37c6c5a73e04ce375a65e1d254-py3.8.egg/tinynn/converter/base.py", line 250, in init_operations
converter.parse(node, attrs, args, self.common_graph)
File "/home/vipuser/miniconda3/lib/python3.8/site-packages/TinyNeuralNetwork-0.1.0+02d74089524c0f37c6c5a73e04ce375a65e1d254-py3.8.egg/tinynn/converter/operators/torch/aten.py", line 2067, in parse
self.handle_reduce(tfl.SumOperator, graph_converter, False)
File "/home/vipuser/miniconda3/lib/python3.8/site-packages/TinyNeuralNetwork-0.1.0+02d74089524c0f37c6c5a73e04ce375a65e1d254-py3.8.egg/tinynn/converter/operators/torch/base.py", line 398, in handle_reduce
self.output_tensors[0] = self.output_tensors[0].view(1)
RuntimeError: shape '[1]' is invalid for input of size 361
from tinyneuralnetwork.
@steven9046 抱歉,昨天实现的有些问题,现在应该好了,重新安装下试试
from tinyneuralnetwork.
好使了:thumbsup::thumbsup::thumbsup:
这项目太棒了!要好好学习一下
from tinyneuralnetwork.
谢谢支持,这个问题我先关了
from tinyneuralnetwork.
Related Issues (20)
- Meet Detailed error: Tensor-likes are not close! using TFLiteConverter HOT 2
- [Converter] Need transpose optimization HOT 2
- Float model failed to convert to TFLite
- [converter] map gather(+reshape) ops with seperate consecutive indices to split(unpack) ops
- 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
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.