Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do inferencing err, help me how to solve #2

Open
g00302909 opened this issue Dec 20, 2023 · 0 comments
Open

do inferencing err, help me how to solve #2

g00302909 opened this issue Dec 20, 2023 · 0 comments

Comments

@g00302909
Copy link

test_real_refinement.py:94 inference  *
    pred_invcrf = _lin(C_pred, training= False)
/vsr/SingleHDR-tf2/linearization_net.py:321 call  *
    feature = self.crf_feature_net(
/vsr/SingleHDR-tf2/linearization_net.py:115 call  *
    res4  = self.res4(res3, training)
/vsr/SingleHDR-tf2/linearization_net.py:47 call  *
    output = tf.add(norm1, norm4)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/ops/gen_math_ops.py:345 add  **
    "Add", x=x, y=y, name=name)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/op_def_library.py:750 _apply_op_helper
    attrs=attr_protos, op_def=op_def)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/func_graph.py:592 _create_op_internal
    compute_device)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py:3536 _create_op_internal
    op_def=op_def)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py:2016 __init__
    control_input_ops, op_def)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py:1856 _create_c_op
    raise ValueError(str(e))

ValueError: Dimensions must be equal, but are 144 and 36 for '{{node model_1/crf_feature_net/res_block_type1_1/Add}} = Add[T=DT_FLOAT](model_1/crf_feature_net/res_block_type1_1/batch_normalization_11/FusedBatchNormV3, model_1/crf_feature_net/res_block_type1_1/batch_normalization_14/FusedBatchNormV3)' with input shapes: [1,144,248,512], [1,36,62,512]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant