GeneOH-Diffusion icon indicating copy to clipboard operation
GeneOH-Diffusion copied to clipboard

ImportError: cannot import name 'GaussianDiffusion' from 'diffusion.gaussian_diffusion_ours'

Open murmurelo111 opened this issue 10 months ago • 1 comments

Hello, thank you for your excellent work! I encountered this issue while running bash scripts/val_examples/predict_grab_rndseed_14.sh, and I indeed did not find the GaussianDiffusion class in the diffusion.gaussian_diffusion_ours file. Could you please assist me in resolving this issue? Thank you very much.

murmurelo111 avatar Feb 26 '25 09:02 murmurelo111

I simply replaced from .gaussian_diffusion_ours import GaussianDiffusion in respace_ours.py to from .gaussian_diffusion import GaussianDiffusion and it worked.

euneestella avatar Mar 25 '25 00:03 euneestella