Git Product home page Git Product logo

train-computer-to-imitate-world-famous-paintings's Introduction

Train-computer-to-imitate-world-famous-paintings

通过python的深度学习算法包去训练计算机模仿世界名画的风格,然后应用到另一幅画中。具体应用到的算法看上传的pdf论文。 步骤一: #命令行安装keras、h5py、tensorflow pip3 install keras pip3 install h5py pip3 install numpy pip3 install scipy pip3 install tensorflow #如果pip3失败请用pip就好

步骤二: 在C:/Users/Administrator 下新建.keras文件夹。注意,这里不能直接右键新建.开头的文件夹,但是用DOS命令就OK了。 WIN键+R键打开运行对话框,输入cmd,打开DOS命令行,使用mkdir .keras,在当前目录建立了一个名为“.keras”的文件夹,这个keras其实是之前安装的keras库里的。

步骤三: 新建一个空文件夹,把上一步骤的文件neural_style_transfer.py放入这个空文件夹中。然后把相应的模板图片,待转化图片放入该文件当中。 python neural_style_transfer.py 你的待转化图片路径 模板图片路径 保存的生产图片路径加名称(注意不需要有.jpg等后缀) python neural_style_transfer.py './me.jpg' './starry_night.jpg' './me_t'

train-computer-to-imitate-world-famous-paintings's People

Contributors

herumw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

train-computer-to-imitate-world-famous-paintings's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.