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

error #27

Open
vikrambathala4 opened this issue Feb 2, 2018 · 3 comments
Open

error #27

vikrambathala4 opened this issue Feb 2, 2018 · 3 comments

Comments

@vikrambathala4
Copy link

I couldn't able to install Pickle on python 3 and also I am getting the following error. Please help me to resolve this.
image

@sudonto
Copy link

sudonto commented Feb 8, 2018

Find the aolution here.

@YashBansod
Copy link

YashBansod commented Feb 17, 2018

well If you are using tensorflow >1.1.0 you will have to do the following changes:

  • Line 60 of model.py
    from conf_loss = tf.nn.sparse_softmax_cross_entropy_with_logits(logits, y_true_conf)
    to conf_loss = tf.nn.sparse_softmax_cross_entropy_with_logits(logits=logits, labels=y_true_conf)

  • Line 71 of model.py
    from loc_loss = tf.select(smooth_l1_condition, loc_loss_l2, loc_loss_l1)
    to loc_loss = tf.where(smooth_l1_condition, loc_loss_l2, loc_loss_l1)

  • Line 164 and 165 of model.py
    from final_pred_conf = tf.concat(1, preds_conf)
    final_pred_loc = tf.concat(1, preds_loc)
    to final_pred_conf = tf.concat(preds_conf, 1)
    final_pred_loc = tf.concat(preds_loc, 1)

and the inference.py should run

@mstmustisnt
Copy link

@YashBansod thank you, that helped!

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

4 participants