Open maulberto3 opened 2 years ago
Found the error. The variable log_gdp was being referenced with each cell. Solution: Just rename it.
Working example:
pred = infer.Predictive(model, guide=auto_guide, num_samples=20)
svi_samples = pred(is_cont_africa, ruggedness, log_gdp)
log_gdp_ = svi_samples['obs']
log_gdp_.shape
Still hope to help.
Issue Description
In Jupyter, hitting several times the following code
The shape goes crazy, i.e.
Environment
Code Snippet
Already provided above.
Hope to help some.