DevashishPrasad / CascadeTabNet

This repository contains the code and implementation details of the CascadeTabNet paper "CascadeTabNet: An approach for end to end table detection and structure recognition from image-based documents"
MIT License
1.46k stars 422 forks source link

adaption for MMDetection V2+ #103

Closed MrZilinXiao closed 3 years ago

MrZilinXiao commented 3 years ago

some adaptions have been made:

  1. remove num_stages for model (no longer support)
  2. anchor settings of rpn_head should be indicated via anchor_generator instead of anchor_scales, anchor_ratios and anchor_strides
  3. bbox_roi_extractor, bbox_head, mask_roi_extractor and mask_head should be under roi_head instead of being independent under model.
  4. All num_classes should be 80 instead of 81.
  5. SharedFCBBoxHead with num_fcs=2 is now replaced with Shared2FCBBoxHead
  6. target_means, target_stds are now replaced with bbox_coder with corresponding params.

Apart from this config file, you have to use https://github.com/open-mmlab/mmdetection/blob/master/tools/upgrade_model_version.py to upgrade your v1 model !