-
Notifications
You must be signed in to change notification settings - Fork 544
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
Not enough memory #15
Comments
I believe evaluation @ 473 resolution consumes < 12gb memory If you don't have a gpu of 12gb memory, maybe you can further reduce resolution to ~300 (like 321) remember to modify conv5_3_pool1/2/3/6_interp accordingly since pascal images are typically 513 resolution and this model is trained under 0.5 resolution data augmentation (according to the paper) that's around 256 resolution so i guess evaluating @ ~ 300 resolution still works. (with some performance losses). |
@Fromandto How to modify conv5_3_pool1/2/3/6_interp with a new size? such as 640? |
if input resolution is 473, then conv5_3_pool1/2/3/6_interp resolution is 60 60 * 8 = 480 ~= 473 that's the rule (with 7 pixels mismatch caused by padding/striding) 640 / 8 = 80 means conv5_3_pool1/2/3/6_interp should be 80 (or 81/82/79/78 depending on your network padding/striding) |
Hi every body, |
@rener1199 If the crop size is N = 8x + 1, then conv5_3_pool1/2/3/6_interp would need to be set at x, for the model to run out of the box. |
a GPU with 8 GB of memory , GTX 1070 , is it enough memory to run test ? |
Thanks to yifan254 & mjohn123, I'm finally able to run "run.sh".
However, the memory of my gpu is not big enough for the model.
Is there anyway to reduce the size of the model or size of the data used for evaluation.
Here is my configuration:
case 'VOC2012'
isVal = false; %evaluation on testset
step = 364; %=1456/4
data_root = '/home/ubuntu16/my_user/workspace/thesis/Framework/PSPNet-segmentation/data/test/VOCdevkit/VOC2012';
eval_list = 'samplelist/VOC2012_test.txt';
save_root = 'mc_result/VOC2012/test/pspnet101_473/';
model_weights = 'model/pspnet101_VOC2012.caffemodel';
model_deploy = 'prototxt/pspnet101_VOC2012_473.prototxt';
fea_cha = 21;
base_size = 512;
crop_size = 473;
data_class = 'objectName21.mat';
data_colormap = 'colormapvoc.mat';
The text was updated successfully, but these errors were encountered: