I passed all test but when I click on submit assignment, automatic corrector tells me that I have errors even if I have" passed all test correct" green color , what I should do in this case ?
1)first error is ( NameError: name ‘model2’ is not defined)
2) second error is ( NameError: name ‘loss_function’ is not defined)
Same here. Another strange thing is that validation accuracy is always larger than training one, and training loss is always higher than validation one… Do you observe this too?
I think that this is due to the fact that the network is pretrained, hence the training loss/accuracy refer only to the layers that we are considering, since the others are not being updated.
I’m getting the same error. It really is hard to figure out what’s going on when the notebook gives you “All tests passed” but the grader fails in a chunk of hidden code.