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

Validation loss calculation (supposedly) breaks training #31

Open
404ic opened this issue Jul 11, 2021 · 0 comments
Open

Validation loss calculation (supposedly) breaks training #31

404ic opened this issue Jul 11, 2021 · 0 comments

Comments

@404ic
Copy link

404ic commented Jul 11, 2021

When running the training code, in a couple iterations it says the cost matrix is infeasible based on linear_sum_assignment in multibox_detection/loss.py When I remove all the code from train_detection.py that calculates the validation loss, the training works.

Also noticed that when val_loss is computed, batch_size is passed as tf.get_shape(locs_v)[0] which doesn't give the batch size, but changing it to locs_v.get_shape().as_list()[0] should work.

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

1 participant