These are chat archives for FreeCodeCamp/DataScience

27th
Oct 2018
kiran
@KiranGkiran11_twitter
Oct 27 2018 06:52
hi everyone please answer this
how can i calculate the no of string in each row of a column
Alice Jiang
@becausealice2
Oct 27 2018 15:23
the what of string?
Philip Durbin
@pdurbin
Oct 27 2018 15:25
number
Bigyan Karki
@bigyankarki
Oct 27 2018 17:09
@honmanyau thank you :)
I tried it using flask, as its easy to setup. However, I ran into problem while restoring the model. Is there a difference between restoring a model and restoring a checkpoint in tensorflow?
Bigyan Karki
@bigyankarki
Oct 27 2018 17:14
This is my model repo. After I get a picture from client side, I intend to pass the image to the predict.py.
And, I intend to restore the checkpoint, and run the prediction based on the restored checkpoint.
However I am getting this error:
ValueError: Cannot use the given session to execute operation: the operation's graph is different from the session's graph.
I am certain I have a gap in my knowledge about tf. Is there any good documentation you can point me to?
any help is appreciated.
Bigyan Karki
@bigyankarki
Oct 27 2018 17:26
The training program can be viewed here
Bigyan Karki
@bigyankarki
Oct 27 2018 18:10
oops! found my mistake. Thanks @pdurbin :)
Philip Durbin
@pdurbin
Oct 27 2018 18:13
sure
Alice Jiang
@becausealice2
Oct 27 2018 21:30
@pdurbin I see. I'm still not positive what you're asking, I have no idea what your data looks like, nor what tools you're using so I'm not sure how to help you
Philip Durbin
@pdurbin
Oct 27 2018 22:14
@becausealice2 it wasn't me who was asking. It was @KiranGkiran11_twitter