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

Question for label processing #7

Open
dongqiaqia opened this issue Mar 21, 2019 · 1 comment
Open

Question for label processing #7

dongqiaqia opened this issue Mar 21, 2019 · 1 comment

Comments

@dongqiaqia
Copy link

dongqiaqia commented Mar 21, 2019

Question 1 Why the label for positive samples is -0.0001 and the labels for negative samples are 1?
Code in batcher_discriminator.py: 267
if int(label) == 1: label = -0.0001
elif int(label) == 0: label = 1

Question 2 Why the reward for generator is processed as follow:
Code in main.py:277
if reward['y_pred_auc'][i][j][k] > 12: reward['y_pred_auc'][i][j][k] = 12/ 10000.0
else: reward['y_pred_auc'][i][j][k] = reward['y_pred_auc'][i][j][k] / 10000.0
also in #4

@jingjingxupku

@mambalong
Copy link

@dongqiaqia I have a problem of running the codes, the code just stops after printing 'INFO:tensorflow:starting run_pre_train_generator'. Do you have this problem? I am using python 3.6 and tensorflow-gpu 1.3. Thank you so much.

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