Git Product home page Git Product logo

Comments (6)

kodayu avatar kodayu commented on August 15, 2024 1

我检查了一下,我用两个seed跑一轮的时候,事实上运行了很多轮,不是很清楚是什么原因。。。初学遗传算法感觉都要蒙圈了,求大神指教。

from gaft.

kodayu avatar kodayu commented on August 15, 2024 1

哦哦,我是说呢,用四个seed运行两轮,fitness函数调用了55次。不过我没看出来怎么改,还是得辛苦大神。。。

from gaft.

kodayu avatar kodayu commented on August 15, 2024

我刚发现有人问过和我类似的问题,就是30个seed迭代一轮,实际调用fitness函数调用了900多轮,导致内存消耗很大。

from gaft.

PytLab avatar PytLab commented on August 15, 2024

你好,这个可能是我在计算种群个体适应度的时候动态的传入适应度函数导致重复的运算,我近期会尝试修复这个bug,感谢提出

from gaft.

kodayu avatar kodayu commented on August 15, 2024

还有一点,就是调用mpirun的时候fitness函数的调用会更加倍增。

from gaft.

PytLab avatar PytLab commented on August 15, 2024

你好,我在刚刚的commit中修复了多余调用适应度函数的问题,你可以进行测试,有问题欢迎提出哈。另外mpirun是同时启动多个mpi进程执行,在迭代开始产生新种群的时候会按照进程数进行分割,所以调用增加是正常的,你可以看看效率有没有提升

from gaft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.