gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

feat: added api server port setting

Open danielmeloalencar opened this issue 1 year ago • 0 comments

Added the option to modify the default server port in the application settings

#1635

Checklist before requesting a review

  • [x] I have performed a self-review of my code.
  • [ ] If it is a core feature, I have added thorough tests.
  • [ ] I have added thorough documentation for my code.
  • [ ] I have tagged PR with relevant project labels. I acknowledge that a PR without labels may be dismissed.
  • [ ] If this PR addresses a bug, I have provided both a screenshot/video of the original bug and the working solution.

Notes

For the configuration to take effect, you need to restart the application

danielmeloalencar avatar Nov 11 '23 19:11 danielmeloalencar

Could you provide the original input image so that we could perform further analysis? Thanks.

xinghaochen avatar Dec 26 '23 14:12 xinghaochen

give me your email address. I can send you my test images

Meteplus avatar Dec 27 '23 01:12 Meteplus

Thanks for your test images.

  • I notice that the areas around the given prompt points are quite similar to that of background, i.e., both are in white, which make the segmentation of such mask quite difficult. Segmenting the main area of the image by TinySAM obtains reasonable results: image
  • You can also provide additional negative prompt points to obtain the following result:
input_point = np.array([[1300, 100], [200, 300], [2400, 300], [1300, 1100], [100, 100], [2500, 1200]])
input_label = np.array([1, 1, 1, 1, 0, 0])

image

  • Your above results of HQ-SAM are obtained with a relative large model, i.e., ViT-L backbone, which is much larger than TinySAM. The Light HQ-SAM obtains the following result: image

xinghaochen avatar Dec 27 '23 07:12 xinghaochen

yes,i've got better results with negative points,thank you for your reply

Meteplus avatar Dec 27 '23 09:12 Meteplus