diff options
Diffstat (limited to 'research/lesci/cmd')
| -rw-r--r-- | research/lesci/cmd/lesci/main.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/research/lesci/cmd/lesci/main.go b/research/lesci/cmd/lesci/main.go index bfabfe8..e9c9a99 100644 --- a/research/lesci/cmd/lesci/main.go +++ b/research/lesci/cmd/lesci/main.go @@ -20,6 +20,9 @@ func main() { outPath := flag.String("o", "", "") + goldData := flag.String("gold-data", "", "gold data") + goldStep := flag.Int("gold-step", 0, "gold step") + dry := flag.Bool("dry", false, "") flag.Parse() @@ -54,16 +57,18 @@ func main() { o := path.Join(shelf.Abs(shelf.Item(*outPath)), path.Base(shelf.Abs(shelf.Item(modelPath))), *chkpt) - exptOpts := lesci.Options{ + expOpts := lesci.Options{ ForceContext: false, ForceExtract: true, + GoldDataName: *goldData, + GoldDataStep: *goldStep, } expCfg := lesci.ConfigDefault() expCfg.ClampRulesBeforeFilter = true - e := must(lesci.NewExperiment(m, t, c, d, o, 50256, 5000, expCfg, exptOpts)) + e := must(lesci.NewExperiment(m, t, c, d, o, 50256, 5000, expCfg, expOpts)) if err := m.Init(); err != nil { log.Fatal(err) |
