Commit edc5e18b authored by yhcao6's avatar yhcao6
Browse files

fix

parent 83644927
...@@ -105,8 +105,8 @@ class TwoStageDetector(BaseDetector, RPNTestMixin, BBoxTestMixin, ...@@ -105,8 +105,8 @@ class TwoStageDetector(BaseDetector, RPNTestMixin, BBoxTestMixin,
bbox_assigner = build_assigner(self.train_cfg.rcnn.assigner) bbox_assigner = build_assigner(self.train_cfg.rcnn.assigner)
bbox_sampler = build_sampler( bbox_sampler = build_sampler(
self.train_cfg.rcnn.sampler, self.train_cfg.rcnn.sampler,
dict(bbox_roi_extractor=self.bbox_roi_extractor, bbox_roi_extractor=self.bbox_roi_extractor,
bbox_head=self.bbox_head)) bbox_head=self.bbox_head)
num_imgs = img.size(0) num_imgs = img.size(0)
assign_results = [] assign_results = []
sampling_results = [] sampling_results = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment