Open tarunn2799 opened 2 years ago
While you wait for the author to reply, I would suggest you to try Pytorch Image Models Library! (pip install timm)
The following link provides a super cool demo of how you can use different backbones (currently only CNN based) and get multi-scale features like the author used in his implementation :)
Hi, @tarunn2799, thanks for your attention. Sorry that we did not use HRNet as the backbone, but we have tried EfficientNet and obtained better results. If you want to change the backbone, you have to retrain the model. You may try the library shared by @mylifeasazucchini to replace the following code that define the backbone: https://github.com/ZHKKKe/MODNet/blob/b3b6964a58562c2220b0d6a0608689722f927abd/src/models/modnet.py#L216
Why not consider using the MobileNetV3 network as the backbone in the MODNet model instead of MobileNetV2?
Hey, great work on MODNet! I'm looking to try out modnet with a HRNet backbone for better results. Would you happen to already have the model function for HRNet that I can use instead of Mobilenetv2? If not, How do I go about adding this?