Closed jbHu67 closed 1 year ago
I cannot answer this question without knowing more details about your code. Notice that there is currently no GPU implementation for cubical complexes, but maybe the culprit is more in the way data are being transferred?
Dear, Thanks for your answer. My code of computing topological loss is almost same as the work "https://github.com/marrlab/SHAPR_torch" but is a 2D problem. I will continue check the reason.
One thing you could try is downsample your data via one of the interpolate
functions. I'm closing this issue for now, please reopen if you have more details about your specific problem.
I found that my code very slow after adding topology loss( using cubical complex). The GPU usage down to 10%, but around 90% without adding topology loss. Is it normal?