Skip to content

For retraining generative deep learning models such as DCGAN on private image datasets on Ocean marketplace using Compute-to-Data.

License

Notifications You must be signed in to change notification settings

AlgoveraAI/generative-art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algovera: Generative AI for Art NFTs

Algovera is a community working to facilitate and accelerate the development of decentralised AI applications and research. The workflow and practices for machine learning engineers become quite different with recently-maturing technologies such as private AI, data marketplaces and Web3. The aim of this project is to go through the whole process of developing an AI algorithm with these new tools on the Ocean Protocol infrastructure. We decided on the use case of generative models for art, since this is one of the few places that machine learning models are currently used in Web3. When finished, ownership and governance (e.g. of generated revenue) of the algorithm will be shared by the contributors. We run hacking sessions on Thursdays at 17:30 UTC where all are welcome to join and contribute.

Contents

👪 Community

Hacking Sessions

  • Algovera hacking sessions: Thursdays at 17:30 UTC. 60 min. Zoom link, Meeting ID 849 8540 9109, Passcode 0PrKnWan. Anyone is welcome to drop in! 👋
  • Catch up on previous sessions in the Hacking Sessions playlist of our YouTube
  • Join the discussion in the #🖥-hacking-sessions channel of our Discord

Algovera

Algovera is a community of individuals working to facilitate and accelerate the development of decentralised AI products and research.

Website | Notion | Discord | Calendar | Twitter | YouTube |

🏗 Initial Setup

Set up environment

Open a new terminal and:

#clone repo
git clone https://github.com/AlgoveraAI/generative-art.git
cd generative-art 

#create a virtual environment
python3 -m venv venv

#activate env
source venv/bin/activate

#Install the ocean.py library. Install wheel first to avoid errors.
pip install wheel
pip install ocean-lib

pip install gdown

🎨 Generative AI for Art on Web3

Many artists in Web3 use generative AI. This often involves re-training a model such as StyleGAN2 on a dataset collected by the artist, and publishing the output images on a blockchain as NFTs. Experimenting with newly-collated datasets and training procedures is time-consuming and expensive, meaning that artists are highly protective of these assets. However, recent decentralized AI technologies may enable artists to monetize their datasets and models while maintaining control and privacy. Furthermore, interesting collaborations could take place between artists on different combintations of datasets and models (like a data union for artists). Rather than sharing a download link to data, the artist would permit another artist's algorithm to come to the location of their dataset and run some training code (Compute-to-Data), before returning the trained model. By publishing datasets and algorithms on the Ocean marketplace , NFT enthusiasts could also buy or provide liquidity for the algorithm and data tokens (as well as buying the outputs of the models). This project will provide a Proof of Concept (PoC) for bringing generative models on-chain, and show artists that more value can be unlocked by publishing their models (and datasets) on Ocean.

🤖 Resources

Here are further resources.

🏛 License

The license is MIT. Details

About

For retraining generative deep learning models such as DCGAN on private image datasets on Ocean marketplace using Compute-to-Data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages