Giter Club home page Giter Club logo

vsg's People

Contributors

arnavkj1995 avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

ipsec

vsg's Issues

A '' warning'' appears after I run the program, which cannot be removed

I tried everything, but I still couldn't get rid of it.
The ''warning'' message as follow:
WARNING:root:
Distribution subclass SafeTruncatedNormal inherits _parameter_properties from its parent (TruncatedNormal) while also redefining init. The inherited annotations cover the following parameters: dict_keys(['loc', 'scale', 'low', 'high']). It is likely that these do not match the subclass parameters. This may lead to errors when computing batch shapes, slicing into batch dimensions, calling .copy(), flattening the distribution as a CompositeTensor (e.g., when it is passed or returned from a tf.function), and possibly other cases. The recommended pattern for distribution subclasses is to define a new _parameter_propertiesmethod with the subclass parameters, and to store the corresponding parameter values asself._parametersininit`, after
calling the superclass constructor:

                          ```
                          class MySubclass(tfd.SomeDistribution):
                          
                            def __init__(self, param_a, param_b):
                              parameters = dict(locals())
                              # ... do subclass initialization ...
                              super(MySubclass, self).__init__(**base_class_params)
                              # Ensure that the subclass (not base class) parameters are stored.
                              self._parameters = parameters
                          
                            def _parameter_properties(self, dtype, num_classes=None):
                              return dict(
                                # Annotations may optionally specify properties, such as `event_ndims`,
                                # `default_constraining_bijector_fn`, `specifies_shape`, etc.; see
                                # the `ParameterProperties` documentation for details.
                                param_a=tfp.util.ParameterProperties(),
                                param_b=tfp.util.ParameterProperties())
                          ```

Although it does not affect the normal operation of the program, I still want to remove it. I would be grateful if there is a way to help.

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.