-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Purpose of image_shape and filter_shape in conv2D_keep_shape? #5
Comments
Hi, Excited to see your tensorflow implementation! |
I figured that was the case and just wanted to make sure. Tensorflow has a "SAME" padding for conv2d which does the same thing as well. My implementation is here: https://github.com/TheAbhiKumar/tensorflow-value-iteration-networks It converges for the 8x8, but I am still having trouble with the 16x16 and 28x28 domains. I am starting to suspect that my implementation isn't exactly the same as yours. TensorFlow's advanced indexing capabilities aren't as strong as NumPy or Theano's so I kind of have to hack around it by transposing, indexing separately and then using Also, do you have an ETA for when the datasets/code will be uploaded for the other experiments? I am interested in implementing the continuous control and webnav models. |
Cool repo :)
Yes, Theano's indexing capabilities are great, which was one reason to use
it.
I have an early implementation of VINs in CGT <http://rll.berkeley.edu/cgt/>,
which also had to deal with the indexing issue. I can dig it up and send
you, if you think it might be useful.
No ETA at present, sorry. I will say that I intend to first publish the
Mars code.
…On Thu, Dec 29, 2016 at 1:29 PM, Abhishek Kumar ***@***.***> wrote:
I figured that was the case and just wanted to make sure. Tensorflow has a
"SAME" padding for conv2d which does the same thing as well.
My implementation is here: https://github.com/
TheAbhiKumar/tensorflow-value-iteration-networks
It converges for the 8x8, but I am still having trouble with the 16x16 and
28x28 domains. I am starting to suspect that my implementation isn't
exactly the same as yours. TensorFlow's advanced indexing capabilities
aren't as strong as NumPy or Theano's so I kind of have to hack around it
by transposing, indexing separately and then using tf.gather_nd. I'll
have to take a deeper look into it and see why I am not getting the
expected results.
Also, do you have an ETA for when the datasets/code will be uploaded for
the other experiments? I am interested in implementing the continuous
control and webnav models.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AOeQNeQuocb9tkkPC5f04lVpk25tR77mks5rNCZRgaJpZM4LWp07>
.
|
I would appreciate that. Perhaps that implementation might help me figure out the issues with my implementation. |
In your
conv2d_keep_shape
function which I copied below what is the purpose of theimage_shape
andfilter_shape
args?The parameters exist when you call the function every time you want to do a convolution, but they aren't being used in anyway. For example:
Are they intended to be used somehow or is this a remnant of old code being refactored? I ask because I implemented this architecture in TensorFlow and am attempting to replicate the results.
The text was updated successfully, but these errors were encountered: