C3_W3_Exercise2

My codes generated 2.41 instead of 0.70. Any advice?

Will advice from anyone?

I’ve just started this course so will let you know when I get there.

1 Like

@pongyuenlam I am working on this week / assignment tomorrow, so I should have an answer for you (or, err… more like, ‘at least a best guess’-- Seeing as I am taking it and it is not like they secretly give me the answers or something).

I will let you know then.

** However, said that though now that I am thinking about the videos I’ve watch so far, I mean isn’t the range for the triplet loss supposed to be like min -1 max 1 ?

So how did you get 2 something ? I would check how you calculated/put together/implemented your

TripletLossFn() (i.e. are your calcs for cosine distance right ?)

otherwise, like I said, till then…

Hi @pongyuenlam

go through below comment links

let me know if you still have issue.

Regards
DP

2 Likes

@Deepti_Prasad @Nevermnd Thanks a lot for the advice and suggestion. @Deepti_Prasad Your following suggestion can help me pass all tests of this exercise. “check if the score codes is recalled as (v2, v1, transpose_b=true), note v2 is placed before v1”

2 Likes