Downloads · 30 days
0
alindumitru/neural-art-eeg
neural-art-eeg is a image-to-image model from alindumitru. Use it when you need one image transformed into another. It is set up for pytorch. The card lists the license as other.
This repository contains a custom PyTorch latent diffusion checkpoint trained with the neural-art repository code. It generates images conditioned on Emotiv Epoch X style EEG input.
Downloads · 30 days
0
Access
Public
Updated Jul 5, 2026
Repo size
7.6 GB
Likes
0
Public
Click a slice to open those files.
.pth7.6 GB · 100%
From the Hugging Face model README
This repository contains a custom PyTorch latent diffusion checkpoint trained with the
neural-art repository code. It generates images conditioned on Emotiv Epoch X style
EEG input.
Github: https://github.com/alinvdu/neural-art Youtube: https://www.youtube.com/watch?v=8v_EB73m6cQ
generative/checkpoints/checkpoint.pth: fine-tuned latent diffusion checkpoint.generative/checkpoints/checkpoint-eeg.pth: EEG encoder checkpoint required by the
current inference code.config15.yaml: model architecture configuration.generative/: custom model code copied from src/generation-service/generative.inference.py: small helper for loading the model from this Hub repository.This is custom PyTorch code, not a standard transformers or diffusers pipeline.
Install the runtime dependencies, clone this repository, and run inference from the
repository root.
pip install -r requirements.txt
import torch
from inference import NeuralArtPipeline
pipe = NeuralArtPipeline(device="cuda" if torch.cuda.is_available() else "cpu")
# EEG input should match the training/inference shape used by the original repo:
# a 2D tensor/array with shape [channels, time].
eeg = torch.randn(14, 1024)
images = pipe(eeg, num_samples=2, ddim_steps=100)
for i, image in enumerate(images):
image.save(f"sample_{i}.png")
Research and experimentation with EEG-conditioned image generation. This model was developed for data compatible with an Emotiv Epoch X 14-channel headset and the preprocessing pipeline in the original repository.
Original repository: neural-art
Architecture credit in the source repository: DreamDiffusion.