Differentiable Colour Difference Functions #1254
Replies: 2 comments 1 reply
-
|
Hello @JoniSuominen, This is a timely discussion! Beyond PyTorch tensors, we are looking at supporting the Python Array API Standard as per #1244. Cheers, Thomas |
Beta Was this translation helpful? Give feedback.
-
|
Similar to @JoniSuominen, I was considering using the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I recently re-implemented a neural network from this paper: https://doi.org/10.2352/issn.2694-118X.2021.LIM-54 in Python (specifically PyTorch) for my Master's thesis. Unfortunately, I could not use the colour difference functions (e.g. CIEDE2000) implemented in this library, as they operate on Numpy arrays rather than PyTorch tensors.
I had an idea to make an ML library for colour science functions that implement basic conversions and colour difference functions for the most popular frameworks (TensorFlow and PyTorch). At the moment there is no "open-source" library to my knowledge for this, although ML/DL is a growing field. There are individual packages, such as: https://github.com/jorge-pessoa/pytorch-colors and https://github.com/ZhengyuZhao/PerC-Adversarial/tree/master, but I figured it would be worth the effort.
Would this be something you support, maybe as another library in the colour-science family?
Beta Was this translation helpful? Give feedback.
All reactions