mousecpn / FERNet-Pytorch

An unofficial implementation of Dual Refinement Underwater Object Detection Network
MIT License
9 stars 2 forks source link

TypeError: __init__() takes 1 positional argument but 2 were given #5

Open yangg0919 opened 2 years ago

yangg0919 commented 2 years ago

This is an image

My file has not been modified,like pre_head and AnchorHead

yangg0919 commented 2 years ago

This is an image

My file has not been modified,like pre_head and AnchorHead

mousecpn commented 2 years ago

This is an image

My file has not been modified,like pre_head and AnchorHead

which version of mmdet did you use? This repo can run in v 2.17.0 version.

yangg0919 commented 2 years ago

This is an image My file has not been modified,like pre_head and AnchorHead

which version of mmdet did you use? This repo can run in v 2.17.0 version.

maybe my version is too old,it is 2.7.0,I downloaded a new version to try