Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The binaries themselves result in 10-25 megabytes. Along with that we ship multiple models currently.

I'm not sure if around 300mb would be considered 'bloat' for an AI Image Upscaler. People who have low end hardware unfortunately cannot use the application anyway.



Just had a look in the installed app on macOS:

    % du -h /Applications/Upscayl.app/Contents/Resources/models
    76M /Applications/Upscayl.app/Contents/Resources/models
76MB of models

    / % ls -lah /Applications/Upscayl.app/Contents/Resources/models
    total 155920
    drwxr-xr-x@ 14 simon  admin   448B Aug 27 04:44 .
    drwxr-xr-x@ 62 simon  admin   1.9K Aug 27 04:44 ..
    -rw-r--r--@  1 simon  admin    32M Aug 27 04:44 df2k.bin
    -rw-r--r--@  1 simon  admin   113K Aug 27 04:44 df2k.param
    -rw-r--r--@  1 simon  admin   1.2M Aug 27 04:44 realesr-animevideov3-x2.bin
    -rw-r--r--@  1 simon  admin   3.1K Aug 27 04:44 realesr-animevideov3-x2.param
    -rw-r--r--@  1 simon  admin   1.2M Aug 27 04:44 realesr-animevideov3-x3.bin
    -rw-r--r--@  1 simon  admin   3.1K Aug 27 04:44 realesr-animevideov3-x3.param
    -rw-r--r--@  1 simon  admin   1.2M Aug 27 04:44 realesr-animevideov3-x4.bin
    -rw-r--r--@  1 simon  admin   3.0K Aug 27 04:44 realesr-animevideov3-x4.param
    -rw-r--r--@  1 simon  admin   8.5M Aug 27 04:44 realesrgan-x4plus-anime.bin
    -rw-r--r--@  1 simon  admin    30K Aug 27 04:44 realesrgan-x4plus-anime.param
    -rw-r--r--@  1 simon  admin    32M Aug 27 04:44 realesrgan-x4plus.bin
    -rw-r--r--@  1 simon  admin   113K Aug 27 04:44 realesrgan-x4plus.param


I could probably save some size by removing the models that we aren't using but we eventually are going to use them in the next build so that's one of the stupid reasons I didn't remove it (probably should have).

Electron is definitely heavy but it's also the only framework that ships with node runtime, so it was the best option for us at the moment.


Thanks. I just sent this to my graphic designer friend and was very excited. This is a though crowd.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: