Skip to content
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

DefaultCPUAllocator: not enough memory: you tried to allocate 318767104000 bytes. Buy new RAM! #4

Open
YnuhS opened this issue Mar 20, 2024 · 0 comments

Comments

@YnuhS
Copy link

YnuhS commented Mar 20, 2024

Hi, I'm having an issue when training label generator(running python train_label_generator.py --exp experiments/faces_seg.json)

Traceback (most recent call last):
  File "train_label_generator.py", line 277, in <module>
    main(opts)
  File "train_label_generator.py", line 167, in main
    train_data = trainData(torch.FloatTensor(all_feature_maps_train_all),
RuntimeError: [enforce fail at ..\c10\core\CPUAllocator.cpp:73] data. DefaultCPUAllocator: not enough memory: you tried to allocate 318767104000 bytes. Buy new RAM!

Does this mean that there is not enough RAM, not GPU memory?
So how much RAM did the author use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant