You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<pyshell#5>", line 1, in
model = mask_rcnn.MaskRCNN(mode="inference", config=configs, model_dir=os.getcwd())
File "C:\Users\Admin\Desktop\666\Project\mask_rcnn\model.py", line 1907, in init
self.keras_model = self.build(mode=mode, config=config)
File "C:\Users\Admin\Desktop\666\Project\mask_rcnn\model.py", line 2114, in build
[rpn_rois, mrcnn_class, mrcnn_bbox, input_image_meta])
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 662, in call
outputs = call_fn(inputs, *args, **kwargs)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 169, in wrapper
raise e.ag_error_metadata.to_exception(type(e))
ValueError: in converted code:
relative to C:\Users\Admin:
Hi,
I am currently working on fixing this issue.
This is actually adapted from a Mask R-CNN implementation that was built for TF 1.8. Since TF 2.0 is eager by default, the batch utils cannot slice an eager tensor that has None in the shape and hence this error.
Thank you for checking it out. Will provide an update soon.
Traceback (most recent call last):
File "<pyshell#5>", line 1, in
model = mask_rcnn.MaskRCNN(mode="inference", config=configs, model_dir=os.getcwd())
File "C:\Users\Admin\Desktop\666\Project\mask_rcnn\model.py", line 1907, in init
self.keras_model = self.build(mode=mode, config=config)
File "C:\Users\Admin\Desktop\666\Project\mask_rcnn\model.py", line 2114, in build
[rpn_rois, mrcnn_class, mrcnn_bbox, input_image_meta])
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 662, in call
outputs = call_fn(inputs, *args, **kwargs)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 169, in wrapper
raise e.ag_error_metadata.to_exception(type(e))
ValueError: in converted code:
relative to C:\Users\Admin:
你好,感谢您的代码
我在运行代码maskrcnn时候报错了
我的环境 win10
tensorflow-gpu-beta1
代码:
model = mask_rcnn.MaskRCNN(mode="inference", config=configs,model_dir=os.getcwd())
就报错了
因为这是一个巨大的项目,代码量很大,我很难检查出来
The text was updated successfully, but these errors were encountered: