You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was trying to try a logistic regression with tensorframe in python, but since i don't get to access the execution session and also the graph after execution, is there any reason that is kept from the user?
The text was updated successfully, but these errors were encountered:
yupbank
changed the title
is there any reason no session or constant value graph after execution not available in python lab
is there any reason no session or constant value graph after execution not available in python land
May 12, 2017
Yes, the execution session is fully managed on the workers and you do not have access to the sessions. This has a number of benefits such as allowing the sessions to be transparently multiplexed.
I have not tried these solutions yet, but if you want to collect some variables from the workers, there are a couple of ways, I believe:
for asynchronous communication, you should be able to use the primitives from tensorflow. The only issue concerns retrieving the final batch, but in most algorithms, the last batch is not so important
for synchronous communication, you should be able use tfs.reduce, once I add the session caching. You run a first map_rows phase to fill the variables, and then in a second phase, you merge these variables using reduce.
The second option requires a few incremental changes on the scala side to work though. I am a bit busy right now, but I should be able to take a look at it in three weeks - unless you want to take a look first.
Hi, @thunterdb so can you give me some hint on use the primitives from tensorflow for retrieving data from running graph? I'm looking into it but doesn't get any clue
Hi, I was trying to try a logistic regression with tensorframe in python, but since i don't get to access the execution session and also the graph after execution, is there any reason that is kept from the user?
The text was updated successfully, but these errors were encountered: