Comments (5)
First, can you check if your following config file at /home/allan/config
:
https://github.com/Jammy2211/autolens_workspace/blob/release/config/non_linear/nest.yaml
Has the input
DynestyStatic:
parallel:
number_of_cores: 1 # The number of cores the search is parallelized over by default, using Python multiprocessing.
force_x1_cpu: false # Force Dynesty to not use Python multiprocessing Pool, which can fix issues on certain operating systems.
If force_x1_cpu
is not there, add it and you should be sorted.
It could be a bug (which we've fixed but not had a chance to release yet) causing the issue. If this is the case, you can fix this by adding the following to the DynestyStatic
objects when you use them:
search = af.DynestyStatic(
path_prefix=path.join("howtolens", "chapter_2"),
name="tutorial_1_non_linear_search",
unique_tag=dataset_name,
nlive=40,
walks=5,
force_x1_cpu=False
)
Let me know if it still doesn't work!
from pyautolens.
Thanks,
I tried both but nothing yet.
I checked the nest.yaml file in home/.local/lib/python3.8/site-packages/autofit/config
and the one in the workspace, they both have force_x1_cpu=False
Also tried running it with the modified DynestyStatic
object and still raising the same exception.
Let me know whatever else you might need
from pyautolens.
I have done a new release, which will hopefully fix the issue.
To fix this, try installing the nmew autolens via pip install autolens==2023.3.21.5
You may also need to download the new https://github.com/Jammy2211/autolens_workspace
Let me know if you have any issues!
from pyautolens.
Great! It's now fixed! Thanks!
from pyautolens.
:)
from pyautolens.
Related Issues (20)
- Self interacting dark matter profile deflections
- Hernquist Light Profile
- Decide how to pass size of projected grid and whether to remove its centre through code
- Getting an AttributeError in the mass fitting code given on the GitHub page. HOT 6
- Dude about how to translate the results from pyautolens to lenstronomy for basic modeling. HOT 4
- Saving / Loading a Tracer to .json format
- Source Plane Interpolation Mapping
- Voronoi Interpolation HOT 4
- Delaunay Interpolation HOT 7
- Delaunay Implementation HOT 9
- W Tilde Imaging With Interpolation
- Create Tracer from result with same API as instance
- Galaxy.dict() not returning parameters correctly HOT 3
- How to handle memory error while modeling a dataset? HOT 2
- Unit test failing due to from_dict HOT 1
- Multiprocessing RuntimeError HOT 13
- API consistency issues? HOT 1
- Multicore task in a cluster HOT 10
- Fix Aggregator Tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyautolens.