tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

error executing model.summary()

Open ahmad212133 opened this issue 1 year ago • 0 comments

When i execute model.summary() in google collab it throw bellow error

ValueError Traceback (most recent call last) in <cell line: 1>() ----> 1 model.summary()

1 frames /usr/local/lib/python3.10/dist-packages/optree/ops.py in tree_map(func, tree, is_leaf, none_is_leaf, namespace, *rests) 745 leaves, treespec = _C.flatten(tree, is_leaf, none_is_leaf, namespace) 746 flat_args = [leaves] + [treespec.flatten_up_to(r) for r in rests] --> 747 return treespec.unflatten(map(func, *flat_args)) 748 749

ValueError: Undefined shapes are not supported.

ahmad212133 avatar Oct 05 '24 17:10 ahmad212133