You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
_________________ FactorGraphTests.test_replicate_simple_model _________________
self = <factor_graph_test.FactorGraphTests testMethod=test_replicate_simple_model>
def test_replicate_simple_model(self):
m = mf.models.Model(verbose=False)
m.x = mfc.Variable()
d = mf.components.distributions.Normal(mean=mx.nd.array([0]), variance=mx.nd.array([1e6]))
m.x.set_prior(d)
m2, var_map = m.clone()
# compare m and m2 components and such for exactness.
self.assertTrue(all([k.uuid == v.uuid for k, v in var_map.items()]))
self.assertTrue(all([k.uuid == v.uuid for k, v in
> zip(m.components.values(), m2.components.values())]))
E AssertionError: False is not true
testing/core/factor_graph_test.py:147: AssertionError
The test that fails sometimes is:
testing/core/factor_graph_test.py::FactorGraphTests::test_replicate_simple_model
It only fails on Linux builds and only occasionally. First step would be to reproduce the failure then debug why it's happening.
The text was updated successfully, but these errors were encountered: