ruishu / tensorbayes Goto Github PK
View Code? Open in Web Editor NEWDeep variational inference in tensorflow
License: MIT License
Deep variational inference in tensorflow
License: MIT License
Hi,
I have just discovered this git (which looks amazing:), while I was trying to make sense of the GMVAE paper.
However when I import the library, I get the following error.
I installed the library with git bash (via pip install git+git://github.com/RuiShu/tensorbayes/)
import tensorbayes
Traceback (most recent call last):
File "<ipython-input-8-dd0d1d034d2e>", line 1, in <module>
import tensorbayes
File "C:\ISBANK\sk68178.ISBANK\Documents\Python\Anaconda3\lib\site-packages\tensorbayes\__init__.py", line 1, in <module>
from . import layers
File "C:\ISBANK\sk68178.ISBANK\Documents\Python\Anaconda3\lib\site-packages\tensorbayes\layers\__init__.py", line 1, in <module>
from .simple import *
File "C:\ISBANK\sk68178.ISBANK\Documents\Python\Anaconda3\lib\site-packages\tensorbayes\layers\simple.py", line 3, in <module>
from normalization import *
ImportError: No module named 'normalization'
Hello dear friend,
Maybe you know https://github.com/tensorlayer/tensorlayer, we would be very interested to have your work and contributions into TL. It is quite a large library which has been rewarded by the ACM.
Would you be somehow interested in working with us ? I don't know how difficult it would be, however I believe it would be of great interest.
@zsdonghao is the creator and lead maintainer of TL. We have a very open approach regarding to original contributions, and we would deeply appreciate to have you onboard if you would like to join in.
All the best and congratulation for the work.
Hey there, thanks for the great library - looking forward to getting into GMVAEs!
I've cloned the library and dependencies, but seem to be stuck on this runtime error. I'm on python2.7 so can't see why this shouldn't work out of the box.
Traceback (most recent call last):
File "gmvae.py", line 28, in
x = Placeholder((None, 784), 'x')
File "build/bdist.macosx-10.10-x86_64/egg/tensorbayes/layers/simple.py", line 10, in placeholder
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 1332, in placeholder
name=name)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 1748, in _placeholder
name=name)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 683, in apply_op
attr_value.type = _MakeType(value, attr_def)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 177, in _MakeType
(attr_def.name, repr(v)))
TypeError: Expected DataType for argument 'dtype' not 'x'
utils.py line 87
from tfutils import TensorDict
It will have an error message:
ImportError: cannot import name 'TensorDict' from 'tfutils'
It anyone knows how to solve it?
File "/home/XXXX/anaconda3/lib/python3.6/site-packages/tensorbayes/init.py", line 4, in
from . import utils
File "/home/XXXX/anaconda3/lib/python3.6/site-packages/tensorbayes/utils.py", line 55
print '# ArgParse Values:'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print '# ArgParse Values:')?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.