adversarial-autoencoder icon indicating copy to clipboard operation
adversarial-autoencoder copied to clipboard

dependency environment problem

Open soonwillgo opened this issue 6 years ago • 7 comments

Hello! I use anaconda spyder to compile your perfect project, but I meet some problems. I think it's about my compile environment. I use win7 64bit, and Chainer version is 2.01, cupy version 4.1, cuda 9.0, cudnn 7. There are always some problems about the carray.cuh of cupy. Could you please tell me your compile environment and do u know what about this problem?

soonwillgo avatar Aug 27 '18 11:08 soonwillgo

I am using Ubuntu 16.04 and CUDA 9.0. I installed cupy via pip install cupy-cuda90 Could you show me the error message?

musyoku avatar Aug 27 '18 17:08 musyoku

Thanks for your kindly reply in time. I tried it in the linux system. Luckily, everything is OK. Thank u again!

soonwillgo avatar Aug 28 '18 02:08 soonwillgo

Hello musyoku! I 'm a new hand. I have learned your perfect project, and handle the example successfully. And here, several problems puzzles me always. Could you please give some hints? Here,

(1) I work on the unsupervised code, and it runs smoothly. Here, I don't known what the arguments 'ndim_y=16, ndim_z=10, ndim_h=1000' (in the model.py) refer to? The ndim_z refers to number of cluster? right? What about others?

(2)When I get the unsupervised model, then I can visualize to get the cluster.png. The first column is generated date? (not from the original dataset?) And the other chips is real data from the dataset? they are clustered according to the first column?

soonwillgo avatar Aug 29 '18 01:08 soonwillgo

(1) ndim_y is the number of clusters, ndim_z is the style dimension, ndim_h is hidden layer dimension. a

(2) Each row corresponds to one cluster. The first column is the cluster head and the other images are from dataset.

musyoku avatar Aug 29 '18 09:08 musyoku

Thank you very much ! The head of each row is decoded from the latent style vector, right? And they are behalf of the maximum difference style of the setting dimy, can i understand in this way?

soonwillgo avatar Aug 29 '18 13:08 soonwillgo

(1) No. The cluster head is decoded from the one-hot vector y.

The first image in each row shows the cluster heads, which are digits generated by fixing the style variable to zero and setting the label variable to one of the 16 one-hot vectors.

(2) I think that it is a class difference rather than a style difference because style vector is fixed to zero.

musyoku avatar Aug 29 '18 16:08 musyoku

Thank you very much!

soonwillgo avatar Aug 30 '18 01:08 soonwillgo