Open fei88988 opened 3 years ago
Can someone answer it, I will be grateful to your answer !
Yes it does. I don't know much about Mac CPU utilization, but for Windows 8G CPU utilization will be 100% for time depending on the resolution parameter. 256x256 -> 50 sec 512x512 -> 3-4 min 1024x1024 -> 7 min
to improve memory usage, do following changes in recon.py:
-add following line after imports:
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
-after importing torch add line:
torch.cuda.empty_cache()
-for switching to CPU change line 145 to:
cuda = torch.device('cpu')
hope it helps.
exactly the same problem, did you get a solution now?
When I tried to run the test, the process was always killed by the system because it exceeded the memory range. The total memory of my CPU was 16G. Before the test process was killed, the CPU utilization of the test process reached 500%.