Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference does not undersand init conditions that are not init files #119

Closed
jcblemai opened this issue Oct 31, 2023 · 3 comments
Closed
Assignees
Labels
high priority High priority. r-inference Relating to the R inference package.

Comments

@jcblemai
Copy link
Collaborator

jcblemai commented Oct 31, 2023

Blocker for #118

  • If there is an initial condition section in config, then inference assume there will be init files
  • it is not the case, depending on the method for initial condition. Sometime it's just a file in data

(the same apply to seeding, but we can wait for #90 to fix that, this initial condition causes an immediate bug that block submission)

@jcblemai jcblemai added r-inference Relating to the R inference package. high priority High priority. labels Oct 31, 2023
@jcblemai jcblemai pinned this issue Nov 1, 2023
@shauntruelove shauntruelove self-assigned this Nov 1, 2023
@shauntruelove
Copy link
Member

i can deal with this. good catch

@saraloo
Copy link
Contributor

saraloo commented Nov 2, 2023

I think this is working - just checking the model outputs.

Something is trying to create directories repeatedly though

[1] "Running 5 simulations"
Joining with `by = join_by(date, subpop)`
[1] "Running WITH inference"
[1] "Chimeric reset is TRUE"
 [1] "config"                      "run_id"
 [3] "seir_modifiers_scenarios"    "outcome_modifiers_scenarios"
 [5] "jobs"                        "iterations_per_slot"
 [7] "this_slot"                   "this_block"
 [9] "stoch_traj_flag"             "ground_truth_start"
[11] "ground_truth_end"            "flepi_path"
[13] "python"                      "rpath"
[15] "is-resume"                   "is-interactive"
[17] "reset_chimeric_on_accept"    "memory_profiling"
[19] "memory_profiling_iters"      "subpop_len"
[21] "help"
[1] "Running seir modifier scenario: inference"
[1] "Running outcome modifier scenario: fake"
[1] "gempyor_inference_runner created successfully."
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/seed/global/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/init/global/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/llik/global/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/seed/chimeric/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/init/chimeric/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/seir/chimeric/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/snpi/chimeric/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/hnpi/chimeric/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/spar/chimeric/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/hosp/chimeric/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/hpar/chimeric/intermediate' already exists
Warning in dir.create(dirname(rc), recursive = TRUE) :
  'model_output/USA_inference_fake/SMH_Flu_2023_R1_medVax_H3_simple_noimm/llik/chimeric/intermediate' already exists

@jcblemai
Copy link
Collaborator Author

jcblemai commented Nov 3, 2023

@shauntruelove this is fixed right ?

@saraloo saraloo closed this as completed Nov 3, 2023
@jcblemai jcblemai unpinned this issue Nov 3, 2023
@jcblemai jcblemai added this to the Paper resubmission milestone Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority High priority. r-inference Relating to the R inference package.
Projects
None yet
Development

No branches or pull requests

3 participants