Bharathi
  • Member for 1 year, 9 months
  • Last seen more than a month ago
awarded
awarded
comment

I initialized b = 0 in the main function and passed it to this function for training

comment

thanks for pointing it out . Rectified it but still it doesn't help with the error .

revised

edited title

Loading…
comment

So this error won't go away?

asked
Loading…
accepted
asked
Loading…
asked
Loading…
awarded
comment

Oh okay . So , do you have any other idea ?

comment

Sadly , that doesn't work either . It gives me an error " _score() missing 1 required positional argument: 'y_true' " . Perhaps gridsearch can just not be applied to gensim's Word2vec ?

comment

Tried it and getting the following error :" ValueError: scoring value <function accuracy_score at 0x000001FDA62A6558> looks like it is a metric function rather than a scorer. A scorer should require an estimator as its first parameter. Please use make_scorer to convert a metric to a scorer."

awarded
asked
Loading…
accepted
asked
Loading…
comment

Thanks for the answer , but how does multiplying the box dimensions by 720x1280 solve the problem ? ( This is what is done in the scale_boxes function ) . On observing the results after scaling , I found the boxes's length/width to be greater than 2000 . Shouldn't they be confined to the range ( 720 , 1280 ) ?

awarded