Live data from Hacker News

Tensorflow 2.0 Beta 0

github.com

11–20 of 44 posts

Re: Tensorflow 2.0 Beta 0

#11
post #9

Earlier quoted context omitted.

What do you think of Keras in this space ? Because TF 2.0 is entirely keras based. https://medium.com/tensorflow/standardizing-on-keras-guidanc...

This is one thing that confuses me. Why Keras is still a separate brand? Why everything isn't under just tensorflow namespace instead of having to do tf.keras all the time. I really wish tf just had one API and just one thing to learn.

Keras is a high level API that can use multiple backends. So it makes sense for them to remain separated.

Re: Tensorflow 2.0 Beta 0

#12
post #8

Earlier quoted context omitted.

What are you looking for in deployment friendliness? There's TorchScript to run your code faster (which is a work in progress)

For me it's deploying to mobile, mostly. There's ONNX but it doesn't seem to be terribly mature and it doesn't support some of the common ops, and e.g. FB's own Caffe2 doesn't run it natively. There's also no mature tooling to produce quantized models. TF remains the only real option to do quantization aware training or even easy post-training quantization. Specifically, my life would be a lot easier if I could save…

Seriously, I've been waiting for a long time now for this to come about. This would make pytorch a much more powerful platform.

Re: Tensorflow 2.0 Beta 0

#13

Maybe I'll give TF another try, but right now I'm really liking PyTorch. With TensorFlow I always felt like my models were buried deep in the machine and it was very hard to inspect and change them, and if I wanted to do something non-standard (which for me is most of the time) it was difficult even with Keras. With PyTorch though, I connect things however how I want, write whatever training logic I want, and I feel…

I just hope they don't screw it up in the process of integrating PT with Caffe2.

Re: Tensorflow 2.0 Beta 0

#14
post #11
post #9

Earlier quoted context omitted.

This is one thing that confuses me. Why Keras is still a separate brand? Why everything isn't under just tensorflow namespace instead of having to do tf.keras all the time. I really wish tf just had one API and just one thing to learn.

Keras is a high level API that can use multiple backends. So it makes sense for them to remain separated.

I haven't used TF much lately, but the last time I looked at TF2 it felt like they are making it harder to build low level api models.

Re: Tensorflow 2.0 Beta 0

#16
post #3

Might give it another try, but my latest incursion in the Tensorflow universe did not end pleasantly. I ended up recoding everything in Pytorch, took me less than a day to do the stuff that took me more than a week in TF. One problem is that there are too many ways to do the same thing in TF and it's hard to transition from one to the other.

What do you think of Keras in this space ? Because TF 2.0 is entirely keras based. https://medium.com/tensorflow/standardizing-on-keras-guidanc...

Keras is part of the problem for me. It is rather rigid and it's hard to get around. Works super well for the regular use case. On the other hand, when you want to start doing custom stuff, it's hell.

Re: Tensorflow 2.0 Beta 0

#17
Nice to see the project moving along, I'm just getting started with the basics for a way finding application and will probably start off with version 2 then.

Hopefully by the time stable comes around I'll be near production ready as well.

A bit off-topic, but does TF or pyTorch work nicely with AMD GPUs?

I'd rather not have to deal with Nvidia's blob drivers if at all possible.

Re: Tensorflow 2.0 Beta 0

#18

Maybe I'll give TF another try, but right now I'm really liking PyTorch. With TensorFlow I always felt like my models were buried deep in the machine and it was very hard to inspect and change them, and if I wanted to do something non-standard (which for me is most of the time) it was difficult even with Keras. With PyTorch though, I connect things however how I want, write whatever training logic I want, and I feel…

TF's deprecation velocity was way too high for my taste. Things we wrote would stop working randomly with their updates. I feel very similar to you about the models being "buried too deep" in their (ever-changing) machine. I much preferred how easy it was to hack Caffe V1 (once you got past the funky names, etc).

These days, I really like mxnet. Torch was a disaster, but Pytorch is much better. It's not bad in production, definitely my #2.

Re: Tensorflow 2.0 Beta 0

#19

Maybe I'll give TF another try, but right now I'm really liking PyTorch. With TensorFlow I always felt like my models were buried deep in the machine and it was very hard to inspect and change them, and if I wanted to do something non-standard (which for me is most of the time) it was difficult even with Keras. With PyTorch though, I connect things however how I want, write whatever training logic I want, and I feel…

Can't explain it but for some reason Tensorflow never felt "right" to me, even work keras.

Pytorch on the other hand feels so much more natural...

Re: Tensorflow 2.0 Beta 0

#20

Maybe I'll give TF another try, but right now I'm really liking PyTorch. With TensorFlow I always felt like my models were buried deep in the machine and it was very hard to inspect and change them, and if I wanted to do something non-standard (which for me is most of the time) it was difficult even with Keras. With PyTorch though, I connect things however how I want, write whatever training logic I want, and I feel…

TF's deprecation velocity was way too high for my taste. Things we wrote would stop working randomly with their updates. I feel very similar to you about the models being "buried too deep" in their (ever-changing) machine. I much preferred how easy it was to hack Caffe V1 (once you got past the funky names, etc). These days, I really like mxnet. Torch was a disaster, but Pytorch is much better. It's not bad in produc…

> TF's deprecation velocity

That's Google on a nutshell. In fact, they may drop TF altogether next month. You never know ...

Post reply on HN