Traceback (most recent call last):


 "/home/sandip/personal/tribler/TriblerGUI/event_request_manager.py", line 99, in on_read_data

raise RuntimeError(json_dict["event"]["text"])
RuntimeError: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.

Traceback (most recent call last):


 "vae_mnist2.py", line 371, in <module>

attack_mnist_bayes(num_attacks=args.num_attacks)


 "vae_mnist2.py", line 316, in attack_mnist_bayes

itr, success, pert = bayes_opt(image, label)


 "vae_mnist2.py", line 224, in bayes_opt

fit_gpytorch_model(mll)


 "/home/snshukla/py33/lib/python3.7/site-packages/botorch/fit.py", line 98, in fit_gpytorch_model

mll, _ = optimizer(mll, track_iterations=False, **kwargs)


 "/home/snshukla/py33/lib/python3.7/site-packages/botorch/optim/fit.py", line 192, in fit_gpytorch_scipy

callback=cb,


 "/home/snshukla/py33/lib/python3.7/site-packages/scipy/optimize/_minimize.py", line 600, in minimize

callback=callback, **options)


 "/home/snshukla/py33/lib/python3.7/site-packages/scipy/optimize/lbfgsb.py", line 335, in _minimize_lbfgsb

f, g = func_and_grad(x)


 "/home/snshukla/py33/lib/python3.7/site-packages/scipy/optimize/lbfgsb.py", line 285, in func_and_grad

f = fun(x, *args)


 "/home/snshukla/py33/lib/python3.7/site-packages/scipy/optimize/optimize.py", line 326, in function_wrapper

return function(*(wrapper_args + args))


 "/home/snshukla/py33/lib/python3.7/site-packages/scipy/optimize/optimize.py", line 64, in __call__

fg = self.fun(x, *args)


 "/home/snshukla/py33/lib/python3.7/site-packages/botorch/optim/fit.py", line 239, in _scipy_objective_and_grad

raise e
# pragma: nocover


 "/home/snshukla/py33/lib/python3.7/site-packages/botorch/optim/fit.py", line 234, in _scipy_objective_and_grad

loss = -mll(*args).sum()


 "/home/snshukla/py33/lib/python3.7/site-packages/gpytorch/module.py", line 22, in __call__

outputs = self.forward(*inputs, **kwargs)


 "/home/snshukla/py33/lib/python3.7/site-packages/gpytorch/mlls/exact_marginal_log_likelihood.py", line 28, in forward

res = output.log_prob(target)


 "/home/snshukla/py33/lib/python3.7/site-packages/gpytorch/distributions/multivariate_normal.py", line 128, in log_prob

inv_quad, logdet = covar.inv_quad_logdet(inv_quad_rhs=diff.unsqueeze(-1), logdet=True)


 "/home/snshukla/py33/lib/python3.7/site-packages/gpytorch/lazy/lazy_tensor.py", line 1041, in inv_quad_logdet

*args,


 "/home/snshukla/py33/lib/python3.7/site-packages/gpytorch/functions/_inv_quad_log_det.py", line 112, in forward

solves, t_mat = lazy_tsr._solve(rhs, preconditioner, num_tridiag=num_random_probes)


 "/home/snshukla/py33/lib/python3.7/site-packages/gpytorch/lazy/lazy_tensor.py", line 630, in _solve

preconditioner=preconditioner,


 "/home/snshukla/py33/lib/python3.7/site-packages/gpytorch/utils/linear_cg.py", line 161, in linear_cg

raise RuntimeError("NaNs encounterd when trying to perform matrix-vector multiplication")
RuntimeError: NaNs encounterd when trying to perform matrix-vector multiplication
