资源算法drawlikebobross

drawlikebobross

2019-10-16 | |  231 |   0 |   0

Draw like Bob Ross using the power of Neural Networks! (+ Pytorch)

图片.png

Learning Process Visualization

68747470733a2f2f7468756d62732e6766796361742e636f6d2f446566656e73656c657373456d696e656e744b6f6f6b6162757272612d73697a655f726573747269637465642e676966.gif

Getting started

Install dependecies

Requires python3.x

pip install -r requirements.txt
pip install http://download.pytorch.org/whl/cu75/torch-0.1.11.post5-cp36-cp36m-linux_x86_64.whl 
pip install torchvision

Run server (using pretrained model)

python app.py --resume pretrained_models/450epoch_aae.tar

Navigate to 127.0.0.1:5000

Run server (from scatch)

1. Scrapping data

./scrapper.sh

2. Preprocess data (should take around 5-10 mins)

python preprocess.py

3. Train data

cd aae
python train.py

4. Run server

cd PROJECT_ROOT
python app.py --resume TRAINEDMODEL.path.tar

Navigate to 127.0.0.1:5000

上一篇:generative models

下一篇:pytorch-tvmisc

用户评价
全部评价

热门资源

  • allennlp-server

    allennlp-server Serve allennlp services as sep...

  • ubuntu-allennlp

    ubuntu-allennlp AllenAI AllenNLP image based o...

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...