The article Tutorial - EfficientViT requires some updates for newbies like me:
- The model file has been relocated to a new folder at HuggingFace
- The model filename has the prefix efficientvit_sam_
- The Python script benchmark.py needs the default argument parameter changed vis-a-vis the new filename
- Resolution needed for the following error message when the script is run:
Re-running
torch.loadwith
weights_onlyset to
False will likely succeed, but it can result in arbitrary code execution.
The last one is above my job grade. Guidance will be appreciated. Thanks.
Regards.