The demo produced 2 errors when running.
FileNotFoundError: [Errno 2] No such file or directory: './model/MEFL.py'
MEFL.py needs to be copied from the main repo.
Then once this is fixed:
FileNotFoundError: [Errno 2] No such file or directory: 'pretrain_models/swin_base_patch4_window7_224.pth'
To fix this, add parameter pretrained=False to the constructor on line 148 of ANFL.py so that it changes the line from this:
self.backbone = swin_transformer_base()
to this:
self.backbone = swin_transformer_base(pretrained=False)