Giter Site home page Giter Site logo

nitarshan / bayesian-neural-networks Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 2.0 100 KB

Edward implementation of Bayesian Neural Networks

Home Page: http://edwardlib.org/tutorials/bayesian-neural-network

Jupyter Notebook 100.00%
edward tensorflow bayesian-neural-networks neural-network neural-networks deep-learning

bayesian-neural-networks's Introduction

bayesian-neural-networks's People

Contributors

nitarshan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bayesian-neural-networks's Issues

inference.run raised IndexError: list index out of range

using spyder, tf 1.8 python 3.5

inference.run(n_iter=500)
Traceback (most recent call last):

File "", line 1, in
inference.run(n_iter=500)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\inferences\inference.py", line 125, in run
self.initialize(*args, **kwargs)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\inferences\klqp.py", line 110, in initialize
return super(KLqp, self).initialize(*args, **kwargs)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\inferences\variational_inference.py", line 68, in initialize
self.loss, grads_and_vars = self.build_loss_and_gradients(var_list)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\inferences\klqp.py", line 145, in build_loss_and_gradients
return build_reparam_kl_loss_and_gradients(self, var_list)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\inferences\klqp.py", line 717, in build_reparam_kl_loss_and_gradients
qz_copy = copy(qz, scope=scope)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\util\random_variables.py", line 249, in copy
value, dict_swap, scope, True, copy_q, False)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\util\random_variables.py", line 91, in _copy_default
x = copy(x, *args, **kwargs)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\util\random_variables.py", line 273, in copy
new_op = copy(op, dict_swap, scope, True, copy_q, False)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\edward\util\random_variables.py", line 319, in copy
op_def)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\tensorflow\python\framework\ops.py", line 1790, in init
op_def, inputs, node_def.attr)

File "C:\Users\Latitude\Anaconda3\envs\venv\lib\site-packages\tensorflow\python\framework\ops.py", line 1849, in _reconstruct_sequence_inputs
grouped_inputs.append(inputs[i])

IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.