Closed 544211707 closed 2 years ago
I found a possible reason, related to the code max_time += time_limit
in Env_Builder,When I delete this line of code according to the latest version, the above error will appear.So does this line of code is needed? And does another change time_limit=time_limit - c_time
is needed?I don't particularly understand~
@544211707 Hi, I meet the same problem like you. I wonder if you have dealt with it. Is there any idea about solving it?
@fire-keeper
I found a possible reason, related to the code
max_time += time_limit
in Env_Builder,When I delete this line of code according to the latest version, the above error will appear.So does this line of code is needed? And does another changetime_limit=time_limit - c_time
is needed?I don't particularly understand~
I revise like this,it works but I don't know whether delete it is right.
@544211707 I think I find the essence of the problem. It is cpp_mstar, the compile python wraper of od_mstar , which comsumes too much memory. In "max_time += time_limit", max_time has not been defined, so an exception would be raised, which make programe won't call cpp_mstar but od_mstar. Therefore, the great memory consuming problem is solved by this weird code "max_time += time_limit.
@fire-keeper OK,I got it~
@544211707 我想我找到了问题的本质。它是 cpp_mstar,od_mstar 的编译 python 包装器,它消耗了太多内存。 在“max_time += time_limit”中,max_time没有被定义,所以会引发异常,这使得程序不会调用cpp_mstar而是od_mstar。因此,巨大的内存消耗问题被这个奇怪的代码“max_time += time_limit”解决了。 hi,Why don't I find this line“max_time += time_limit” of code in Env_Builder.py?
@544211707我想我找到了问题的本质。它是cpp_mstar,od_mstar的编译python包装器,它消耗了太多的内存。在“max_time += time_limit”中,max_time没有被定义,所以会引发异常,这使得程序无法运行会调用cpp_mstar和od_mstar。因此,巨大的内存占用问题被这个奇怪的代码“max_time += time_limit”解决了。嗨,为什么 我在Env_Builder.py中找不到这行“max_time += time_limit”代码? Hi, I'm getting the same error and also can't find this line of "max_time += time_limit" code in Env_Builder.py, have you solved this problem yet?
Hello, in last year's Ray based LMAPF training version, my own training model can not achieve good path planning in more than 8 agents. In the latest training version, there is an error about ray worker died as follows. What's the problem,please?