kazewong / flowMC

Normalizing-flow enhanced sampling package for probabilistic inference in Jax
https://flowmc.readthedocs.io/en/main/
MIT License
200 stars 23 forks source link

No module named 'flowMC.sampler' #181

Closed Felipe-4 closed 3 months ago

Felipe-4 commented 3 months ago

I installed Jim (0.1.1) and flowMC (0.3.4) both by pip and when I tried to run the example "GW150914" from doc page the line from jimgw.jim import Jimcalls from flowMC.sampler.Sampler import Samplerwhich raises the error on the title.

Qazalbash commented 3 months ago

This can be fixed by using from flowMC.Sampler import Sampler. Docs are not updated!

Felipe-4 commented 3 months ago

This works, but the next line is also problematic: from flowMC.sampler.MALA import MALA I tried from flowMC.Sampler.MALA import MALAand from flowMC.Sampler import MALA but neither worked.

kazewong commented 3 months ago

Note that this is not an issue related to flowMC. Closing issue.

For reference, Jim is in heavy development and it has not reached a significant version release yet. We do anticipate a major release with better documentation and up to date dependencies in the coming months.

ThibeauWouters commented 3 months ago

@Felipe-4 if you need help with jim-related development, feel free to reach out to me to discuss things. You can find my contact info on my Github profile.