Remove superfluous `add_hrnet_config`
Summary: Remove superfluous `add_hrnet_config` in `apply_net`
@@ -16,7 +16,7 @@ from detectron2.engine.defaults import DefaultPredictor
from detectron2.structures.instances import Instances
from detectron2.utils.logger import setup_logger
-from densepose import add_densepose_config, add_hrnet_config
+from densepose import add_densepose_config
from densepose.utils.logger import verbosity_to_level
from densepose.vis.base import CompoundVisualizer
from densepose.vis.bounding_box import ScoredBoundingBoxVisualizer
@@ -106,7 +106,6 @@ class InferenceAction(Action):
):
cfg = get_cfg()
add_densepose_config(cfg)
- add_hrnet_config(cfg)
cfg.merge_from_file(config_fpath)
cfg.merge_from_list(args.opts)
if opts:
