DevashishPrasad/CascadeTabNet

TypeError: CascadeRCNN: __init__() got an unexpected keyword argument 'num_stages'

meet1919 opened this issue · 9 comments

Can't get rid of this error. It seems like error comes from the model while loading the model

config_file = './Config/cascade_mask_rcnn_hrnetv2p_w32_20e_v2.py'

Use v2 for your config file

I did it but than again another error comes
AttributeError: 'str' object has no attribute 'show_result'

pls check your function call its not correct
show_result_pyplot(img, result,('Bordered', 'cell', 'Borderless'), score_thr=0.85)
show_result_pyplot(model, img, result, score_thr=0.5)

I used the later one that is show_result_pyplot(model, img, result, score_thr=0.5). No error came but it just displays input image. No cells or table are detected

I am also stuck at the same problem

when the version of mmdetection is 1.2.0, everything was ok. However when I upgrade mmdetection to the latest version, I got the same problem. May I ask is there anyway to use cascadetablenet with latest mmdetection version?

i have the same problem,how to salve it

I believe that the configs is not compatible with the later mmdet version anymore .
You guys can reference this dicussion #77

You can find the answer from this demo.