Code Monkey home page Code Monkey logo

ac-gan's Introduction

Hi there ๐Ÿ‘‹

My name is Namjoo Kim, and I am the CEO of QUARKONIX PTE.,LTD. in Singapore.

  • ๐Ÿ˜„ I was the leader of Klaybay CIC at Krust in Seoul, Korea.
  • ๐Ÿ”ญ I was the former CTO of Kakao brain.
  • ๐ŸŒฑ I was currently learning Javascript, python, Solidity language.
  • ๐Ÿ’™ I love collaborating with developers, engineers and researchers.
  • ๐Ÿ˜„ My current interest is Blockchain and Machine learning.

Namju's GitHub stats

ac-gan's People

Contributors

buriburisuri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ac-gan's Issues

generate problem

Traceback (most recent call last):
File "generate.py", line 98, in
fig_name='fake.png')
File "generate.py", line 73, in run_generator
saver.restore(sess, tf.train.latest_checkpoint('asset/train'))
File "/home/xujian/.local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1439, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/home/xujian/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 767, in run
run_metadata_ptr)
File "/home/xujian/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 965, in _run
feed_dict_string, options, run_metadata)
File "/home/xujian/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1015, in _do_run
target_list, options, run_metadata)
File "/home/xujian/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1035, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: Unable to get element from the feed as bytes.

128x128 input

Hello,
If I want to use this code for 128x128 mages, all I have to do is adding more sg_upconv layers to the generator in order to achieve the desired output? And sg_conv for the discriminator of course.
Any thought?
Thanks.

Training problem!

Thank for sharing this code, but when I trying to train this model with python train.py, the following error occurs:

Traceback (most recent call last):
File "train.py", line 86, in
y_disc = tf.concat(0, [y, y * 0])
File "/home/hao/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 1062, in concat
).assert_is_compatible_with(tensor_shape.scalar())
File "/home/hao/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/tensor_shape.py", line 737, in assert_is_compatible_with
raise ValueError("Shapes %s and %s are incompatible" % (self, other))
ValueError: Shapes (2, 32) and () are incompatible

Loss to update G net

As is known, only generated samples are used to calculate adversarial loss for updating G net in classic gan. Here, I see that real image data was also used to calculate classification loss to update G net? Is it ok to do this?

Tensorboard problem

when i run trian.py, I don't find log, and when I run the tensorboard --logdir asset/train/log, the web don't display the result. Can you tell me how to use the tensorboard?

[continuous factor loss]

Can you explain for me "what is continuous factor loss"? i read the paper about AC-Gan and can not find anything that related to "continuous factor loss".

data problem

Extracting ./asset/data/mnist/train-images-idx3-ubyte.gz
Traceback (most recent call last):
File "train.py", line 75, in
data = tf.sg_data.Mnist(batch_size=batch_size)
File "/home/xujian/ac-gan-master/ac-gan-master/sugartensor/sg_data.py", line 40, in init
data_set = input_data.read_data_sets(Mnist._data_dir, reshape=reshape, one_hot=one_hot)
File "/home/xujian/.local/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 213, in read_data_sets
train_images = extract_images(f)
File "/home/xujian/.local/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 53, in extract_images
magic = _read32(bytestream)
File "/home/xujian/.local/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 35, in _read32
return numpy.frombuffer(bytestream.read(4), dtype=dt)[0]
File "/usr/lib/python2.7/gzip.py", line 268, in read
self._read(readsize)
File "/usr/lib/python2.7/gzip.py", line 303, in _read
self._read_gzip_header()
File "/usr/lib/python2.7/gzip.py", line 197, in _read_gzip_header
raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file

An question about the code

  1. the "y_disc = tf.concat(0, [y, y * 0])" in 82 lines seems unused?

2.You divide the class info into categorical latent code and conditional latent code, Is this thought from InfoGan? I don't find the paper do it.

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.