Traceback (most recent call last):


 "E:/re/code/Keras-TextClassification-master/keras_textclassification/m13_CapsuleNet/train.py", line 93, in <module>

train(rate=1)


 "E:/re/code/Keras-TextClassification-master/keras_textclassification/m13_CapsuleNet/train.py", line 74, in train

graph = Graph(hyper_parameters)


 "E:\re\code\Keras-TextClassification-master\keras_textclassification\m13_CapsuleNet\graph.py", line 30, in __init__

super().__init__(hyper_parameters)


 "E:\re\code\Keras-TextClassification-master\keras_textclassification\base\graph.py", line 64, in __init__

self.create_model(hyper_parameters)


 "E:\re\code\Keras-TextClassification-master\keras_textclassification\m13_CapsuleNet\graph.py", line 53, in create_model

share_weights=True)(x)


 "E:\python\lib\site-packages\keras\engine\base_layer.py", line 451, in __call__

output = self.call(inputs, **kwargs)


 "E:\re\code\Keras-TextClassification-master\keras_textclassification\keras_layers\capsule.py", line 276, in call

b = K.permute_dimensions(b, (0, 2, 1))
# shape = [None, input_num_capsule, num_capsule]


 "E:\python\lib\site-packages\keras\backend\tensorflow_backend.py", line 2203, in permute_dimensions

return tf.transpose(x, perm=pattern)


 "E:\python\lib\site-packages\tensorflow\python\ops\array_ops.py", line 1476, in transpose

ret = transpose_fn(a, perm, name=name)


 "E:\python\lib\site-packages\tensorflow\python\ops\gen_array_ops.py", line 10157, in transpose

"Transpose", x=x, perm=perm, name=name)


 "E:\python\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper

op_def=op_def)


 "E:\python\lib\site-packages\tensorflow\python\framework\ops.py", line 3292, in create_op

compute_device=compute_device)


 "E:\python\lib\site-packages\tensorflow\python\framework\ops.py", line 3332, in _create_op_helper

set_shapes_for_outputs(op)


 "E:\python\lib\site-packages\tensorflow\python\framework\ops.py", line 2496, in set_shapes_for_outputs

return _set_shapes_for_outputs(op)


 "E:\python\lib\site-packages\tensorflow\python\framework\ops.py", line 2469, in _set_shapes_for_outputs

shapes = shape_func(op)


 "E:\python\lib\site-packages\tensorflow\python\framework\ops.py", line 2399, in call_with_requiring

return call_cpp_shape_fn(op, require_shape_fn=True)


 "E:\python\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 627, in call_cpp_shape_fn

require_shape_fn)


 "E:\python\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 691, in _call_cpp_shape_fn_impl

raise ValueError(err.message)
ValueError: Dimension must be 5 but is 3 for 'capsule_bojone_1/transpose_7' (op: 'Transpose') with input shapes: [?,16,16,16,?], [3].
Traceback (most recent call last):


 "c:/Reposiroties/projects/um_open/templates/Test/Prometheus_Client.py", line 4, in <module>

from prometheus_client import start_http_server, Summary


 "C:\Software\Python37\lib\site-packages\prometheus_client\__init__.py", line 4, in <module>

from . import exposition


 "C:\Software\Python37\lib\site-packages\prometheus_client\exposition.py", line 31, in <module>

PYTHON26_OR_OLDER = tuple(int(val) for val in sys.version.split()[0].split('.')) < (2, 7, 0)


 "C:\Software\Python37\lib\site-packages\prometheus_client\exposition.py", line 31, in <genexpr>

PYTHON26_OR_OLDER = tuple(int(val) for val in sys.version.split()[0].split('.')) < (2, 7, 0)
ValueError: invalid literal for int() with base 10: '0a2'
