Skip navigation
Trained Neural Network to behave like an Image effectively compressing it.
0:00 / 0:59

Trained Neural Network to behave like an Image effectively compressing it.

Тsфdiиg

@tsoding122K followers

Visit on X
429 likesDownloadOriginal post

33,726 views

Trained Neural Network to behave like an Image effectively compressing it.

15 Comments

Comments from the original post on X (Twitter)

  • Core's profile picture

    @compux72

    How effective is it?

    4 likes

  • Тsфdiиg's profile picture

    @tsoding

    For this specific image and this specific network: the uncompressed image is 784 bytes, the "compressed" one (the size of all the 32bit float weights and bias) is 268 bytes. I'm not super familiar with compression metrics. But we saved (1 - 268/784)*100 = 65% I guess

    15 likes

  • Core's profile picture

    @compux72

    From my understanding lossy webp archives up to 35% compression (google search). So not bad

    1 like

  • Core's profile picture

    @compux72

    This is interesting too

    1 like

  • Тsфdiиg's profile picture

    @tsoding

    Oh! I haven't tried Recurrent Neural Networks yet! Thank you for reminding me about them! 👍

    2 likes

  • SkalskiP's profile picture

    @skalskip92

    So your weights become your image representation?

    3 likes

  • Amdjed B.'s profile picture

    @AmdjedBensalah

    what are you using to visualize & track ur NN this way?

    1 like

  • vimliever™'s profile picture

    @gers2017

    can't get access to gpt? MAKE YOUR OWN

    1 like

  • ymso's profile picture

    @ymsodev

    I did some research projects on this in college — look for CPPN if you’re interested in this topic of compression with NN. Different activation functions have different effects, e.g., ReLU is great for sharp edges.

    1 like

  • cryptolake 🇹🇼's profile picture

    @crypt0lake

    Is this an auto encoder then or am I missing something 🤔

    1 like

  • 𝐃𝐫. 𝐀𝐛𝐢𝐢𝐫𝐚 𝐍𝐚𝐭𝐡𝐚𝐧's profile picture

    @abiiranathan

    And it's all written in holy C

    1 like

  • تطوير الالعاب 🧬 Ludology's profile picture

    @mode7studio

    If this can do 3D, there's a dnn do 3D reconstruction but couldn't find it

  • Abdul Rahman's profile picture

    @ZDSAlpha

    Use sine functions with different periods on position, it will instantly converge. Supposing range of x and y is 0 to 1, use sin(pi*x), sin(2pi*x), sin(4pi*x) etc for both axis. It acts as positional encodings and lets you divide space into discrete chunks.

  • axYfK's profile picture

    @at_ataee

    How's the visualization done?

  • Ben Ryan's profile picture

    @benryantw

    Tsoding god. We're not worthy.