Skip to content

PennyQ/LearningToPaintDemo

Repository files navigation

LearningToPaintDemo

This is a demo frontend of "Learning to Paint", a Reinforcement Learning based painting agent. The demo applied pre-trained models from ICCV2019-LearningToPaint, including both actor and renderer.

Installation

Use the package manager conda to install dependencies.

conda install -r requirements.txt -n learningtopaint
conda activate learningtopaint

Install ffmpeg, for Mac users:

brew install ffmpeg

Usage

python setup.py install
export FLASK_APP=app
export FLASK_DEBUG=true
flask run

Go to http://127.0.0.1:5000 (allow camera to be used in browser)

Run tests:

pytest -v 

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

About

Demo frontend of "Learning to Paint", a RL-based painting agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors