-
Notifications
You must be signed in to change notification settings - Fork 14
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
Remove small labels: Unclear prompt #111
Comments
Interesting! That's an issue I barely hit in practice; but I can confirm your observation. Chatgpt produced pretty much the same code on my side. That means we have to update many test cases... How about doing this on a separate branch, and comparing the performance on a single model ( old versus new docstrings ) just for documentation purposes? |
Sounds good to me! But, who does it? Do you think one of the other contributors could be motivated? And the devil's in the detail here:
Instead of This could also one way, to recommend using prompts with meaningful variable names. for example:
Or
Basically, whenever needed specify the type in the variable name. I am not sure what's best practice here... |
I would still try to have the text close to how humans speak. "An numpy image" or "A numpy-array image" seems ok. I'm also using |
I can do it. It takes longer to explain this to someone than doing it. |
All right, so would you then, for consistency, change |
Yes, or something like "label image as numpy array" to be a bit more human-readable |
Hi @haesleinhuepf,
Here the prompt is:
Takes a label_image and removes all objects that are smaller than a given size_threshold.
While this may just be precise enough I am not sure whether we should be a bit more specific.
I just tried with chatGTP the following:
So, saying that the "input is an image" could be either interpreted as it being a path to an image or a numpy array (and maybe even something else).
I am wondering whether we should make our prompts more specific, like:
The text was updated successfully, but these errors were encountered: