-
Notifications
You must be signed in to change notification settings - Fork 3
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
eval memory issue #5
Comments
Apologies for the delayed response. The OOM error occurs because CVIT is trained with subsampled grid coordinates, but evaluation requires the full grid coordinates, significantly increasing GPU memory usage. We recommend reducing the batch size until the OOM error is resolved. Hope this helps! |
Hi, `A module that was compiled using NumPy 1.x cannot be run in If you are a user of the module, the easiest solution will be to Traceback (most recent call last): File "/scratch1/rwibawa/cvit/ns/main_nowandb.py", line 5, in A module that was compiled using NumPy 1.x cannot be run in If you are a user of the module, the easiest solution will be to Traceback (most recent call last): File "/scratch1/rwibawa/cvit/ns/main_nowandb.py", line 5, in |
It seems the conflict might be due to using a high NumPy version (> 2.x). I checked my environment, and my current NumPy version is 1.26.4. Could you please try downgrading your NumPy version and see if that resolves the issue? Also, could you provide the batch size and the number of query points used for training, as well as the batch size used for testing? |
Hi, I still got the same error by using numpy 1.26.4. batch size =1 as shown below. And coords size is (16.384, 2). I think 16384 = 128*128 import ml_collections
Thank you |
I noticed that in
Did you reduce the batch size as well? |
Oh you are right, I can run it now. thanks for your help |
Hi,
I can train the model using my dataset but when using eval mode I always got memory error. is there any solution?
The text was updated successfully, but these errors were encountered: