From ddb69d1451dff2275fcec2c351cdbe11ae81bab5 Mon Sep 17 00:00:00 2001 From: xiao-zang-git <62262084+xiao-zang-git@users.noreply.github.com> Date: Thu, 10 Feb 2022 11:01:02 -0800 Subject: [PATCH] Use args for batch index --- calibrate.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calibrate.R b/calibrate.R index d75a203..32ad7f6 100755 --- a/calibrate.R +++ b/calibrate.R @@ -45,7 +45,7 @@ args <- add_argument(args, "--size", help = "batch size", default = 10000) argv <- parse_args(args) seed <- as.integer(argv$seed) cores <- as.integer(argv$cores) -batch.ind <- 1 +batch.ind <- as.integer(argv$index) batch.size <- as.integer(argv$size) # init_ppl <- readRDS(argv$ppl) # note: outfile, params not used