Closed zephyrize closed 1 year ago
I think it is because of the inefficiency caused by the garbage collection ( gc.collect() )and clearing cache statements (torch.empty_cache() ) in the code. When I delete all the two codes in the project, the GPU utilization has improved significantly.
In the past few days, I tried to run the program based on my own dataset, but found that the utilization rate of the GPU is surprisingly low...