Summarising: the CWD (current working directory) when running a node with rosrun or roslaunch is not the same as when you start a script yourself.
The CWD for all nodes is $HOME/.ros. So unless there is a file called frozen_inference_graph.pb in $HOME/.ros, the error you mention is expected.