Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 19 16:57
    mcaci synchronize #1107
  • Oct 19 16:54
    mcaci synchronize #1107
  • Oct 19 15:08
    anniehiehie synchronize #1118
  • Oct 19 14:37
    googlebot labeled #1118
  • Oct 19 14:37
    tfdocsbot labeled #1118
  • Oct 19 14:37
    tfdocsbot labeled #1118
  • Oct 19 14:37
    anniehiehie review_requested #1118
  • Oct 19 14:37
    anniehiehie review_requested #1118
  • Oct 19 14:37
    anniehiehie opened #1118
  • Oct 19 11:33
    anniehiehie edited #1117
  • Oct 19 11:33
    anniehiehie edited #1117
  • Oct 19 11:32
    googlebot labeled #1117
  • Oct 19 11:32
    googlebot unlabeled #1117
  • Oct 19 11:31
    kokoro-team unlabeled #1117
  • Oct 19 11:31
    tfdocsbot labeled #1117
  • Oct 19 11:31
    tfdocsbot labeled #1117
  • Oct 19 11:30
    googlebot labeled #1117
  • Oct 19 11:30
    tfdocsbot labeled #1117
  • Oct 19 11:30
    tfdocsbot labeled #1117
  • Oct 19 11:30
    anniehiehie review_requested #1117
HarikrishnanBalagopal
@HarikrishnanBalagopal
@lamberta is this somewhere in tensorflow/addons? https://www.tensorflow.org/api_docs/python/tf/contrib/gan
The TFGAN API is very useful
would be nice to be able to use it with tensorflow 2
Billy Lamberta
@lamberta
Contrib is gone in TF2 🎉
but you should check with the SIG Addons folks: https://github.com/tensorflow/addons
they also have a gitter chat: https://gitter.im/tensorflow/sig-addons
Sean Morgan
@seanpmorgan
Hi! Yeah TF Addons has been the landing place for much of tf.contrib. TensorFlow GAN has actually moved to its own repo in TF2 as it doesn’t fit nicely into a specific API we support.
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