Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 05:20
    truongsinh review_requested #959
  • 04:00
    NachoCodeX edited #1019
  • 03:59
    googlebot labeled #1019
  • 03:59
    tfdocsbot labeled #1019
  • 03:59
    tfdocsbot labeled #1019
  • 03:58
    NachoCodeX opened #1019
  • 03:58
    NachoCodeX review_requested #1019
  • 03:58
    NachoCodeX review_requested #1019
  • Sep 16 23:18
    IkerST edited #1018
  • Sep 16 23:16
    tfdocsbot labeled #1018
  • Sep 16 23:16
    tfdocsbot labeled #1018
  • Sep 16 23:16
    googlebot labeled #1018
  • Sep 16 23:16
    IkerST review_requested #1018
  • Sep 16 23:16
    IkerST review_requested #1018
  • Sep 16 23:16
    IkerST opened #1018
  • Sep 16 19:15
    lamberta unlabeled #1007
  • Sep 16 18:06
    TensorFlow-Docs-Copybara closed #1002
  • Sep 16 18:00
    TensorFlow-Docs-Copybara closed #1016
  • Sep 16 17:57
    kokoro-team unlabeled #1002
  • Sep 16 17:57
    lamberta labeled #1002
HarikrishnanBalagopal
@HarikrishnanBalagopal
searching for tensorflow 2 apis on tensorflow.org doesn't work super well
all the results are for tensorflow 1.14
kinda annoying to have to use the navigation and click through the entire hierarchy to get to a specific thing
HarikrishnanBalagopal
@HarikrishnanBalagopal
also how do you sample random fixed length video patches from a video?
I have a video dataset that I want to use to train a GAN model
Billy Lamberta
@lamberta
site search for TF2 APIs will work better when we switch the site over to TF2-first for the RC release (soon!). And Google search will work, as well
Billy Lamberta
@lamberta
as far as navigating the hierarchy to find tutorials, yes, can be annoying if you are familiar with TensorFlow and already know where you want to go. But, we have a lot of content and multiple audiences, so figuring out where to point a particular user is the challenge (and why there are a number of overview pages).
But good feedback. Maybe we can directly link to the tutorials/guide on the homepage.
RE: video and GANs, we don't have any tutorials for that, yet. Would be a nice, though. Does TFDS have any good video datasets?
HarikrishnanBalagopal
@HarikrishnanBalagopal
@lamberta is there any way to switch which version of the API you are viewing without going back to overview page?
for example in the python docs https://docs.python.org/3/howto/argparse.html
you can switch the version to 2.7 and it still stays on argparse without going back to the index
HarikrishnanBalagopal
@HarikrishnanBalagopal
@lamberta also is there a dedicated tensorflow help channel?
HarikrishnanBalagopal
@HarikrishnanBalagopal
the new @tf.function is very unintuitive, I am getting colocation errors between CPU and GPU 0 when I try to run this code https://bpaste.net/show/qiKt
dataset is a tf.data.Dataset
works with tf.function commented out
Crispinvz
@crispindev
Hi @lamberta I just submitted the first pull request for the /es directory. Any chance you can have a look at it for approval. It kept asking for a CLA. "Create Spanish /es Directory in TF Repo #945"
Billy Lamberta
@lamberta
@crispindev Awesome! I verified the CLA so it's no problem
Crispinvz
@crispindev
@lamberta Thanks!!
Anubhav
@anubh-v

Hi everyone,
I'm attempting to update the documentation for an operation in the Dataset API.
I have located the source file and the docstring within the source file.

I wish to update the documentation in both r1.14 and r2.0.
However, I am not clear which branch to make the PR against.

Should I be making the PR against the master branch - as mentioned sometime earlier in this chat ?

Billy Lamberta
@lamberta
@anubh-v Thanks for looking into this. Please make the updates on the master branch. Patches to older branches must get cherrypicked, docgen re-run, etc. I don't think there's much of an appetite for that with TF2 on the horizon
Anubhav
@anubh-v
I see. Thanks for the answer @lamberta
HarikrishnanBalagopal
@HarikrishnanBalagopal
@lamberta given a video dataset, how do you sample fixed length random patches from videos?
the shape of the dataset is (num_videos, video_length, height, width, channels) where video_length is different for each video in the dataset
tf.data.Dataset.from_tensor_slices doesn't work with this
Billy Lamberta
@lamberta
@HarikrishnanBalagopal probably a better question for stackoverflow. though i'd like to get a video dataset tutorial if we can get it to work in colab ok
HarikrishnanBalagopal
@HarikrishnanBalagopal
?
That is lacking information about the return value
What is the shape of the returned tensor?
@lamberta ^
is the returned tensor of shape (batch, in_planes, in_rows, in_cols, *ksizes) ?
HarikrishnanBalagopal
@HarikrishnanBalagopal
hey
anyone here?
tensorflow could really use its own support channel
Billy Lamberta
@lamberta
perhaps, but this ain't it :)
HarikrishnanBalagopal
@HarikrishnanBalagopal
I am getting weird behaviour with tf.function
if I define a training step as a function with the @tf.function annotation and then call the function in a loop the model trains
but if I move the loop into the function then it does not train the model
for instance this doesn't work https://bpaste.net/show/23C2
it fails to train the model
the documentation for @tf.function is not detailed enough to explain this
Billy Lamberta
@lamberta
work in progress. check out this detailed section on autograph/tf.function: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/autograph/g3doc/reference/index.md
HarikrishnanBalagopal
@HarikrishnanBalagopal
it seems to be the while loop causing the issue
or not
very hard to debug
Billy Lamberta
@lamberta
Check out https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/autograph/g3doc/reference/debugging.md
I'm sure they would love feedback/PRs on it. Still early for their docs, though
HarikrishnanBalagopal
@HarikrishnanBalagopal
I am wondering if this is a google colab issue, if I include the loop inside the @tf.function then sometimes it goes into an infinite loop
might have crashed the runtime and colab just not updating
@lamberta uh the example they give there is slightly incorrect