-
Notifications
You must be signed in to change notification settings - Fork 9
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
prune weights for support yolo-v3 #1
Comments
you want to reduce the memory used in training or just test process? If you want to reduce it in forward you can commit the calloc function of updates parameters such as l.weight_updates_gpu, l.delta_gpu another suggest is combine the convolution and batch normalization into one function, you can also save some memory |
can you give some detail explain about the commit calloc function, as i just want reduce in test stage on device, not training |
e-mail: [email protected], send me a
in the start of program, it will call make_convolutional_layer function, and in this function will calloc gpu memory according to your parameters, but this calloc are not all necessary for test process, so you can commit them : |
@wangnet Where did you find the pruned weights file for YOLO V2? |
Hello, I am working on a custom dataset using the tiny yolov3 architecture, I already used the AlexeyAB git repo, I got results but I need to embed prunning as well, shall I use the standard cfg file and weights file on your framework? Or there are extra steps I shall take before starting the data training? |
do you have the code for compress the yolo-v3 model, as yolo-v3 model with 416&416 need GPU memory 2~3GB, so do you have any suggest for reduce the memory?
The text was updated successfully, but these errors were encountered: