Giter Site home page Giter Site logo

Comments (4)

jonycgn avatar jonycgn commented on June 9, 2024

Memory size of an image should be constant, since it is typically stored as an array of pixel values in memory. We need more details on what you are doing.

from compression.

goldwater668 avatar goldwater668 commented on June 9, 2024

@jonycgn

I want to resize the image from 1024X1024 to 256X256, and the file size should be reduced while ensuring high fidelity of the image quality. The format of the image file supports common image formats such as jpg

from compression.

jonycgn avatar jonycgn commented on June 9, 2024

Hi, I don't see what this has to do with TensorFlow Compression. Please be more specific about what specific steps you took, what the outcome was, and how it differed from what you expected.

from compression.

MahmoudAshraf97 avatar MahmoudAshraf97 commented on June 9, 2024

When comparing the original image size and the reconstructed image size, you are actually comparing the original encoding with tensorflow encoding and both have nothing to do with your model, to measure your model compression you need to assume that the image is stored in HWC bytes and divide that by the length of compressed string you get from tfc.PackedTensors().string, this yealds the compression ratio.

from compression.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.