graspnet / graspnetAPI

Toolbox for our GraspNet-1Billion dataset.
https://graspnet.net/index.html
203 stars 52 forks source link

RAM Memory usage during evaluation #25

Open FrancescoRosa3 opened 3 years ago

FrancescoRosa3 commented 3 years ago

Hi everyone. I am running the test.py file on a laptop with Ubuntu16 and 8 GB of RAM, under python 3.6, with a number of workers equal to 1. During the evaluation step, I observed a strange behavior, that is the RAM space taken from the script grows without any stop. After some analysis of the graspnet_eval.py:eval_scene method, it seems that once the evaluation of a scene is completed the loaded models, for the given scene, are not deallocated. I would like to know if this behavior is intentional or not. Thanks for your kind.

GouMinghao commented 3 years ago

Thanks for your issue, this is not a problem of graspnet-baseline. Instead, it might be a bug in graspnetAPI. I will try to reproduce you problem and find the solution.