YOLOv5-tf icon indicating copy to clipboard operation
YOLOv5-tf copied to clipboard

test error

Open fredcrodrigues opened this issue 3 years ago • 3 comments

Hello! your work is very good!

I'm having an error running the test.

follow the log to view

/home/fredson/YOLOv5-tf-master/nets/nn.py:324 call  *
    outputs = tf.map_fn(fn=compute_nms,
/home/fredson/YOLOv5-tf-master/nets/nn.py:165 nms_fn  *
    score_indices = tf.where(backend.greater(score, config.threshold))

AttributeError: module 'utils.config' has no attribute 'threshold'`

fredcrodrigues avatar Jun 01 '21 18:06 fredcrodrigues

I already checked and there really is no 'threshold' attribute in the 'utils.config' module

Would you help me?

fredcrodrigues avatar Jun 01 '21 18:06 fredcrodrigues

this line shows it has, can you update your repo with the latest source code

jahongir7174 avatar Jun 21 '21 03:06 jahongir7174

I might suggest original YOLOv5 for getting a better result

jahongir7174 avatar Nov 29 '21 02:11 jahongir7174