CascadeTabNet
CascadeTabNet copied to clipboard
TypeError: __init__() got an unexpected keyword argument 'roi_head'
Tried to run the file as given in google colab.
Try to give the v2 of the config file: replace "config_file = 'CascadeTabNet/Config/cascade_mask_rcnn_hrnetv2p_w32_20e.py'" by 'config_file = 'CascadeTabNet/Config/cascade_mask_rcnn_hrnetv2p_w32_20e_v2.py'
Try to give the v2 of the config file: replace "config_file = 'CascadeTabNet/Config/cascade_mask_rcnn_hrnetv2p_w32_20e.py'" by 'config_file = 'CascadeTabNet/Config/cascade_mask_rcnn_hrnetv2p_w32_20e_v2.py'
I tried but still wrong,do you have any other opinions. Thanks.
Try to give the v2 of the config file: replace "config_file = 'CascadeTabNet/Config/cascade_mask_rcnn_hrnetv2p_w32_20e.py'" by 'config_file = 'CascadeTabNet/Config/cascade_mask_rcnn_hrnetv2p_w32_20e_v2.py'
I solved it by "config_file = 'CascadeTabNet/Config/cascade_mask_rcnn_hrnetv2p_w32_20e.py'"