catgan icon indicating copy to clipboard operation
catgan copied to clipboard

How to run this code?

Open mittlin opened this issue 8 years ago • 3 comments

Sorry!! Got an ImportError: No module named net??

And how to train with my own dataset?

Thanks for the help

mittlin avatar Feb 21 '17 11:02 mittlin

I have the same problem with it ,how to solve it??

howardgriffin avatar Apr 25 '17 03:04 howardgriffin

Thank you for your interest. Actually the line 'import net' is not necessary. Please remove the line 'import net' or download again as I have fixed it.

This program is for MNIST whose dimension of input is 784 (28 *28). Therefore I set l0=L.Linear(784,1000) in catgan_train.py. I think the input size is different from dataset to dataset. To train with your own dataset, you need to set the architecture of the network for your own dataset.

smayru avatar Apr 30 '17 02:04 smayru

@smayru Thanks! I am more interested in the classification accuracy of the CatGan. How can I compute the accuracy of the CatGan with Chainer?

howardgriffin avatar May 01 '17 03:05 howardgriffin