Open sm3304love opened 3 years ago
This is because your GPU runs out of memory. To overcome this, you have three options:
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
free -h # check memory
As a result of checking, my computer's RAM is 16GB and the swapfile is 32GB. But still the same problem arises.
Yes, but the program depends on GPU memory usage. And I think your machine has only 6GB memory for GPU. Maybe you can try: 1. reduce batch-size to 3; 2. reduce the image size.
hello, I get a problem when I install cuda extension in 'python setup.py install'. It seems that u run in cuda, and I wonder did you compile successfully? here is my error : `C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include\cub\iterator../util_device.cuh(330): here instantiation of "cub::PerDeviceAttributeCache::DevicePayload cub::PerDeviceAttributeCache::operator()(Invocable &&, int) [with Invocable=lambda [](int &)->cudaError_t]" C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include\cub\iterator../util_device.cuh(431): here
56 errors detected in the compilation of "inter_union_cuda.cu". error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe' failed with exit code 1 `
I followed the example while looking at the contents written on README.md, and there was an error in the last train part. How can I solve this problem?