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

How to use labeled data #2

Closed
daodaofr opened this issue May 15, 2017 · 2 comments
Closed

How to use labeled data #2

daodaofr opened this issue May 15, 2017 · 2 comments

Comments

@daodaofr
Copy link

daodaofr commented May 15, 2017

I run with the argument --use_labeled_data 'semi', and got an error : 'AttributeError: 'DualNet' object has no attribute 'C_d_vars' .
I uncommented some code in the model.py, but still have problem running the code.
Please give me some advice. Thanks.

@daodaofr
Copy link
Author

It's the problem of tensorflow version. The usage of tf.concat has changed, and the tf.mul no longer exists.
I am now running with labeled data.

Yet I have another question about your experiment settings. I've tried with your default setting (without labeled data) on facades datasets, and I train for 200 epochs, but the generation results are very blurry and are far away from the results in the paper. Can you give me some advice on the training params?

@duxingren14
Copy link
Owner

@daodaofr
Please try the arguments as below:
facades-batch_sz_1-img_sz_256-fltr_dim_64-L2-fcn_1-lambda_ABp_100.0_200.0_200.0-c_0.01-n_critic_3-semi_False
Here ABp_100.0_200.0_200.0-c means alpha_A=100, alpha_B=200, alpha_p has been deprecated (you could set it to any value).

Please use "nosemi". Semi-supervised learning has been deprecated. I will update the code later.

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

No branches or pull requests

2 participants