Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chris Jewell
covid19uk
Commits
ea557405
Commit
ea557405
authored
Feb 15, 2021
by
Chris Jewell
Browse files
Created lower bound for posterior events chunk size
parent
65bd815a
Changes
1
Hide whitespace changes
Inline
Side-by-side
covid/tasks/inference.py
View file @
ea557405
...
...
@@ -280,7 +280,10 @@ def mcmc(data_file, output_file, config, use_autograph=False, use_xla=True):
samples
[
1
][:,
1
:],
(
NUM_BURST_SAMPLES
,
samples
[
1
].
shape
[
1
]
-
1
),
),
"events"
:
(
samples
[
2
],
(
NUM_BURST_SAMPLES
,
32
,
32
,
1
)),
"events"
:
(
samples
[
2
],
(
NUM_BURST_SAMPLES
,
min
(
32
,
events
.
shape
[
1
]),
32
,
1
),
),
},
results_dict
=
results
,
num_samples
=
NUM_SAVED_SAMPLES
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment