Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 14 20:01
    googlebot labeled #1107
  • Oct 14 20:01
    googlebot unlabeled #1107
  • Oct 14 19:57
    tfdocsbot labeled #1107
  • Oct 14 19:57
    tfdocsbot labeled #1107
  • Oct 14 19:57
    googlebot labeled #1107
  • Oct 14 19:57
    mcaci review_requested #1107
  • Oct 14 19:57
    mcaci review_requested #1107
  • Oct 14 19:57
    mcaci opened #1107
  • Oct 14 16:40
    TensorFlow-Docs-Copybara closed #1104
  • Oct 14 15:11
    lamberta labeled #1102
  • Oct 14 15:11
    lamberta unlabeled #1102
  • Oct 14 14:52
    googlebot labeled #1106
  • Oct 14 14:52
    tfdocsbot labeled #1106
  • Oct 14 14:52
    tfdocsbot labeled #1106
  • Oct 14 14:52
    masa-ita review_requested #1106
  • Oct 14 14:52
    masa-ita opened #1106
  • Oct 14 14:52
    masa-ita review_requested #1106
  • Oct 14 14:45
    kokoro-team unlabeled #1101
  • Oct 14 14:45
    tfdocsbot labeled #1101
  • Oct 14 14:45
    tfdocsbot labeled #1101
Timothy Liu
@tlkh
How do I ensure an embedded image in the docstring doesn’t exceed the 80 char limit?
Embedded image URL*
Billy Lamberta
@lamberta
@tlkh URLs are excluded from the 80 char limit
where to put the images, that's another question that we should figure out
xuyongxin2020
@xuyongxin2020
hi
HarikrishnanBalagopal
@HarikrishnanBalagopal
hey
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