PointRend errors #5039
Unanswered
harshshah1122
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
code:
point_rend.add_pointrend_config(self.cfg) self.cfg.merge_from_file("detectron2_repo/projects/PointRend/configs/InstanceSegmentation/pointrend_rcnn_R_50_FPN_3x_coco.yaml") self.cfg.MODEL.WEIGHTS = "detectron2://PointRend/InstanceSegmentation/pointrend_rcnn_R_50_FPN_3x_coco/164955410/model_final_edd263.pkl" self.cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.7
error:
Traceback (most recent call last):
File "/Users/harshshah/Documents/VisualStudioCode/Python/project/main.py", line 3, in
detector = Detector(model_type="PR")
File "/Users/harshshah/Documents/VisualStudioCode/Python/project/detetor.py", line 22, in init
self.cfg.merge_from_file("detectron2_repo/projects/PointRend/configs/InstanceSegmentation/pointrend_rcnn_R_50_FPN_3x_coco.yaml")
File "/Users/harshshah/anaconda3/envs/detectron2/lib/python3.8/site-packages/detectron2/config/config.py", line 45, in merge_from_file
assert PathManager.isfile(cfg_filename), f"Config file '{cfg_filename}' does not exist!"
AssertionError: Config file 'detectron2_repo/projects/PointRend/configs/InstanceSegmentation/pointrend_rcnn_R_50_FPN_3x_coco.yaml' does not exist!
Can someone please HELP MEE!!!!
Beta Was this translation helpful? Give feedback.
All reactions