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

Need smaller SVM #5

Closed
pfabreu opened this issue Oct 7, 2017 · 0 comments
Closed

Need smaller SVM #5

pfabreu opened this issue Oct 7, 2017 · 0 comments

Comments

@pfabreu
Copy link

pfabreu commented Oct 7, 2017

I've been trying to run this but I ran out of GPU memory. Therefore I reduced the batch size and it works fine (i.e no cuda crash) however now I'm facing the problem that your SVM does not take batch reduction into account. Is there any workaround to this (or would you be so kind as to train the SVM again just with less features, I would be eternally grateful) or my only chance is really to get a better GPU?

EDIT: as a botched solution I just did:

    % load the trained SVM
    SVM = load('data/rcnn_models/DeepPed/SVM_finetuned_alexnet.mat');
    %PersonW = SVM.W; %Feature weights for scoring
    PersonW = SVM.W(1:end/2);
    PersonB = SVM.b; %Constant scoring factor

But I'm pretty sure this will be incorrect.

Thank you

@pfabreu pfabreu closed this as completed Dec 3, 2017
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