Skip to content

Commit

Permalink
[ADD] sh for bb
Browse files Browse the repository at this point in the history
  • Loading branch information
FilLTP89 committed Jul 20, 2020
1 parent 2ed7513 commit b86bf9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.tex.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Each action implies the choice of a corresponding `strategy` (to be specified in
Extra keywords can be added as column's headers in the `strategy.txt` file: they are needed for comparison purposes and/or to test the discriminator performances.
### Signal Databases

To train/test the different `DCAAE`, an extraction of 5000 signals from the [STEAD database](https://github.com/smousavi05/STEAD/) is provided in the `database` folder. Seismic signals are 40.96 s-long, sampled at 100 Hz (`nt`=4096 time steps).
To train/test the different `DCAAE`, an extraction of 100 signals from the [STEAD database](https://github.com/smousavi05/STEAD/) is provided in the `database` folder. Seismic signals are 40.96 s-long, sampled at 100 Hz (`nt`=4096 time steps).

- `ths_trn_nt4096_ls128_nzf8_nzd32.pth`: training set (80%)
- `ths_tst_nt4096_ls128_nzf8_nzd32.pth`: testing set (10%)
Expand All @@ -65,7 +65,7 @@ To train/test the different `DCAAE`, an extraction of 5000 signals from the [STE
`nzf`: latent space channels (`filtered`)

<p align="center">
<img src="MRD_eqk_scatter.png" width="350" height="350" title="Figure 1: Hypocentral distance $R_{hyp}$, magnitude $M_W$ and depth distribution of the earthquake sources">
<img src="MRD_eqk_scatter.png" width="350" height="233" title="Figure 1: Hypocentral distance, magnitude and depth distribution of the earthquake sources">
</p>

##
5 changes: 5 additions & 0 deletions run-gpu-bb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
export PYTHONPATH="./src"

python3 ./src/aae_drive_bbfl.py --dataroot='./database/stead' --dataset='nt4096_ls128_nzf8_nzd32.pth' --cutoff=1. --imageSize=4096 --latentSize=128 --niter=1 --cuda --ngpu=1 --nzd=32 --rlr=0.0001 --glr=0.0001 --outf='./imgs' --workers=8 --nsy=5000 --batchSize=100 --actions='./actions_bb_plt.txt' --strategy='./strategy_bb_plt.txt'

0 comments on commit b86bf9b

Please sign in to comment.