Sess.run return model weights in bytes from protobuf file. How to handle it?

I’m trying to extract the model weights from a saved model in a .pb file. However, when I run sess it returns the model weights in bytes and I cannot read it. My code follows:

constant_values = {}
with tf.compat.v1.Session(graph=tf.Graph()) as sess:
    meta_graph = tf.compat.v1.saved_model.loader.load(sess,[tf.compat.v1.saved_model.tag_constants.SERVING],'model_2/1/')
    tf.import_graph_def(meta_graph.graph_def, name='')
    constant_ops = [op for op in sess.graph.get_operations() if op.type == "Const"]
    x=0
    for constant_op in constant_ops:
        x = constant_op.outputs[0]
        value =  sess.run(constant_op.outputs[0])
        constant_values[constant_op.name] = valu
        
        print(constant_op.name, value)

Here is a piece of what it returns:

b'\n\x1b\n\t\x08\x01\x12\x05model\n\x0e\x08\x02\x12\nsignatures\n\xe2\x01\n\x18\x08\x03\x12\x14layer_with_weights-0\n\x0b\x08\x03\x12\x07layer-0\n\x0b\x08\x04\x12\x07layer-1\n\x18\x08\x05\x12\x14layer_with_weights-1\n\x0b\x08\x05\x12\x07layer-2\n\r\x08\x06\x12\tvariables\n\x17\x08\x07\x12\x13trainable_variables\n\x19\x08\x08\x12\x15regularization_losses\n\r\x08\t\x12\tkeras_api\n\x0e\x08\n\x12\nsignatures\n#\x08\x0b\x12\x1f_self_saveable_object_factories\n\x00\n\x92R\n\x0b\x08\x0c\x12\x07layer-0\n\x0b\x08\r\x12\x07layer-1\n\x18\x08\x0e\x12\x14layer_with_weights-0\n\x0b\x08\x0e\x12\x07layer-2\n\x0b\x08\x0f\x12\x07layer-3\n\x18\x08\x10\x12\x14layer_with_weights-1\n\x0b\x08\x10\x12\x07layer-4\n\x18\x08\x11\x12\x14layer_with_weights-2...

I have tried tf.io.decode_raw(constant_values['Const'], tf.float16).numpy() to convert it, what gives me a flat array of values. But they don’t look very much with model weights since it has many integers values. I’ve tried dtype= tf.float32 but it tells me InvalidArgumentError: Input to DecodeRaw has length 215978 that is not a multiple of 4, the size of float [Op:DecodeRaw]

Thanks,