We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello the demo usage code of sam is giving me this error: TypeError: Sam.call() got an unexpected keyword argument 'input_image'
Changing line 28 to:
ret = sam_model.apply( {'params': params}, image = input_image, point_coords = point_coords, point_labels = point_labels, padding_mask = padding_mask, return_image_embedding=True, train=False)
and line 44 to:
ret = sam_model.apply( {'params': params}, image=None, point_coords=point_coords, point_labels=point_labels, padding_mask=padding_mask, image_embeddings=cached_image_embedding, train=False)
fixes the issue, i.e., passing in "image = " argument when calling the sam_model.
The text was updated successfully, but these errors were encountered:
tagging @xingyizhou
Sorry, something went wrong.
No branches or pull requests
Hello the demo usage code of sam is giving me this error:
TypeError: Sam.call() got an unexpected keyword argument 'input_image'
Changing line 28 to:
and line 44 to:
fixes the issue, i.e., passing in "image = " argument when calling the sam_model.
The text was updated successfully, but these errors were encountered: