SwinTextSpotter
SwinTextSpotter copied to clipboard
Hi, I have a little question.
How can I find the model called "swin_imagenet_pretrain.pth" in SWINTS-swin-pretrain.yaml? I'm a beginner, So I don't know how to find that file. I just want to run pretrained SWINTS codes..
Traceback (most recent call last): File "projects/SWINTS/train_net.py", line 134, in <module> launch( File "/home/pirl/Desktop/OCR/SwinTextSpotter/detectron2/engine/launch.py", line 82, in launch main_func(*args) File "projects/SWINTS/train_net.py", line 127, in main trainer.resume_or_load(resume=args.resume) File "/home/pirl/Desktop/OCR/SwinTextSpotter/detectron2/engine/defaults.py", line 353, in resume_or_load checkpoint = self.checkpointer.resume_or_load(self.cfg.MODEL.WEIGHTS, resume=resume) File "/home/pirl/anaconda3/envs/ocr_swints/lib/python3.8/site-packages/fvcore/common/checkpoint.py", line 227, in resume_or_load return self.load(path, checkpointables=[]) File "/home/pirl/anaconda3/envs/ocr_swints/lib/python3.8/site-packages/fvcore/common/checkpoint.py", line 153, in load assert os.path.isfile(path), "Checkpoint {} not found!".format(path) AssertionError: Checkpoint swin_imagenet_pretrain.pth not found!
You can download it from this link