Git Product home page Git Product logo

Comments (3)

zuoxingdong avatar zuoxingdong commented on June 12, 2024

Hi @WangChen100 thank you for your feedback. The motivation here is that each Q layer corresponds to a 'virtual' action, so the number of layers is not necessarily to be the number of valid actions. Empirically, a bit more layers lead to better performance.

from vin_tensorflow.

WangChen100 avatar WangChen100 commented on June 12, 2024

Thank you @zuoxingdong very much for your reply. It's a really useful suggestion and trick. And I have another question why activations of convolution in many VIN projects are set None as well as yours.
In my mind, if the activation of tf.layers.conv2d is set None, the two linear convolution layers can be combined into one convolution layer. Waiting for your reply, thank you.

h = tf.layers.conv2d(inputs=X, filters=ch_h, kernel_size=[3, 3], strides=[1, 1], padding='same', activation=None, use_bias=True, kernel_initializer=tf.truncated_normal_initializer(stddev=0.01), bias_initializer=tf.zeros_initializer(), name='h0', reuse=tf.AUTO_REUSE) r = tf.layers.conv2d(inputs=h, filters=1, kernel_size=[3, 3], strides=[1, 1], padding='same', activation=None, use_bias=False, kernel_initializer=tf.truncated_normal_initializer(stddev=0.01), bias_initializer=None, name='r', reuse=None)

from vin_tensorflow.

fanyuzeng avatar fanyuzeng commented on June 12, 2024

More convolution layers increase the parameters of networks.

from vin_tensorflow.

Related Issues (3)

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.