We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the file: mmseg/models/segmentors/depth_estimator.py, line 326 url, the code:
mmseg/models/segmentors/depth_estimator.py
if self.test_cfg.mode == 'slide': depth_map = self.slide_inference(inputs, batch_img_metas) if self.test_cfg.mode == 'slide_flip': depth_map = self.slide_flip_inference(inputs, batch_img_metas) else: depth_map = self.whole_inference(inputs, batch_img_metas)
if test_cfg.mode == 'slide', then the whole_inference will run. It should be:
test_cfg.mode == 'slide'
whole_inference
if self.test_cfg.mode == 'slide': depth_map = self.slide_inference(inputs, batch_img_metas) elif self.test_cfg.mode == 'slide_flip': depth_map = self.slide_flip_inference(inputs, batch_img_metas) else: depth_map = self.whole_inference(inputs, batch_img_metas)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the file:
mmseg/models/segmentors/depth_estimator.py
, line 326 url, the code:if
test_cfg.mode == 'slide'
, then thewhole_inference
will run. It should be:The text was updated successfully, but these errors were encountered: