Help me sir, can’t pass accuracy, stuck, help me if I forget something, please
screenshot removed as it included grade cell codes and posting codes is against community guidelines
Help me sir, can’t pass accuracy, stuck, help me if I forget something, please
avoid posting any screenshot which shows grade cells codes. it is against community guidelines.
You haven’t mentioned anything about why you are unable to pass the grader.
Rather than posting codes, you could have posted screenshot of your failed grader with show grader output which provides information on why you failed assignment on grading.
ok sir, sorry. I’m working on advanced computer vision saliency maps assignment, I’m using loss sparse categorical crossentropy, I believe it’s all correct, but the accuracy is not sufficient, what am I missing?
kindly go through below post comment
let me know if you are still not able to get the accuracy
in my code there is already: the last layer model.add(Dense(2,activation=‘softmax’)), then there is also for image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB), and in compile, I also have model.compile(loss=‘sparse_categorical_crossentropy’,metrics=[‘accuracy’],optimizer=tf.keras.optimizers.RMSprop(lr=0.001))
but still error sir
can you just post the screenshot of the error. please don’t post any codes