Skip to content

ADD: segformer_training.py#106

Open
nickswetlin wants to merge 1 commit intomasterfrom
gee-script
Open

ADD: segformer_training.py#106
nickswetlin wants to merge 1 commit intomasterfrom
gee-script

Conversation

@nickswetlin
Copy link
Copy Markdown
Contributor

Takes Jason's work in segformer_training.ipynb and pastes it into segformer_training.py. Logic updated to fix paths and introduce two command line arguments for easy experimenting:

ARG1 -- DATA FOLDER: takes the path (or title, if folder is inside of python_scripts) of the folder containing image data for the Segformer Model to use.

ARG2 -- EXPERIMENT NAME: Unique name for the specific running of this script, determines name of output json file containing classification stats for the Segformer Model on your image data. The name of the output json is '{your_experiment_name}}_norm_stats.json'. By default, the name of this output json is 'gee_segformer_florida_v4_norm_stats.json'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant