koji / easygan Goto Github PK
View Code? Open in Web Editor NEWDCGAN for everyone
Home Page: https://easygan.netlify.com
DCGAN for everyone
Home Page: https://easygan.netlify.com
Fix #3
Add a sample command for jpg file.
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'
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.
Update main code
Push easyGAN code to this repo
ValueError: Sample larger than population or is negative
zsh: illegal hardware instruction easygan --search "google" --keyword "puppy" -folder "puppies"
Add GUI
Update the page to add information
How to use Googleimagesearch(python lib) for collecting images easily
Merge the following script to easyGAN
https://github.com/sleepy-maker/Collecting-Images-4-ML
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.