convnetjs icon indicating copy to clipboard operation
convnetjs copied to clipboard

[Suggestion for "Painting"] Use of Fourier Features?

Open UPstartDeveloper opened this issue 2 years ago • 3 comments

Hello,

On the page titled "Image Painting" I wanted to suggest passing the (x, y) points through a Fourier feature mapping. The details on this are described here in this 2020 NeurIPS paper by Google Research (including example code).

Admittedly I'm not sure if this would be out of scope for an intro example for this library, but it would be very cool to see the neural net be able to paint the cat clearly.

Btw thanks for sharing this great work! I originally found this repo when I was in undergrad, it was part of what got me excited about computer vision :)

UPstartDeveloper avatar Jun 15 '22 00:06 UPstartDeveloper

您好,我是薛文毅,已收到您的邮件,一会查收,谢谢!!  

371148606 avatar Jun 15 '22 00:06 371148606

Specifically for implementation, it might be good to find a NumPy equivalent for JS. Reading around it looks like numjs is a good option

Update: could also be a good idea to write a new type of layer class for this library, for easier incorporation into linear models

UPstartDeveloper avatar Jun 16 '22 18:06 UPstartDeveloper

^hi again @371148606 - I figured out a way to implement this just using the existing utility functions (credit @karpathy :) ). Would be great to get some feedback!

UPstartDeveloper avatar Jan 07 '23 21:01 UPstartDeveloper