Assignment 3: Question duplicates_Exercise 01 _siamese

hi ,
I am getting bellow errorrs .even though model.summary()matches the expected outputs and weights.



what went wrong ,please help me to resolve

This thread is a duplicate of this one:

1 Like

hi @vemula_suman

Correction required

You do not require to add keepdim=false while adding globalaverage pool 1d layer.

Next while normalising, please use axis of 1 rather 0 as it is target positional element

next the most common blunder is when you recalled branch1 and branch2, while defining both inputs, you have used an incorrect dtype float32, rather you are suppose to use tf.string

please mention output dim as d_feature and in lstm layer mention unit as d_feature rather than using value 128.

Also after make this change.save the work, restart the kernel. then again run cell from beginning one by one till the cell you working on.

Regards
DP

Thank you Deepti .got solved

please tell me, how to tag your name ,if i want to send any post directly

1 Like

when you use @ you get a list of learner responded on this thread or @mention my profile ID name with @ Deepti_Prasad (here there shouldn’t be any space between @ and my name)

ok .thankyou@ Deepti_Prasad

1 Like