Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 16:40
    TensorFlow-Docs-Copybara closed #1104
  • 15:11
    lamberta labeled #1102
  • 15:11
    lamberta unlabeled #1102
  • 14:52
    googlebot labeled #1106
  • 14:52
    tfdocsbot labeled #1106
  • 14:52
    tfdocsbot labeled #1106
  • 14:52
    masa-ita review_requested #1106
  • 14:52
    masa-ita opened #1106
  • 14:52
    masa-ita review_requested #1106
  • 14:45
    kokoro-team unlabeled #1101
  • 14:45
    tfdocsbot labeled #1101
  • 14:45
    tfdocsbot labeled #1101
  • 14:39
    kokoro-team unlabeled #1104
  • 14:39
    lamberta labeled #1104
  • 14:39
    tfdocsbot labeled #1104
  • 14:39
    tfdocsbot labeled #1104
  • 14:38
    kokoro-team unlabeled #1102
  • 14:38
    lamberta labeled #1102
  • 14:38
    tfdocsbot labeled #1102
  • 14:38
    tfdocsbot labeled #1102
HarikrishnanBalagopal
@HarikrishnanBalagopal
and then again
capped_grads_and_vars = [(MyCapper(gv[0]), gv[1]) for gv in grads_and_vars]
HarikrishnanBalagopal
@HarikrishnanBalagopal
@lamberta I created a pull request tensorflow/tensorflow#31452
see if you agree
Billy Lamberta
@lamberta
Awesome, thanks!
HarikrishnanBalagopal
@HarikrishnanBalagopal
anyone have any idea if this is in tensorflow 2? https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/gan
I think they mentioned moving all contrib modules somewhere else
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 ^