Giter VIP home page Giter VIP logo

easygan's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

trainmachines

easygan's Issues

TensorFlow not listed as dependency

easyGAN does not install with TensorFlow
get the following error when running any easyGAN command in an virtual environment that does not have TensorFlow already installed:
ImportError: No module named 'tensorflow'

unrecognized arguments: --filetype jpg

Missing args parser?

easygan --folder "256x512" --batch 32 --filetype jpg
Using TensorFlow backend.
usage: easygan [-h] [-s SEARCH] [-k KEYWORD] [-f FOLDER] [-ff FILEFORMAT]
[-b BATCH]
easygan: error: _unrecognized arguments: --filetype jpg

But -ff jpg works.

Bug 001

ValueError: Sample larger than population or is negative

Googleimagesearch info

Update the page to add information
How to use Googleimagesearch(python lib) for collecting images easily

glob.glob error occured

My environment:
Ubuntu 16.04
Python 2.7
pip 18.0
sudo -H pip install easygan
Tensorflow-gpu 1.10.1
Geforce GTX 1070

I executed the following command as tutorial.
$ easygan --folder "puppies" --batch 55

Traceback (most recent call last):
  File "/usr/local/bin/easygan", line 6, in <module>
    easygan.main()
  File "/usr/local/lib/python2.7/dist-packages/easygan/__init__.py", line 250, in main
    run_DCGAN(folder, batch)
  File "/usr/local/lib/python2.7/dist-packages/easygan/__init__.py", line 193, in run_DCGAN
    batch_image = image_batch(filePath, batch_size)
  File "/usr/local/lib/python2.7/dist-packages/easygan/__init__.py", line 140, in image_batch
    files = glob.glob(source_dir + filePath + "/*.png", recursive=True)
TypeError: glob() got an unexpected keyword argument 'recursive'

But, the following was successful.
Edited __init__.py

files = glob.glob(source_dir + filePath + "/*.png", recursive=True)
โ†“
files = glob.glob(source_dir + filePath + "/*.png")

__init__.py --> compile --> __init__.pyc

$ easygan --folder "puppies" --batch 55

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.