Open IanQS opened 6 years ago
It's beginning to look more and more like it's out of my skill set so I might just downgrade my tensorflow version
Following up on this:
1) tensorflow 1.6 (and v1.7.0, or at least it does when I do a checkout for it) still support set_shapes_for_outputs
)
2) the current master does not support it. However, it DOES have set_shape_and_handle_data_for_outputs
which I will be investigating
EDIT:
No dice, still fails all the same tests
Thanks for looking into this. It does seem to be a non-trivial solution.
@dustinvtran
Sorry, I know you're crazy busy with things, but I am curious about what happens in situations like this.
Would one open an issue on the TF side? That seems like the most straightforward method. I'd imagine the project would also get an insight into what things might / might not be deprecated soon so this situation doesn't happen again but I'll leave it to your best judgement.
Yeah, sorry for the delays. These past weeks have been especially busy due to NIPS. The TF best practice is to not rely on internal functions; unfortunately we were forced to in order to perform this graph copying. Hopefully there's a solution we can work out on our own end (even if it means duplicating code from TF).
even if it means duplicating code from TF
Unless Edward duplicates large chunks of TF I don't know if that's the best practice here.
While I was looking through the surrounding code, and the functions that called _set_shapes_for_outputs_c_api
I got the impression that things were still moving around and the internals were far from being settled.
These past weeks have been especially busy due to NIPS
All the best!
I agree. I'm looking into it now and that seems to be the problem with duplicating code. It looks like the tf.contrib.graph_editor
ran into the same problems due to the C API change. Perhaps we can use their solution, or ideally, move over to use their tools overall?
I'm swamped with stuff but can probably look into that this weekend / early next week. I'll keep you updated on what I find when I look into tf.contrib.graph_editor
Hi, I'm a newcomer to Edwards and ran in the same error message. I installed Edward and Tensorflow on a Win10 Surface with the pip commands recommended in the Edward - Getting Started - website within the Anaconda prompt. Best, Claus
@CMoebus
I'm not familiar with Anaconda so I can't help you there but if it's possible to specify versions, you want to use Tensorflow 1.6 or prior with Edward.
@dustinvtran
are you sure that tf.contrib.graph_editor
used set_shapes_for_outputs
? I was looking through tf 1.6 and it didn't look like there were any calls there
Hi guys, any kind of ETA on how long this fix might take? I'm reluctant to downgrade my Tensorflow version given just how particular it is with respect to Linux graphics driver version, CUDA version etc. it is. I'd rather not mess with it if you think a fix is < 2 weeks away.
Follows on https://github.com/blei-lab/edward/issues/882
Specifically
I'm assuming your comment about "just removing it" was tongue in cheek but I figured I'd give it a shot anyways
Running
pytest tests
I got
where the relevant errors (basically anywhere there was a copy) are as follows