instance-segmentation-pytorch icon indicating copy to clipboard operation
instance-segmentation-pytorch copied to clipboard

validation speed

Open zhengduoru opened this issue 6 years ago • 2 comments

I just did validation. I found there were only 28 pictures . However it read the model for each picture. It seems to be a little time-unfriendly.

zhengduoru avatar Mar 08 '18 09:03 zhengduoru

I have just added prediction script (pred_list.py) to make predictions for a list of images using single loaded model. I will update the script to make batched predictions in order to increase the speed even further.

Wizaron avatar Mar 08 '18 17:03 Wizaron

thx. But recently I tried to make predictions, it ran out of my memory and swap. I have 32G memory and 32G swap. And I only gave 4 pictures to pred_list. So once I ran pred_list.py, my server stoped.

zhengduoru avatar Mar 13 '18 01:03 zhengduoru