Communicating julia and python for deep learning

Hi all,

I was learning to make normal python code communicate with julia. But, I don’t know how this will happen for deep learning. For example, opencv in python can be communicated with julia using

using PyCall
cv2 = pyimport("cv2")

Similarly, how can keras and tensorflow be communicated with julia?
Also, I had done a binary classification using python. Can this weight file be accessed using julia? If yes, how?

tf = pyimport("tensorflow")? Note that there is also TensorFlow.jl.

As this isn’t your first post on Julia-Python interop within the last few days, I really recommend you read the PyCall.jl README to understand the interface better.

1 Like