You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello author, When the model enters the PatchMerging module, the number of parameters is unusually large and the program gets a RuntimeError, the example is as follows:
from n params module arguments
0 -1 1 3200 models.common.PatchEmbed [3, 64, 4, 4]
1 -1 1 18944 models.common.MLPBlock [64, 64]
2 -1 1 134217984 models.common.PatchMerging [64, 128]
3 -1 2 150528 models.common.MLPBlock [128, 128]
4 -1 1 2147484160 models.common.PatchMerging [128, 256]
5 -1 2 600064 models.common.MLPBlock [256, 256]
RuntimeError: [enforce fail at ..\c10\core\CPUAllocator.cpp:75] data. DefaultCPUAllocator: not enough memory: you tried to allocate 137438953472 bytes. Buy new RAM!
Why does this happen? I see that the trained model FlOPs and parameters posted by the author are relatively low.
Hello author, When the model enters the PatchMerging module, the number of parameters is unusually large and the program gets a RuntimeError, the example is as follows:
Why does this happen? I see that the trained model FlOPs and parameters posted by the author are relatively low.
This is my module code
This is my model configuration file
The text was updated successfully, but these errors were encountered: