Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCGAN #389

Open
wants to merge 76 commits into
base: revert-155-patch-1
Choose a base branch
from
Open

DCGAN #389

wants to merge 76 commits into from

Conversation

P1599
Copy link

@P1599 P1599 commented Jan 6, 2021

edits

刘斌 and others added 30 commits April 4, 2017 11:29
…any mode.

When using mnist dataset and c_dim equals 1, the shape of value of  merge(images, size) is (224, 224, 1), while the function scipy.misc.imsave just support these three type of shape: MxN or MxNx3 or MxNx4(https://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imsave.html).
So we need to squeeze it first.
Deel with ValueError in utils.imsave when using mnist.
I have attempted to use the program with grayscale images. c_dim will become n for a n x n image (e.g. c_dim = 96 for a 96 x 96 image). By modifying as such, grayscale image could be successfully detected and c_dim will be appropriately assigned with 1.
Bug Fix for Checking Grayscale Image
Fix layer 4 name in discriminator
 Remove unused placeholder variable in build_model
fix generation of sample image non square number of images
Fixed manifold dimension bug
combined code paths for with/without y_dim
del  ';'
Rename `15:07:47` to `15_07_47` in test_***.png files so that file names would be legal on Windows
carpedm20 and others added 30 commits April 12, 2018 17:06
Make dataset root directory a flag
Shuffle self.data after assignment
prevent xrange error: float cannot be interpreted as an integer
Give informative error msg when no data exists
Raise error if dataset size less than batch_size
Add informative msg when img size mismatch
… normal; 'uniform_signed': (-1,1); 'uniform_unsigned':(0,1) }
- set root output directory with --out_dir.
- set output name with --out_name (or leave blank for it to be generated automatically from hyperparams)
- checkpoints, samples and log saved under out_dir/out_name
- environment variables expanded
- save json for FLAGS for reference
- auto set output size to input size if None
move self.data length check to the right place
Fix 3-channel images incorrectly read as if 1-channel
A number of extra options
Changed resize function; scipy deprecated Issue #351
Add a missing prerequisite in Readme.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.