Comments (5)
it run well on my side:
- TensorLayer (both 1.4.5 and 1.8.1)
- TensorFlow 1.4.
- Python 3.5
- Ubuntu 16
and I will update this repo with TensorLayer 1.8.1 soon.
from dcgan.
Would you be able to try on TensorFlow 1.6, python 3.6? Wonder if it's tensorflow version, mine is 1.6 and python 3.6.
from dcgan.
the code in main.py,line22
flags.DEFINE_integer("train_size", np.inf, "The size of train images [np.inf]")
change to :
flags.DEFINE_float("train_size", np.inf, "The size of train images [np.inf]")
then you can run it correct,but there is another tings I don't know you can't got the result you need.
the tutorial in README is sample but unuse...
I suggest you use another sample DCGAN,like:
https://github.com/carpedm20/DCGAN-tensorflow
from dcgan.
I changed the line 22, and it fixed the error, $ python main.py
is run successfully. Indeed, directly running main.py
looks like training, since it doesn't generate images in the end.
Trying the other repo mentioned above, there're more arguments to the usage of main.py
mentioned in README.cmd
there, like whether its training, or testing; specifying dataset MNIST or celebA, even your own dataset if have.
from dcgan.
from dcgan.
Related Issues (20)
- Error during run HOT 2
- Error during download HOT 2
- --sample_size option causes ValueError
- ValueError: Trying to share variable discriminator/d/h4/lin_sigmoid/W HOT 2
- how to save images in a separate folder in each epoch?
- multi-gpu HOT 1
- Error running train.py HOT 1
- local variable 'z' referenced before assignment HOT 4
- how to generate new images HOT 1
- how to load checkpoint epoch?
- how to train this model on my dataset?
- How to train on existing checkpoint
- Performance issue in /data.py (by P3) HOT 1
- #how to specify number of images to be generated
- TypeError: __init__() got multiple values for keyword argument 'dtype' HOT 2
- The url for CelebA dose not work now HOT 1
- which version u are using for python HOT 1
- extract features HOT 1
- Traceback error - main.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcgan.