Code Monkey home page Code Monkey logo

docker-scratchgan's Introduction

docker-ScratchGAN

Run ScratchGAN in Docker

Setup

  1. Clone this repository to your computer. git clone https://github.com/pulipulichen/docker-ScratchGAN.git .
  2. Start docker service.
  3. Copy the files from input.example to input.
  4. Run docker-compose build .
  5. Run docker-compose run app bash to enter the console of container.
  6. Run bash scratchgan/train.sh .
  7. Wait for training and evaluating.
  8. The first training result will disappear in ./checkpoints/scratchgan-2002_sentences.txt .
  9. Keep waiting for scratchgan-4002_sentences.txt and scratchgan-6002_sentences.txt. It takes at least three hours to perform each iteration.

Result

scratchgan-2002_sentences.txt

The sentences written by ScratchGAN will become more and more like humans after iteration.

Following are the sentences from scratchgan-2002_sentences.txt:

  • What had everything when on of police has running of to winds testing all when am have
  • Those I was women to sick to share move 3 have
  • It ' s more only decent of ( apart much Those to should so

Following are the sentences from scratchgan-4002_sentences.txt:

  • Greg bomb said the principle is still because , done that it is a
  • He took the time on a family property to appropriate in 2010 together something , and the Protection
  • Although it has said that I just like the after old wonderful ending and opened

And then, following are the sentences from scratchgan-4002_sentences.txt:

  • Instead that the same time before I would decided to it held , his lives , than badly like it at the
  • And the fans moved the game off open that the middle voting of government , fairly now as those economies country increased at its
  • The second year of ABC Florida 250 seconds about the third Trust , certainly ' t show again to it down that every

But the setences still seem meaningless.

Chinese issue

I have tried to replace universal-sentence-encoder with universal-sentence-encoder-multilingual in eval_metrics.py but failed. It seem like got module version conflicting in tensorflow_gan and tensorflow_text, which is required by universal-sentence-encoder-multilingual. Maybe you can try another sentence representation encoder in the futrue.

docker-scratchgan's People

Contributors

pulipulichen avatar

Watchers

 avatar  avatar  avatar

Forkers

wyfan

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.