AFAIK, from the discussion here, training the network has been established as fair use on the US. But that doesn't apply to use the network's results in any way.
As far as I know that hasn’t been established yet but is presumably what would be decided (especially in an academic environment). But yes the output is a totally different question.