How to fix "key error 2"

when I am executing following in my system, it throws “key error 2”.

ffsn_multi = FFSN_MultiClass(2,4,[2,3])
ffsn_multi.fit(X_train,y_OH_train,epochs=2000,learning_rate=.005,display_loss=True)

please guide me

Hi @Kalaria_Pinkesh,
I think it has something to do with some member function inside the class that you’ve made, can you please share your notebook so that we can take a look?