163 questions
1
vote
1
answer
373
views
Numpyro AR(1) mean switching model sampling incongrouencies
I'm trying to estimate an AR(1) process y with a switching mean according to a latent state S =0,1 that evolves as a markov process with fixed transition probabilities (as in here). In short, it takes ...
1
vote
1
answer
540
views
"Unsupported serialized class" when using Pyro5 proxy to get object
I am updating some code to use Pyro5 (from Pyro3) and can't see how to deal with custom objects that are returned from a method accessed via a Pyro proxy. As a demonstration I have created two simple ...
0
votes
1
answer
660
views
Pyro5 : how to connect between different machines
I am a student who is trying to pass a requirement. I only knew python and pyro5 because of this requirement.
I have a code from https://github.com/irmen/Pyro5/tree/master/examples/chatbox which is ...
0
votes
1
answer
608
views
How to evaluate Gaussian Process Latent Variable Model¶
I am following a tutorial on Gaussian Process Latent Variable Model here is the link https://pyro.ai/examples/gplvm.html
It is a dimension-reduction method.
Now I want to evaluate the model and find ...
1
vote
0
answers
88
views
Shutdown a nameserver in Pyro4 without manual interruption
I know the current development is in Pyro5 but I am using another package (Pyomo) that is still dependent on Pyro 4. For some reason I am not being able to terminate the name server while submitting a ...
0
votes
0
answers
103
views
Python pyro remote call returns error with argument
I have pyro4 blockchain class to create transfers and add them to blockchain. This file has the class implementation:
import Pyro4
@Pyro4.expose
class MyBlockChain(object):
# constructor
def ...
0
votes
0
answers
485
views
how to make prediction in bayesian convolutional neural network using pyro and pytorch
I'm trying to classify the sign language hand gesture images using Bayesian CNN, I made the following code:
class BCNN(PyroModule):
def __init__(self):
super(BCNN, self).__init__()
...
-2
votes
1
answer
301
views
Why does all my emission mu of HMM in pyro converge to the same number?
I'm trying to create a Gaussian HMM model in pyro to infer the parameters of a very simple Markov sequence. However, my model fails to infer the parameters and something wired happened during the ...
0
votes
0
answers
66
views
How do I get block details in a Pyro CMS twig file?
The url contains a block id, such as this domain/playlist/PLQB0d-uOBCP2vyGFcj3nw252x9CtupDH1/{blockid}. How do I get all of the information from the block id into the twig file?
1
vote
0
answers
92
views
Pyro for differential equations
Is it possible to infer differential equation parameters using pyro? I found an example with numpyro I was wondering if this is possible with pyro as well?
0
votes
1
answer
298
views
How does Pyro perform operations with Random Variables?
In Pyro there is a new experimental container class: Random Variables
Using Random Variables you can write something like this:
from pyro.distributions.torch import Normal
X = Normal(5, 1).rv
Y = ...
2
votes
1
answer
468
views
How to create a GUI for the server side in Pyro5?
I am using Pyro5 and I want to create a GUI for the server-side. The idea is that the server can also send a message to the clients.
My problem is that whenever the client accesses the method from the ...
0
votes
3
answers
614
views
slice Pytorch tensors which are saved in a list
I have the following code segment to generate random samples. The generated samples is a list, where each entry of the list is a tensor. Each tensor has two elements. I would like to extract the first ...
0
votes
1
answer
609
views
RuntimeError: Trying to backward through the graph a second time
I'm trying to train 'trainable Bernoulli distribution' using 'pyro'.
I want to train Bernoulli distribution's parameter(probability to win) using NLL loss.
train_data is one-hot encoded sparse matrix(...
2
votes
0
answers
141
views
Can't run "Multivariate forecasting" in Pyro tutorial
I am trying just to run the sample program at https://pyro.ai/examples/forecast_simple.html.
It runs until it reaches "RuntimeError torch.linalg.cholesky: For batch 4284: U(2,2) is zero, singular ...