this post was submitted on 05 Sep 2024
40 points (100.0% liked)

Selfhosted

40134 readers
623 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

So, I'm selfhosting immich, the issue is we tend to take a lot of pictures of the same scene/thing to later pick the best, and well, we can have 5~10 photos which are basically duplicates but not quite.
Some duplicate finding programs put those images at 95% or more similarity.

I'm wondering if there's any way, probably at file system level, for the same images to be compressed together.
Maybe deduplication?
Have any of you guys handled a similar situation?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 months ago (1 children)

computers make decisions all the time. For example, how to route my packets from my instance to your instance. Classification functions are well understood in computer science in general, and, while stochastic, can be constructed to be arbitrarily precise.

https://en.wikipedia.org/wiki/Probably_approximately_correct_learning?wprov=sfla1

Human facial detection has been at 99% accuracy since the 90s and OPs task I'd likely a lot easier since we can exploit time and location proximity data and know in advance that 10 pictures taken of Alice or Bob at one single party are probably a lot less variant than 10 pictures taken in different contexts over many years.

What OP is asking to do isn't at all impossible-- I'm just not sure you'll save any money on power and GPU time compared to buying another HDD.

[–] [email protected] -2 points 2 months ago (1 children)

Everything you just described is instruction. Everything from an input path and desired result can be tracked and followed to a conclusory instruction. That is not decision making.

Again. Computers do not make decisions.

[–] [email protected] 1 points 2 months ago (1 children)

Agree to disagree. Something makes a decision about how to classify the images and it's certainly not the person writing 10 lines of code. I'd be interested in having a good faith discussion, but repeating a personal opinion isn't really that. I suspect this is more of a metaphysics argument than anything and I don't really care to spend more time on it.

I hope you have a wonderful day, even if we disagree.

[–] [email protected] 0 points 2 months ago (1 children)

It's Boolean. This isn't an opinion, it's a fact. Feel free to get informed though.

[–] [email protected] 1 points 2 months ago (1 children)

Then it should be easy to find peer reviewed sources that support that claim.

I found it incredibly easy to find countless articles suggesting that your Boolean is false. Weird hill to die on. Have a good day.

https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=computer+decision+fairness&oq=computer+decison

[–] [email protected] 0 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

You seem very upset, so I hate to inform you that neither one of those are peer reviewed sources and that they are simplifying things.

"Learning" is definitely something a machine can do and then they can use that experience to coordinate actions based on data that is inaccesible to the programmer. If that's not "making a decision", then we aren't speaking the same language. Call it what you want and argue with the entire published field or AI, I guess. That's certainly an option, but generally I find it useful for words to mean things without getting too pedantic.

[–] [email protected] -2 points 2 months ago (1 children)

🙄

"Pedantic Asshole tries the whole 'You seem upset' but on the Internet and proceeds to try and explain their way out of being embarrassed about being wrong, so throws some idiotic semantics into a further argument while wrong."

Great headline.

Computers also don't learn, or change state. Apparently you didn't read the CS101 link after all.

Also, another newsflash is coming in here, one sec:

"Textbooks and course plans written by educators and professors in the fields they are experts in are not 'peer reviewed' and worded for your amusement, dipshit."

Whoa, that was a big one.

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

I think there's probably a difference between an intro to computer science course and the PhD level papers that discuss the ability of machines to learn and decide, but my experience in this is limited to my PhD in the topic.

And, no, textbooks are often not peer reviewed in the same way and generally written by graduate students. They have mistakes in them all the time. Or grand statements taken out of context. Or are simplified explanations because introducing the nuances of PAC-learnability to somebody who doesn't understand a "for" loop is probably not very productive.

I came here to share some interesting material from my PhD research topic and you're calling me an asshole. It sounds like you did not have a wonderful day and I'm sorry for that.

Did you try learning about how computers learn things and make decisions? It's pretty neat