Giter Club home page Giter Club logo

Comments (5)

lorrp1 avatar lorrp1 commented on May 26, 2024

treid running a second time and got this:
Traceback (most recent call last):
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 686, in _call_cpp_shape_fn_impl
input_tensors_as_shapes, status)
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 473, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Dimensions must be equal, but are 784 and 1024 for 'MatMul' (op: 'MatMul') with input shapes: [?,784], [1024,256].

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\lorenzo\AppData\Local\Temp/main.py", line 1524, in
instance_0.Run()
File "C:\Users\lorenzo\AppData\Local\Temp/main.py", line 861, in Run
_y = self._model.Run(self.X)
File "C:\Users\lorenzo\AppData\Local\Temp/main.py", line 1046, in Run
graph = self.model_elements[e].Run(graph, reuse=reuse)
File "C:\Users\lorenzo\AppData\Local\Temp/main.py", line 1181, in Run
h = tf.matmul(h, W) + b
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\math_ops.py", line 1891, in matmul
a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\gen_math_ops.py", line 2436, in _mat_mul
name=name)
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 2958, in create_op
set_shapes_for_outputs(ret)
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 2209, in set_shapes_for_outputs
shapes = shape_func(op)
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 2159, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 627, in call_cpp_shape_fn
require_shape_fn)
File "C:\Users\lorenzo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 691, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Dimensions must be equal, but are 784 and 1024 for 'MatMul' (op: 'MatMul') with input shapes: [?,784], [1024,256].

from ai-blocks.

MrNothing avatar MrNothing commented on May 26, 2024

Hi, that example is quite old, just select the neuron object in the scene and replace 1024 with 784 in the "hidden" array from the properties panel. I will replace the example project, sorry about that.

from ai-blocks.

lorrp1 avatar lorrp1 commented on May 26, 2024

yeah working now

from ai-blocks.

lorrp1 avatar lorrp1 commented on May 26, 2024

is that correct? https://ibb.co/d3X7HG

from ai-blocks.

MrNothing avatar MrNothing commented on May 26, 2024

Yes this is the expected behavior, I am closing the ticket.

from ai-blocks.

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.