-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
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
issue with masks_to_marks mapping #18
Comments
Okay, I just ran the code to confirm it works on our example. It works. Now, let's Try to debug yours.
masks = maestro.extract_relevant_masks(text=response, detections=refined_marks)
masks = np.array([mask for mask in masks.values()])
>>> print(masks)
detections = maestro.masks_to_marks(masks) |
|
@dokooh, I can't open it. |
added your email, let me know if you still can't open so I download the ipynb file and share it. |
I need your image as well. Could you upload it here? |
|
The |
Search before asking
Bug
Hi,
First and foremost thanks for your nice work so far.
I was testing your code with your google collab tutorial, and the mark creation (SAM), visualization and refining goes smoothly. Also the prompt call with marks to gpt4 goes well without any issue and I get response back.
In the part that you try to extract and visualize relevant marks, the resultset of masks_to_marks throws the error shown below.
With the example I used I expect a large output (20-30 marks), if this helps.
Environment
0.1.0rc1
Google collab (T4 vm)
Minimal Reproducible Example
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: