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
Feature Request: Fine-tuning #35
Labels
Comments
For now, we can only fine-tune what SAM allows. See the parameters below. It might take sometime before we can support other model fine-tuning. Contributions are always welcome. https://github.com/opengeos/segment-geospatial/blob/main/samgeo/samgeo.py#L43 points_per_side: Optional[int] = 32,
points_per_batch: int = 64,
pred_iou_thresh: float = 0.88,
stability_score_thresh: float = 0.95,
stability_score_offset: float = 1.0,
box_nms_thresh: float = 0.7,
crop_n_layers: int = 0,
crop_nms_thresh: float = 0.7,
crop_overlap_ratio: float = 512 / 1500,
crop_n_points_downscale_factor: int = 1,
point_grids: Optional[List[np.ndarray]] = None,
min_mask_region_area: int = 0,
output_mode: str = "binary_mask", |
so cool,bro! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I know this is a big feature request, but the addition of fine-tuning support would be nice as a component of this package.
TorchGeo could probably be used nicely for sampling from large images when training
The text was updated successfully, but these errors were encountered: