# Course 4 Week 3 Assignment 1: AttributeError: module 'tensorflow.\_api.v2.image' has no attribute 'non\_max\_suppresssion'

**URL:** <https://community.deeplearning.ai/t/course-4-week-3-assignment-1-attributeerror-module-tensorflow-api-v2-image-has-no-attribute-non-max-suppresssion/28896>\
**Category:** Convolutional Neural Networks\
**Tags:** coursera-platform\
**Created:** [August 14, 2021, 10:05pm UTC](https://community.deeplearning.ai/t/course-4-week-3-assignment-1-attributeerror-module-tensorflow-api-v2-image-has-no-attribute-non-max-suppresssion/28896 "2021-08-14T22:05:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.brent](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@michael.brent](https://community.deeplearning.ai/u/michael.brent)\
**Post date:** [August 14, 2021, 10:05pm UTC](https://community.deeplearning.ai/t/course-4-week-3-assignment-1-attributeerror-module-tensorflow-api-v2-image-has-no-attribute-non-max-suppresssion/28896/1 "2021-08-14T22:05:20Z")

</div>

My code:

```auto
nms_indices = tf.image.non_max_suppresssion(boxes, scores, max_boxes, iou_threshold)

```

is producing

```auto
AttributeError: module 'tensorflow._api.v2.image' has no attribute 'non_max_suppresssion'

```

I have reloaded all the libraries from the top and checked the spelling of the function against the documentation. I appreciate any insight you can give.

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [August 15, 2021, 5:08am UTC](https://community.deeplearning.ai/t/course-4-week-3-assignment-1-attributeerror-module-tensorflow-api-v2-image-has-no-attribute-non-max-suppresssion/28896/2 "2021-08-15T05:08:35Z")

</div>

You used too many ‘s’ characters:  
suppresssion  
vs.  
suppression
