Problem in course5 week1 Assignment2

Hi,
I have a problem on the last part of this assignment (Exercise 4 - Model). I’ve passed all tests in the previous exercises, and got the same output as the expected outputs. However, for Exercise 4, my code got different output compared to the expected output after training the model. My code got ‘Trodonosaurus’ as the ‘last name’. In my code the loss in the first iteration is 23.087336, and it is 22.728886 for the 22000 iteration, while the expected value for the last iteration is 40.504758. And I don’t see any problem in my code.
Could anyone help me with that? Thanks!

3 Likes

I have the exact same results as you do for both the final name and the loss value! either there is something wrong with the unit test or both of us are making the same mistake!
Can anyone highlight where it can wrong so commonly?

Just submitting the “debug” output of the function “model” which seems in order!

j = 0 idx = 0
single_example = turiasaurus
single_example_chars [‘t’, ‘u’, ‘r’, ‘i’, ‘a’, ‘s’, ‘a’, ‘u’, ‘r’, ‘u’, ‘s’]
single_example_ix [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]
X = [None, 20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]
Y = [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19, 0]
Iteration: 0, Loss: 23.087336
Nkzxwtdmfqoeyhsqwasjkjvu
Kneb
Kzxwtdmfqoeyhsqwasjkjvu
Neb
Zxwtdmfqoeyhsqwasjkjvu
Eb
Xwtdmfqoeyhsqwasjkjvu

I got the same ‘debug’ output as you!
By the way, are you able to submit the first assignment? I got an error when I tried to submit it.

Yes, I submitted it. But once at Course 4 of the ConvNets, I had a problem with one of the assignments and was getting a 0/100. It turns out it had problem as I was able to submit normally after a while. Please check out this thread :point_down:

Unfortunately I have the same problem.
All the tests seem fine, but at Iteration 22000 I got:

Iteration: 22000, Loss: 22.728886

Onustreofkelus
Llecagosaurus
Mystolojmiaterltasaurus
Ola
Yuskeolongus
Eiacosaurus
Trodonosaurus

which arises an Assertion Error since the last name is not the expected one (which appears to be ‘Usramdooduepos\n’)

Seems to be exactly the same here, down to the last dinosaur.

1 Like

WoW!
Hi mentors, this couldn’t be a coincidence! :grin:
Could we get any feedback about the topic?

Getting the same output as you guys also.

Also getting the same output

+1, I’m getting the same issue aswell.

Soo is there a way to kindly get the attention of the mentors, like tagging them, pinning the post or something? I’m asking since I genuinely don’t know and it seems that they didn’t see it

Good day @paulinpaloalto! Could you kindly look into this issue? Seems like there is a problem with the grader.

Hi,

Thanks for reporting the problem. An issue case is fired, course staffs are working on it.

1 Like

Same thing here. I’ve been scratching my head around this to no avail.

FYI: I had the same issue as everyone is reporting above, but submitted it anyway and the autograder gave me 100/100.

2 Likes

:flushed: I did the same and now the auto grader gives me 100/100 instead of previously 75/100! I guess it’s fixed at least from the grader’s side :man_shrugging:

I’m getting 100 now. But I had to change the clip function a bit, idk if it had any part in it though.

Hi,

The problem is resolved, please refresh your workspace to get new file.
Thanks for your patience.

2 Likes

Hi! I have a similar problem now - with the new version of the assignment. All tests passed, the model appears working, but the result is not the expected ‘Trodonosaurus’.
The last generated name is ‘Saurur’, (Iteration: 22000, Loss: 0.294620 - not the expected
22.728886). Any hints? Thanks! When submitting the assignment, I get 75/100. The grader indicates all functions are correct except for the model().
My last model output follows below. Shouldn’t at least the first name be identical to what is expected ( Onustreofkelus)?
Iteration: 22000, Loss: 0.294620
Iavesaqr
Esitoriasaurus
Esitoriasaurus
Iaeaurus
Urus
Andoravenator
Saurur

2 Likes