Giter VIP home page Giter VIP logo

micro-projects's People

Contributors

ruishu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

micro-projects's Issues

TypeError running tf-ema

Hi, RuiShu,
I tried to run the code tf-ema. It showed a bug like this:

{'design': 'v1', 'logdir': 'log', 'lr': 0.001, 'run': 999, 'src': 'cifar10'}
Model name: model=classifier_src=cifar10_design=v1_run=0999
Traceback (most recent call last):
File "run_classifier.py", line 34, in
M = classifier()
File "/home/leifan/micro-projects-master/tf-ema/codebase/models/classifier.py", line 32, in classifier
src_y = des.classifier(T.src_x, T.phase, internal_update=True)
File "/home/leifan/micro-projects-master/tf-ema/codebase/models/designs/v1.py", line 39, in classifier
x = f(x, *f_args, **f_kwargs)
File "/home/leifan/tensorflow/_python_build/tensorflow/contrib/framework/python/ops/arg_scope.py", line 177, in func_with_args
return func(*args, **current_args)
File "/home/leifan/.local/lib/python2.7/site-packages/tensorbayes/layers/simple.py", line 66, in conv2d
initializer=tf.zeros_initializer)
File "/home/leifan/tensorflow/_python_build/tensorflow/python/ops/variable_scope.py", line 987, in get_variable
custom_getter=custom_getter)
File "/home/leifan/tensorflow/_python_build/tensorflow/python/ops/variable_scope.py", line 889, in get_variable
custom_getter=custom_getter)
File "/home/leifan/tensorflow/_python_build/tensorflow/python/ops/variable_scope.py", line 347, in get_variable
validate_shape=validate_shape)
File "/home/leifan/tensorflow/_python_build/tensorflow/python/ops/variable_scope.py", line 332, in _true_getter
caching_device=caching_device, validate_shape=validate_shape)
File "/home/leifan/tensorflow/_python_build/tensorflow/python/ops/variable_scope.py", line 683, in _get_single_variable
validate_shape=validate_shape)
File "/home/leifan/tensorflow/_python_build/tensorflow/python/ops/variables.py", line 226, in init
expected_shape=expected_shape)
File "/home/leifan/tensorflow/_python_build/tensorflow/python/ops/variables.py", line 303, in _init_from_args
initial_value(), name="initial_value", dtype=dtype)
File "/home/leifan/tensorflow/_python_build/tensorflow/python/ops/variable_scope.py", line 672, in
shape.as_list(), dtype=dtype, partition_info=partition_info)
TypeError: zeros_initializer() got multiple values for keyword argument 'dtype'

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.