-
Notifications
You must be signed in to change notification settings - Fork 50
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
Superpoint excessive memory usage #18
Comments
HI,I have the same problem, do you have any good solution now? @Eunchan24 |
Hi, |
Hi, my error case user up all of my GPUs When loading superpoint models. physical_devices = tf.config.list_physical_devices('GPU')
for gpu in physical_devices:
try:
tf.config.experimental.set_memory_growth(gpu, True)
print(f"Memory growth set for {gpu}")
except RuntimeError as e:
print(e) I'm not sure if this is the correct solution, but I'm looking for a more complete solution. |
Hello,
As the title indicates, all memory seems to be occupied when loading the superpoint model.
The image below is the gpu state when only the superpoint model is loaded.
superpoint_extract.py
Line 40 :
tf1.saved_model.loader.load(self._sess, [tf1.saved_model.tag_constants.SERVING
It doesn't load as much as the size of the model on this line and seems to be using all of the GPUs.
The text was updated successfully, but these errors were encountered: