File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1313from detectron2 .export import Caffe2Tracer , add_export_config
1414from detectron2 .export .torchscript import dump_torchscript_IR , export_torchscript_with_instances
1515from detectron2 .modeling import GeneralizedRCNN , build_model
16+ from detectron2 .projects .point_rend import add_pointrend_config
1617from detectron2 .structures import Boxes
1718from detectron2 .utils .env import TORCH_VERSION
1819from detectron2 .utils .logger import setup_logger
@@ -23,6 +24,7 @@ def setup_cfg(args):
2324 # cuda context is initialized before creating dataloader, so we don't fork anymore
2425 cfg .DATALOADER .NUM_WORKERS = 0
2526 cfg = add_export_config (cfg )
27+ add_pointrend_config (cfg )
2628 cfg .merge_from_file (args .config_file )
2729 cfg .merge_from_list (args .opts )
2830 cfg .freeze ()
You can’t perform that action at this time.
0 commit comments