GithubHelp home page GithubHelp logo

Comments (6)

peterjc123 avatar peterjc123 commented on May 2, 2024

@steven9046 我们这边支持一下,稍等

from tinyneuralnetwork.

peterjc123 avatar peterjc123 commented on May 2, 2024

@steven9046 好了,重新安装一下试试

from tinyneuralnetwork.

steven9046 avatar steven9046 commented on May 2, 2024

又提示了这个错误:

/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.

peterjc123 avatar peterjc123 commented on May 2, 2024

@steven9046 抱歉,昨天实现的有些问题,现在应该好了,重新安装下试试

from tinyneuralnetwork.

steven9046 avatar steven9046 commented on May 2, 2024

好使了:thumbsup::thumbsup::thumbsup:
这项目太棒了!要好好学习一下

from tinyneuralnetwork.

peterjc123 avatar peterjc123 commented on May 2, 2024

谢谢支持,这个问题我先关了

from tinyneuralnetwork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.