thu-ml / zhusuan

A probabilistic programming library for Bayesian deep learning, generative models, based on Tensorflow
http://zhusuan.readthedocs.io
MIT License
2.2k stars 418 forks source link

AttributeError: module 'progressbar' has no attribute 'DataSize' #113

Closed YuyangZhangFTD closed 5 years ago

YuyangZhangFTD commented 5 years ago

When I run the examples, such as 'python -m examples.variational_autoencoders.vae' and 'python -m examples.bayesian_neural_nets.bayesian_nn', I will get the error "AttributeError: module 'progressbar' has no attribute 'DataSize'". Please help me. Thank you.

YuyangZhangFTD commented 5 years ago

I found I had forgotten installing some dependencies. After using <pip install ".[examples]">, bayesian_nn.py can work well.