I'm getting weird results when usin external model inference with the mapanything model name. I think it is due to using:
model = init_model_from_config(args.model_name, device=device)
And the function not initializing the model weights to the model checkpoint, since normal inference with MapAnything class are working fine:
model = MapAnything.from_pretrained("facebook/map-anything").to(device)
The rest of the external models work fine.
Am I making any mistakes?
By the way, great work. Much appreciated!!