Comments (2)
Hi, unfortunately our multiobject
parts of the code are not very well tested because it's a pretty narrow use case for us. I think the issue is over in program.py::Program.__getstate__
and program.py::Program.__setstate__
. These define how multiprocessing
passes Program
objects back and forth, and apparently this was not done correctly for the multiobject=True
case.
So, I would simply comments out the two functions Program.__getstate__
and Program.__setstate__
. They are not necessary for using multiprocessing
, and they only give a very small amount of speedup for multiobject=False
. Actually, in our current internal version of the code (which we hope to update to Github soon!) we removed these two function since they've been problematic. Let us know if this works!
from deep-symbolic-optimization.
嗨,不幸的是,我们的
multiobject
部分代码没有经过很好的测试,因为这对我们来说是一个非常狭窄的用例。我认为这个问题已经结束program.py::Program.__getstate__
了program.py::Program.__setstate__
。这些定义了如何来回multiprocessing
传递对象,显然在这种情况下没有正确完成。Program``multiobject=True
所以,我会简单地注释掉这两个函数
Program.__getstate__
和Program.__setstate__
。它们不是 using 所必需的multiprocessing
,并且它们只为 . 提供非常少量的加速multiobject=False
。实际上,在我们当前的代码内部版本(我们希望尽快更新到 Github!)中,我们删除了这两个函数,因为它们存在问题。让我们知道这是否有效!
Thanks, that works for me!
from deep-symbolic-optimization.
Related Issues (20)
- create primitive set mapping name clash HOT 2
- Deap varying with constraints HOT 4
- Methods for Running DSO HOT 4
- Normalization for input variables to domain (0,1) HOT 1
- Normalization for input variables to domain (0,1) HOT 1
- Different Learned Equation with Different Numpy Array Shape HOT 4
- Doubts about output HOT 1
- Ratio of training set to testing set HOT 1
- training iteration N, current best R : 0.9 HOT 1
- Trouble Installing, sample virtual environment config? HOT 7
- How to install configuration and generate an interactive platform? HOT 1
- Defining custom gaussian function HOT 3
- Ignoring errors... HOT 1
- adjusting best R or custom best R HOT 1
- how to run dso multiple times in a loop HOT 2
- How can parallel computing improve speed in a single-task scenario? HOT 1
- Installation error HOT 3
- about putting constraints HOT 2
- [Feature Request] Is it possiable to specify assertion on the expression to generate?
- The gp meld method in sklearn interface
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 deep-symbolic-optimization.