Practise Lab on K-means - image compression

Hello - How can I test the image compression program with another image. Is it possible to upload your own image and try it out.


I am not knowledgeable of this lab but usually if you go to File section you can upload files, try it maybe you can.

Hi @vibhukmenon,

As @gent.spah said, go to “File” > “Open” and then look for the “Upload” button.

螢幕擷取畫面 2023-05-12 201344


Note that the notebook assumed a photo of only 3 channels (R, G, and B), and it would be better to upload a photo of similar size, otherwise it could be slow if it was too large.


1 Like

Thank you @gent.spah & @rmwkwok. I actually ended up writing the program in my local instance while waiting for the answer.

Good to know that we can upload our own files. This definitely helps in future .We can mark this thread as closed.

1 Like

Sure, @vibhukmenon! If I were you, I would have done the same :wink: :raised_hands:


1 Like