-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't workinginferenceRelated to the samplers and inferenceRelated to the samplers and inference
Description
When passing the result of an acm.observables.CombinedObservable instance model, the output of get_prediction is a numpy array, while the output of FCN.get_prediction is a torch Tensor. This causes observation-prediction to raise a TypeError for unsupported operation in the PocoMC sampler.
A quick fix is to detect the type of the prediction and turn it back to a numpy array if it is a Tensor
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginferenceRelated to the samplers and inferenceRelated to the samplers and inference