Comments (3)
From your terminal info, it seems that mpi4py is having problems with the multi-threaded part, have you tried running:
python train.py --env-id Safexp-PointGoal1-v0 --algo ppo-lag --cores 1 --seed 0
Will this command work?
from safe-policy-optimization.
From your terminal info, it seems that mpi4py is having problems with the multi-threaded part, have you tried running:
python train.py --env-id Safexp-PointGoal1-v0 --algo ppo-lag --cores 2 --seed 0
Will this command work?
我运行了上面的代码,然后出现上面的那个报错
from safe-policy-optimization.
I'm very sorry for your bad usage experience, please allow me to answer your question in more detail.
Firstly, my command above is trying to get you to set cores to 1 to see if cores=1
is possible.
python train.py --env-id Safexp-PointGoal1-v0 --algo ppo-lag --cores 1 --seed 0
Secondly, can you run the following code to output the number of physical cores of the cpu on your local machine?
import psutil
physical_cores = psutil.cpu_count(logical=False)
print(physical_cores)
According to the parallelism mechanism of the mpi4py module, the number of physical cores of the cpu should be larger than the size of the cores
parameter.
Finally, i just reinstalled the SafePO environment on a pristine ubuntu 20.04 machine and we tested it with no problems, can you provide more details about the configuration of your machine and the configuration of the software environment, this will help us to locate your problem faster. Your terminal information as above we are not able to locate where the problem is.
Hope this can help you.
from safe-policy-optimization.
Related Issues (10)
- Process conflict casused abnormal termination HOT 4
- Question about the implementation of the IPO HOT 1
- Safexp-PointGoal1-v0 vs SafetyPointGoal1-v0 HOT 2
- Question about rescale in cpo HOT 1
- Something about IPO HOT 3
- question about env reset HOT 2
- Question about logger value HOT 2
- Question about the torch.size of loss_pi in focops implement HOT 2
- Doubt about the updating method of Lagrange Multipliers HOT 6
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 safe-policy-optimization.