Comments (3)
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.
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.
More convolution layers increase the parameters of networks.
from vin_tensorflow.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vin_tensorflow.