Skip to content

Config file description? #7

@maihao14

Description

@maihao14

Hi @yetinam , Compared to tutorial training examples, this training.py is more comprehensive and helpful for training new models based on new data. When I try to rewrite the config JSON file, I meet some difficulties in rewriting my demand.

For example, I saw the README.md mention user could use the local datasets in Seisbench format, but when I replace
"data": "SCEDC" to "data": "./seisbench/datasets/ethz" (which is the path of the downloaded ETHZ dataset) it will raise errors.
Moreover, how to use data.filter in JSON to change the complete built-in dataset? E.g., reduce the samples amount, filter magnitude range? Is it possible to work by rewrite the json file?

Another question is could I load pre_trained weights in this training.py? I.E., how to express sbm.PhaseNet.from_pretrained("stead") in json file (or rewrite some lines of training.py)?

Tutorial 03a_training_phasenet.ipynb is a really user-friendly notebook for training. However, it didn't contain the following part, e.g., export the trained model (weights, logging) to a local folder for later reused, generate performance matrix based on validation set, etc. pick-benchmark have these scripts, so I'd like to create a notebook to extend 03a_training_phasenet.ipynb. I would appreciate it if you could offer some advice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions