Commit 724001df authored by myhloli's avatar myhloli

refactor(layoutlmv3): remove outdated COCO instances registration

parent 13788ca1
......@@ -79,12 +79,13 @@ def setup(args, device):
cfg.freeze()
default_setup(cfg, args)
register_coco_instances(
"scihub_train",
{},
cfg.SCIHUB_DATA_DIR_TRAIN + ".json",
cfg.SCIHUB_DATA_DIR_TRAIN
)
#@todo 可以删掉这块?
# register_coco_instances(
# "scihub_train",
# {},
# cfg.SCIHUB_DATA_DIR_TRAIN + ".json",
# cfg.SCIHUB_DATA_DIR_TRAIN
# )
return cfg
......
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