ML + web3 model deployment survey
Create miniconda virtual environment
conda env create -f environment.yml
Activate virtual environment
conda activate ml-web3-deployment
Copy .env.template to .env and define variables
Update brownie configuration as needed for RPC access
Train new model
python train.py
Once the trained model has been uploaded to IPFS, define the IPFS_MODEL_HASH variable in your .env file
Deploy model to web3 infrastructure
python deploy --infra ocean