Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fake images #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fake images #71

wants to merge 2 commits into from

Conversation

danielgural
Copy link
Contributor

Quick demo to show how to use embeddings to spot fakes

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be a separate PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upload as raw github user content or google drive and add via URL or download, to avoid bloat in repo. Same goes for all images.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the tracking stuff as a separate PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

separate out the tracking stuff

Copy link
Contributor

@jacobmarks jacobmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feedback on the notebook:

  • instead of for sample in dataset, use dataset.iter_samples(autosave=True) — it's faster
  • We have access to filename as sample.filename. You don't need os.path here
  • make sure all images of the app are actually viewable, not blank or pixelating. Add as separate images like the butterflies
  • For SD images, maybe use the Text-to-Image Plugin, or make a note about it? This would be more robust but achieve the same effect as your tagging with "diffusion", as well as give transparency into the prompts
  • Why installing numba? It should be installed by default, right?
  • for compute_visualization(), num_dims=2 is default, "emb" is not a descriptive key, and verbose=True isn't helpful if omitting outputs.

high level feedback:

  • some motivation and conclusion would be helpful
  • if you are using default model for embeddings, you should say what it is. Also probably worth showing a few models and seeing how things look in the dim reduced space, i.e. what each model picks up on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants