C3w2 zombi detection custom train issue

got stuck at zombie detection
ValueError: Shapes must be equal rank, but are 3 and 1 for ‘{{node Loss/Loss/Select}} = Select[T=DT_FLOAT](Loss/Loss/IsNan, concat_2, Loss/stack_2)’ with input shapes: [0], [4,51150,4], [0].
and not getting marks for all the previous right steps

You got a problem with your code and it says here with loss calculation, most of the cases for this assignment the problems are at train_step_fn function.

I would go through that function again and not only that through all the previous cells as well.

so you will check and reply or asking me to review because all previous steps gave the desired output

No you will need to check yourself, I am willing to give you some help to guide you through, to help you, so you can move in the right direction!

Hi,

I see in graders output

There was a problem grading your submission. Check stderr for more details.

so how and where do I check stderr??

Hi @gent.spah

I dont see the stderr part of my submission I tried to submit after doing a part of the assignment to see if the grading is working properly but it fails to do so and I don’t know if its an issue from my side or the Framework side

this is your starting point!

but doesn’t it do partial grading? what about the parts before that?

@gent.spah
Fyi I did submit another doing step before train_step_fn to see if I am being graded but it says

There was a problem grading your submission. Check stderr for more details.

So I need to make sure if the grading is working or not

Hi,

I am still not able to figure out. and also there is an issue with a similar example which doesn’t run Interactive_Eager_Few_Shot_OD.ipynb#scrollTo=uZcqD4NLdnf4. Please let me know if you can further help me or give me direction and if not I have to cancel my subscription.
Thanks

Hello, you can send me your notebook in private but it will take sometime because I will be away for a few days (I am using my cell for this).

I always suggest to reset the notebook and redo it again from beginning which you can try to do in meantime.

https://www.coursera.support/s/article/360004995312-Solve-problems-with-Jupyter-Notebooks?language=en_US

Hi @gent.spah ,

I resolved. It could have been faster if I would have got a constructive suggestion at the beginning.

Thanks

Hi, @Debottam_Bakshi_Gupt ,

Whats that constructive suggestion, maybe other learners can use it too. Share with us,

Please Can you share how you got this working, facing the same issue

Hello @gent.spah sir,

I have uploaded week 3 assignment notebook. Kindly guide me through as I am not getting decreasing losses. Thanks in advance.
[ (112.0 KB)

Hello there,

First of all you are not allowed to publish solutions on public. Secondly you should, like everyone else describe your problem and hopefully a mentor who can, will help you.

For now I advise you to have a look at similar posts in this part of the forum, this assignment has a got a few of them. Next if none is helpful to you to reset the assignment or redo it from the beginning, most of the time the errors are typos. You could also let us know where do you suspect the issue might be as well.