Looking for sketch simplification (tracing tool like potrace but using a neural network) working in grasshopper

Edgar Simo-Serra・Sketch Simplification (esslab.jp)

It’s using PyTorch, would grasshopper python handle something like this? Did anyone give this a try? I’m more than happy to give it a crack myself but I am very new to programming, where do I even begin learning about something like this?

Thank you