Code Monkey home page Code Monkey logo

Phobrain is a toy or tool for examining how one's mind works, starting by doing 'compare and contrast' on pairs of photos - to cultivate multidimensional thinking and curiosity. Labeling pairs like/not enables training simple neural nets that can project unseen pairs. Weighing pairs leads to clashes in rationales, introducing classification in a nitty-gritty, personal way.

The setup should become more user-friendly, starting from this programmer-level description:

Copy photos to an images folder. 
Run scripts/programs to extract Color information and Imagenet vectors. 
Create postgres database, with pgvector library. 
Import photo info into database. 
Compile/start web server. 
View/label photo pairs in browser. 
Train models, predict pairs, view.

See https://github.com/phobrain/Phobrain/blob/main/pr/INSTALL

The (Java) web server is intended for local use as a default for data protection. It is old school, and I hope to see AGPL-licensed rewrites in new languages. Much data prep code is also in Java, which is used for its fantastic parallelism compared to python. Training/prediction use keras; much optimization could be done for batch predictions.

Neural nets: color histograms and Imagenet vectors are used to represent photos. Pairs labeled 0/1 train nets to ~85% accuracy. Then vectors of size 2..16 are generated for the photos using those nets (these are personal pair analogs of Imagenet vectors), and groups of these smaller vectors are again taken to represent the photos, using the original labeled pairs to train miniscule nets that predict interesting photos with ~90% accuracy.

Observation: the gold standard for labeling is to use randomly-generated pairs. Alternative methods are provided for variety.

Bill Ross's Projects

hello-world icon hello-world

Phobrain is a photo-pair instantiation of a life form creation experiment

java-util icon java-util

Java library and utilities for photo analysis and preparation for Phobrain

phobrain icon phobrain

Phobrain is a tool for generating, labeling, and exploring 'Rorschach pairs' of photos, toward modeling personality and mind.

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.