Open
Description
Describe the bug
NetWriter fails to save big models, due to a bug during serialization. Values are converted to str
from numpy.arrays
, but they get truncated with ellipses (...
).
To Reproduce
- Use
hailfinder
large model as a test and BayesianDiscreteNetwork as model. - Save model to disk
- Load model
test_model_large = get_example_model("hailfinder")
model.save("model.net")
model.load("model.net")
ValueError: could not convert string to float: '...'
Expected behavior
Not raised an error and correctly load back the model.
Versions
latest
Metadata
Metadata
Assignees
Labels
No labels