cgpm icon indicating copy to clipboard operation
cgpm copied to clipboard

Library of composable generative population models which serve as the modeling and inference backend of BayesDB.

Results 44 cgpm issues
Sort by recently updated
recently updated
newest added

`engine.compose_cgpm([vscgpm], multiprocess=True)` fails with ``` E RuntimeError: Subprocess failed: Traceback (most recent call last): E File "/scratch/fsaad/cgpm/cgpm/utils/parallel_map.py", line 55, in process_input E outq_wr.send((i, ok, fx)) E PicklingError: Can't pickle :...

```python self.obs = defaultdict(lambda: defaultdict(dict)) ``` No reason for such a wacky data structure causes bug after bug.

Currently, the user is expected to provide a list in the inference language named `observers` which contains the observation function for each simulator defined the `simulators` list (which lives in...

CGPM is written very defensively in that methods throughout perform significant error checking on their inputs (sometimes as `assert` but typically by raising a `ValueError`. Advantages: - [ ] comprehensible...

https://github.com/probcomp/cgpm/blob/9237e19a7d4523a1984f4380f77d55ba7ac4cbdf/tests/test_gpmcc_simple_composite.py#L126-L130 1. The test is disabled since it does not start with `test_`. 2. The hooked CGPMs have duplicate output identity `[5]`.

- [ ] identify all imports of matplotlib - [ ] convert the necessary ones (e.g. tests) to use the agg backend

https://github.com/probcomp/cgpm/blob/91cd8f7f6fce769d7e57f2b33bee2be6cd12ca3b/src/crosscat/state.py#L376-L377 https://github.com/probcomp/cgpm/blob/91cd8f7f6fce769d7e57f2b33bee2be6cd12ca3b/src/crosscat/state.py#L363-L364

``` RuntimeError: Subprocess failed: Traceback (most recent call last): File "/scratch/fsaad/cgpm/cgpm/utils/parallel_map.py", line 50, in process_input ok, fx = True, f(x) File "/scratch/fsaad/cgpm/cgpm/crosscat/engine.py", line 37, in _intialize state = State(X, rng=gu.gen_rng(seed),...