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

all training pair are positive? #49

Open
hedes1992 opened this issue Mar 23, 2018 · 0 comments
Open

all training pair are positive? #49

hedes1992 opened this issue Mar 23, 2018 · 0 comments

Comments

@hedes1992
Copy link

Recently I am convert the matconvnet training code to pytorch version, but meet some questions.
I find that in "training/vid_get_random_batch.m", the labels here are all 1 because here just considering positive pairs. But in "training/experiment.m", in the function get_batch.m, the label_inputs will always be like a gaussian shape(because the center is 1, and the other is 0 etc). So this might train the network output a gaussian shape score map all the time.
I train it in my pytorch code, also find the loss is constant in convergence.
image

I guess this might because the label'shape is constant and the output is trained to constant

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