Open Aubret opened 1 year ago
I've seen behavior like this before, but I haven't tested it in a long time.
There are three possibilities:
if not i %100:
line might not be sleeping long enough.My guess has thus far been that 1. is correct.
This is a very difficult bug to resolve because it takes so long to reproduce it and the profiler in this case isn't very helpful. Since you have already made shapenet asset bundles, and I haven't, it would be very helpful if you could try the following:
What is the other library?
Please send a zip of 1000 or so ShapeNet asset bundles. I could generate them myself but I want to be sure we're testing the same thing.
It is the Toys4k library from this paper: Stojanov, S., Thai, A., & Rehg, J. M. (2021). Using shape to categorize: Low-shot learning with an explicit shape bias. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (pp. 1798-1808).
Here are some of my bundles, I only work with Linux: https://drive.google.com/file/d/1d5C35gf-DQBdWfOLfRLnTr920q_W1hCG/view?usp=sharing
Hi,
I'm using a setup where I add and remove a lot of Shapenet-Core objects. So I successively run add_object, destroy object and then I free the memory with the command unload_asset_bundles. unload_unused_assets is useless in my case for unknown reasons. unload_asset_bundles indeed reduce the used memory, but the memory keeps increasing as I add new objects until I run out of memory. Do I misunderstand something ?