I am not sure if this is the right place to ask this, but I have fitted a big model that took a day to finish sampling and now I am not able to use it because of an error. I used cmdstanr
, and this is the way I fit the model:
fit <- mod$sample(
data = data,
iter_warmup = 1000,
iter_sampling = 200,
adapt_delta = 0.95,
parallel_chains = 4
)
params = fit$draws(c("beta1", "beta2"))
But I am getting this error and I have no idea what it means and how I can solve it. This is started to happen when I increased iter_warmup
from 200 to 1000.
Error in read_cmdstan_csv(files = self$output_files(include_failed = FALSE), :
Assertion on 'files' failed: File does not exist: '/tmp/RtmpG4knat/VMACH_With_Diff-202203171118-1-150a2b.csv'.
Does anyone know how to resolve this issue?