Chris Nuernberger

Results 167 comments of Chris Nuernberger

It makes total sense. The tricky thing about frames is the layout of the data in that sometimes it is a planar format which means several data buffers as opposed...

The thing is the frame data information is an array of pointers. While I get that skia may support YUV, I doubt it will have the same layout as that....

Filter graphs are on the path to making this stuff a lot more concretely useful. There is a python library that does a good job of making those filter graphs...

10.X according to my testing will not throw an error: ```console (base) chrisn@chrisn-lt3:~$ clj --version Clojure CLI version 1.10.3.1075 (base) chrisn@chrisn-lt3:~$ clj Clojure 1.10.3 (ns foo (:refer-clojure :exclude [a b...

If torch is using the multi threading module that will definitely cause it. We know in embedded mode we see those error messages from it…

I think redirecting stdout is a red herring - turning off torch multithreafing I think is key

If we want to be bold we could perhaps provide our own implementation of the threading module.

Actually, in embedded mode with manual gil locking you should not see any issues like this. The multithreading module works in embedded mode. And you are right, the io redirection...

From pure clojure - You have to have the manual_gil property set when the python.ffi namespace is first compiled. The only reliable way I found is to start the vm...

You do not need the lock/unlock pairs. When embedded the enclosing python already owns the gil.