n I am getting error on submitting my Assignment of Week 2 of Advance Learning Algorithm course. Although I have successfully complemented my assignment all the tests are successful it is giving me 0/100 grade. I do not understand the reason behind it. Following are the few screen shots:-
1.
3.
- Getting problem as:
Please help me resolve this issue!
I have resolve this problem my self by taking following steps:
Previously I added following line of line of code:
model.compile(loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True))
model.fit(X,y,epochs=100)
logit=model(X)
f_x=tf.nn.softmax(logits)
that i have written at exercise 2 box. because it was giving me following error:
So I removed these lines of code from exercise 2 box now. And first ran compile line of code provided later by this lab auther than ran this code:
model.summary()
and running rest of lines sequentially later resolve my problem.