-
Notifications
You must be signed in to change notification settings - Fork 129
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
Create and train new humanoid character #16
Comments
yes, you could modify the raptor into a human. Right now cRaptorController, assumes that the raptor has a certain body structure, so you'll need to modify the joint definitions in the code, and the character file data/characters/raptor.txt. It will probably take a fair bit of work. |
I've deleted the tail and spine definition in raptor.txt, and modified the SimRaptor.cpp, SimRaptor.h, RaptorController.cpp, RaptorController.h. Thanks |
Ubuntu seems to have terminated the training process prematurely, the training is using up too much of my memory(16GB memory, 16GB swap), is there any way to reduce memory usage? The training also seems to get stuck on Iter 0, waited for a few hours and it didn't proceed to Iter 1 Thanks |
You will need to modify raptor_run_state.txt, since your character has a different number of degrees of freedom. You can probably hand specify poses for the state file. It's a bit hard to guess at all the changes you'll need, so it might useful to get a better understanding of what is going on in the RaptorController code. You can try reducing the memory by reducing the size of the replay buffer in the arg file (trainer_replay_mem_size). |
It seems you probably did not convert the controller to a biped controller well enough. The system generally uses up about 1-1.5gb of memory when simulating 30 threads. That out of memory error must be coming from a different issue. I have seen it before when the cpp controller and the motion/config file to match up properly. Have a look over them again to see if you need to add/remove some of the controller parameters in the config/controller files. |
Thanks xbpeng, Neo-X, I will have a look at the files in data/controllers/raptor. |
Hi Neo-X, I don't think the memory issue is caused by the controller. I tried training the original raptor character using the original code, it is still using a lot of memory and ubuntu killed the program in the end as well. The memory issue is solved after I changed the opt_args_train_raptor_mace.txt by reducing replay memory size. I set trainer_replay_mem_size= 2000, trainer_num_init_samples= 2000. However, I get this error. |
Hi,
I would like to create a bipedal humanoid character and simulate the new humanoid character. Is it possible to modify the raptor controller to control a humanoid character? Which files do I need to modify, and how do I modify it?
Thanks
The text was updated successfully, but these errors were encountered: