Download README.md from MintonTian/DispSAC: direct link, hf CLI and curl.
- Browser
- Download file 1.86 kB
-
https://huggingface.co/MintonTian/DispSAC/resolve/main/README.md
- Command line
-
hf download hf://MintonTian/DispSAC/README.md
-
curl -L -o README.md https://huggingface.co/MintonTian/DispSAC/resolve/main/README.md
license: mit
This is the original model and inference codes used in the paper: "DispSAC: surface-wave inversion using soft actor-critic algorithm of off-policy reinforcement learning", the preprint version can be accessed in https://eartharxiv.org/repository/view/15137/.
The model folder contains two pretrained models for surface-wave inversion:
template_1: trained without a reward penalty.template_2: trained with a reward penalty.
In our tests, template_2 performs more consistently than template_1. One possible explanation is that the penalty introduces additional constraints based on the dispersion observations, helping guide the model toward more consistent predictions.
Most of random Vs initializations can be convergent within 20 forward simulation steps by using 'template_2', expanding the explorative ability of the learned policy a lot.
We have not included a model trained with Vs regularization here. If needed, you can incorporate a regularization term into the reward function during training.
The Inference folder contains the Python code we use for inference. It includes a covariance adaptation mechanism that activates when 50% of the trajectories fail to meet the misfit threshold. You can think of this as gradually narrowing the search regions in the model space.
In most cases, you won’t need this mechanism because template_2 already performs reliably.
DispSAC Training codes can be accessed in the https://github.com/MingtengTian/DispSAC.git
Feel free to download the codes and models and try them out!
Author welcomes the discussions and questions on these codes and data. Feel free to email 12432250@mail.sustech.edu.cn or 2011581722tmt@gmail.com if you have any problems.
