Comments (4)
@raunakbh92
Not sure what the reason for the segfault might be.
Any changes that need to be made in the gaussian_latent_var_gru_policy.py ?
UPDATE:
File "/home/asyin/R/rllab/hgail/hgail/policies/gaussian_latent_var_gru_policy.py", line 193, in get_action
return actions[0], {k: v[0] for k, v in agent_infos.items()}
KeyError: 0
AGENT_INFO
[('mean', array([[ 0.01187703, -0.02830665]], dtype=float32)), ('prev_action', array([[ 0., 0.]])), ('latent_info', {'latent': array([[1, 0, 0, 0]])}), ('log_std', array([[-0.67997968, -0.72506523]], dtype=float32)), ('latent', array([[1, 0, 0, 0]]))]
I fixed the inital KeyError:0 by changing the way the dictionary was created by removing the latent_info key.
However,
I still am getting this error,
signal (11): Segmentation fault
in expression starting at no file:0
Similar to the one mentioned in https://github.com/sisl/ngsim_env/blob/c34f2c4bd6bf2e089b69bddefb4283ef6829c042/docs/usingTrainedPolicy.md
But deleting PyCall cache from ~/.julia/complied/v1.1 didnt work. Should try reverting to 0.6 (if so how?) or are there any other solutions ?
Thanks
from ngsim_env.
@raks097 Hi man, have you solved this issue? So currently, you are only able to run training a policy?
from ngsim_env.
agent_infos: {'mean': array([[-0.36561757, -0.4166246 ]], dtype=float32), 'log_std': array([[0.01288844, 0.06403346]], dtype=float32), 'prev_action': array([[0., 0.]]), 'latent': array([[0, 1, 0, 0]]), 'latent_info': {'latent': array([[0, 1, 0, 0]])}}
change 'latent_info': {'latent': array([[0, 1, 0, 0]])} ---> 'latent_info': array([[0, 1, 0, 0]])
from ngsim_env.
python validate.py --n_proc 4 --exp_dir ../../data/experiments/NGSIM-gail/ --params_filename itr_1000.npz --random_seed 42
For example, if I have selected n_proc equal to 4 here, I met some errors that only some of the pid worked, one of them (say 2) might fail.
pid: 0 or 1 or 3 traj: 515 / 516
pid equal to 2 never showed again.
from ngsim_env.
Related Issues (20)
- git checkout 0.7fixes_in_progress doesnot work . Does it exist? HOT 4
- should I use Julia 1.1.0 or the stable Julia 1.1.1?
- How to retrieve and store JSON data in a Dictionary by providing keys separated by colon “:”
- How to iterate through a dictionary to get and pass key name to string
- Do some package have something build in your own system? Like a building error showing your path. HOT 13
- segmentation fault?
- Visualization error: segmentation fault HOT 1
- h5 file writing error
- PPO instead of TRPO HOT 1
- run validate.py has a error: failed to allocate xxx from device: CUDA_ERROR_OUT_OF_MEMORY HOT 1
- Cairo shared library cannot be opened
- Some tips to solve the segmentation fault error when using validate.py.
- A couple of questions about your original paper.
- Error when using AutoEnvs in Julia HOT 3
- Some questions during installing the environment HOT 2
- LoadError: InitError: UndefVarError: pyprogramname not defined
- Which version of HDF5 was used? HOT 1
- Was the action data included into observations when training?
- No module named 'sandbox'
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 ngsim_env.