-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor touch-up to finetuning directory (#577)
Refactors the `finetuning` directory and moves old scripts under the `outdated` directory in the respective parent folders
- Loading branch information
Showing
44 changed files
with
43 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Segment Anything Finetuning for Generalists Models | ||
|
||
Code for finetuning segment anything data on multiple microscopy datasets. | ||
|
||
## Finetuning Scripts | ||
|
||
- `training/`: The finetuning scripts for the two microscopy domains covered by `micro_sam`. | ||
- Light Microscopy (LM) | ||
- `light_microscopy/obtain_lm_datasets.py`: Scripts for getting the dataloader from multipe LM datasets. | ||
- `light_microscopy/train_lm_generalist.py`: Finetuning on multiple LM datasets. | ||
- Electron Microscopy (EM) | ||
- `mito_nuc/obtain_mito_nuc_em_datasets.py`: Scripts for getting the dataloader from multiple EM datasets. | ||
- `mito_nuc/train_mito_nuc_em_generalist.py`: Finetuning on multiple EM datasets for segmenting mitochondria and nuclei. | ||
|
||
|
||
## Experimental Scripts | ||
These scripts are a work-in-progress and often under active development. | ||
|
||
- `training/histopathology`: Finetuning Segment Anything on Histopathology datasets. | ||
- `training/electron_microscopy/boundaries`: Finetuning Segment Anything on Electron Microscopy datasets for segmenting boundary-based dense structures. | ||
|
||
> For details on how to run the scripts from above: `python <DATASET>_finetuning.py -h` | ||
|
||
## Outdated Scripts | ||
The scripts located at `outdated/` are not in working purpose with the latest version of `micro-sam`. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 4 additions & 6 deletions
10
finetuning/livecell/README.md → ...g/specialists/outdated/livecell/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters