C4_W4 UNQ_C6 Value Error

I got this value error and I am not able to find what the problem is:

ValueError: Number of weight elements (2) does not equal the number of sublayers (10) in: Serial[
Serial[
ShiftRight(1)
]
Embedding_5_512
Dropout
Serial[
PositionalEncoding
]
Dup_out2
ReversibleSerial_in2_out2[
ReversibleHalfResidualDecoderAttn_in2_out2[
Serial[
LayerNorm
]
SelfAttention
]
ReversibleSwap_in2_out2
ReversibleHalfResidualDecoderFF_in2_out2[
Serial[
LayerNorm
Dense_2048
Dropout
Serial[
FastGelu
]
Dense_512
Dropout
]
]
ReversibleSwap_in2_out2
]
Concatenate_in2
LayerNorm
Dropout
Serial[
Dense_5
]
].

@Mubsi sir, can you please help me???

Hi @Sujan_Kapali1,

You mentioned in this post that your issue is in Ex 6, but have you checked out your Ex 4 ? Your Ex4 is actually failing as well and this is where the problem lies.

Fix your Ex 4 an you’ll see you’ll pass Ex 6.

Cheers,
Mubsi

Thankyou sir @Mubsi. as #end of code flag was there, i did’nt change anything below it and thought it worked.