torsional-diffusion icon indicating copy to clipboard operation
torsional-diffusion copied to clipboard

Why sigma is repeated 10000 times

Open EBGU opened this issue 7 months ago • 0 comments

Hi,

Your work is really interesting! However, when I run your code, I found a code block that runs very slow:

torsional-diffusion/diffusion/torus.py , line 68

score_norm_ = score( sample(sigma[None].repeat(10000, 0).flatten()), sigma[None].repeat(10000, 0).flatten() ).reshape(10000, -1) score_norm_ = (score_norm_ ** 2).mean(0)

I wonder why sigma is repeated 10000 times? Is there any way to make it faster? Thanks!

EBGU avatar Dec 02 '23 04:12 EBGU