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

Using InstanceWeights in vl_nnloss #37

Open
HadarGorodissky opened this issue Sep 4, 2016 · 0 comments
Open

Using InstanceWeights in vl_nnloss #37

HadarGorodissky opened this issue Sep 4, 2016 · 0 comments

Comments

@HadarGorodissky
Copy link

I'm trying to use weighted loss for the FCN training on only 1 category (+BG).
I want to use the InstanceWeights but it seems like for very different weighting the result is the same. I was wondering if someone used this parameter for training and it helped him
The size of the InstanceWeights Im passing is : HxWx1xN with value between 0-1 where each label (object, BG) get the same value i.e.
for j=1:length(classWeights)
instanceWeights (labels==j)=classWeights(j);
end

I will be thankful to know how you decided on the value of instanceWeights and what are the value range you used …

Thanks

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