0

I am getting this type of error

C:\Users\USER\Downloads\Mask_RCNN-master>python visualize_cv2.py
2023-02-25 00:10:02.147757: W tensorflow/stream_executor/platform/default/dso_loader.cc:64]
Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-02-25 00:10:02.154419: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

Traceback (most recent call last):

File "C:\Users\USER\Downloads\Mask_RCNN-master\visualize_cv2.py", line 5, in
from samples.coco import coco

File "C:\Users\USER\Downloads\Mask_RCNN-master\samples\coco\coco.py", line 56, in
from mrcnn import model as modellib, utils

File "C:\Users\USER\Downloads\Mask_RCNN-master\mrcnn\model.py", line 255, in
class ProposalLayer(KE.Layer):

AttributeError: module 'keras.engine' has no attribute 'Layer'

My current keras and tensorflow are versions 2.5.0 and 2.5.0 respectively please help.

I installed all modules from requirements.txt and did everything else still these errors pops up.

Community
  • 1
  • 1
  • Does this answer your question? [module 'keras.engine' has no attribute 'Layer'](https://stackoverflow.com/questions/67905185/module-keras-engine-has-no-attribute-layer) – Markus Feb 26 '23 at 15:16

0 Answers0