'Error: ImportError: numpy.core.multiarray failed to import
I wanted to run the code with the TensorFlow library and see how computer vision will select objects, I installed the TensorFlow library, wrote this code, took the input image, I also took the model that will distinguish objects, did everything I thought was right. But I see this error `
from pixellib.instance import instance_segmentation
def object_detection_on_an_image():
segment_image = instance_segmentation()
segment_image.load_model("C:/Users/User/Desktop/My Programming/object_detection_in_an_image/mask_rcnn_coco.h5")
segment_image.segmentImage(
image_path="istockphoto.jpg",
output_image_name="output.jpg"
)
if __name__ == '__main__':
main()
I get an error:
numpy.core.multiarray failed to import
File "C:\\Users\\User\\Desktop\\My Programming\\object_detection_in_an_image\\my.py", line 1, in \<module\>
from pixellib.instance import instance_segmentation
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
