Git Product home page Git Product logo

gcf-packs's Introduction

Hi! ๐Ÿ‘‹

My name is Rustem and I'm a machine learning engineer at Instrumental and AWS ML Hero. Feel free to ask me questions about AWS and ML.

I maintain projects:

  • lambda-packs - Packaged environments for AWS lambda which enable to use various python libraries
  • gcf-packs - Packaged environments for Google Cloud Functions which enable to use various python libraries
  • stepfunctions2processing - Single deployment configurations for AWS Step functions with AWS Batch, AWS Fargate, Amazon SageMaker and more

Check out my articles:

...and talks:

You can find me on LinkedIn and my website ryfeus.io.

gcf-packs's People

Contributors

northtree avatar ryfeus 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

Watchers

 avatar  avatar  avatar  avatar

gcf-packs's Issues

Incompatible type error from tensorflow2.0/example/main.py

I had trained the fashion-mnist model into GCS and deployed the GCF.

However, the function crashed due to this error:

Incompatible type conversion requested to type 'float64' for variable of type 'float32'

  ...
  File "/user_code/main.py", line 22, in call
    x = self.conv1(x)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 660, in __call__
    outputs = self.call(inputs, *args, **kwargs)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/keras/layers/convolutional.py", line 196, in call
    outputs = self._convolution_op(inputs, self.kernel)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/ops/nn_ops.py", line 1078, in __call__
    return self.conv_op(inp, filter)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/ops/nn_ops.py", line 634, in __call__
    return self.call(inp, filter)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/ops/nn_ops.py", line 233, in __call__
    name=self.name)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/ops/nn_ops.py", line 1951, in conv2d
    name=name)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 1031, in conv2d
    data_format=data_format, dilations=dilations, name=name, ctx=_ctx)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 1123, in conv2d_eager_fallback
    _attr_T, _inputs_T = _execute.args_to_matching_eager([input, filter], _ctx)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/eager/execute.py", line 202, in args_to_matching_eager
    ret = [internal_convert_to_tensor(t, dtype, ctx=ctx) for t in l]
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/eager/execute.py", line 202, in <listcomp>
    ret = [internal_convert_to_tensor(t, dtype, ctx=ctx) for t in l]
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1186, in internal_convert_to_tensor
    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/ops/resource_variable_ops.py", line 1420, in _dense_var_to_tensor
    return var._dense_var_to_tensor(dtype=dtype, name=name, as_ref=as_ref)  # pylint: disable=protected-access
  File "/env/local/lib/python3.7/site-packages/tensorflow/python/ops/resource_variable_ops.py", line 1371, in _dense_var_to_tensor
    "of type {!r}".format(dtype.name, self.dtype.name))
ValueError: Incompatible type conversion requested to type 'float64' for variable of type 'float32'

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.