-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Training On Camera Data #54
Comments
make sure that the unity render is on and RGB camera is yes in the config file |
I believe I have those values set correctly. rgb_camera:
on: yes
t_BC: [0.0, 0.0, 0.3] # translational vector of the camera with repect to the body frame
r_BC: [0.0, 0.0, -90] # rotational angle (roll, pitch, yaw) of the camera in degree.
channels: 3
width: 320
height: 240
fov: 70.0
enable_depth: yes
enable_segmentation: no
enable_opticalflow: no
unity:
scene_id: 0 # 0 warehouse, 1 street, 2 forest, 3 wasteland
render: yes In the vision_env.cpp the render filed is read into // environment
if (cfg["unity"]) {
unity_render_ = cfg["unity"]["render"].as<bool>();
scene_id_ = cfg["unity"]["scene_id"].as<SceneID>();
}
|
What I really am asking is do you need to have That is what I think has to happen based off reading the flightmare docs. I don't have physical access to my GPU box, so I would need to run |
I got Seems like the Just to make sure I am not missing something. There is no working example of a image based environments for RL using flightmare. The only working example is using explicit object location information? |
Got Images working by conneting the unity bridge and then calling: unity_bridge_ptr_->getRender(frame_id);
unity_bridge_ptr_->handleOutput(frame_id); In the step function. This make it so when I call |
@nmharmon8 @yun-long Hi! I'm doing image RL as well, met the same problem. Any update on this issue? Is possible to render image observations on headless mode? |
I'm afraid I don't have any updates as of yet. |
Trying to follow up again... So I tried to run the standalone RPG_Flightmare.x86_64 with |
Hi @yun-long . Thanks for your great work on the drone simulator. I would like to know if there are any updates on this issue? RL training, especially image-based RL, is super time- and computation-consuming, so it will be limited if it is only available on desktop computers. Parallel and headless training on remote servers would be greater. Do you have a plan to support this mode? |
Hey,
While using the vision env, if I call
getImage
it returns an array of zeros. After reading through the flightmare documentation, it seems this is because the vision env dose not actually setup Unity?Dose this seem correct? If so then is there a way to train a server with no display? My GPU box is a remote box and I can't forward the Unity GUI. Is there a headless mode to Unity that I am missing?
The text was updated successfully, but these errors were encountered: