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

finetune and use memonger get no memory saving #35

Open
BrettLL opened this issue Mar 16, 2017 · 1 comment
Open

finetune and use memonger get no memory saving #35

BrettLL opened this issue Mar 16, 2017 · 1 comment

Comments

@BrettLL
Copy link

BrettLL commented Mar 16, 2017

when I use your code to finetune resnet152 and add code:
if args.finetune:
symbol, arg_params, aux_params = mx.model.load_checkpoint(args.pretrained_model, args.model_load_epoch)
(symbol, arg_params) = get_fine_tune_model(symbol, arg_params, args.num_classes, 'flatten0')
finetune result is ok.
But when I use memonger option, it cost the same gpu memory as I don't use this one.Does it mean that when I finetune a net and I can not use option to save memory?? thanks~

@tornadomeet
Copy link
Owner

memonger should also support fine-tune if set correctly.

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

2 participants