Comments (6)
Sorry not sure what could be causing this. Maybe look to make sure that glut is properly initialized?
from deepmimic.
Thanks for reply.
I did a bit digging. The only two places where glutInit gets called are
void cDrawUtil::InitOffscreenDrawContext()
and
void InitDraw(int argc, char** argv)
But both functions seem not being called by python via DeepMimicCore. I put prints in both functions and neither print showed up. Shouldn't one of them be called somewhere down the process?
from deepmimic.
Ok, I solved the problem by commenting out glutPostRedisplay()
call in function
void cDeepMimicCore::Reshape(int w, int h)
Not sure the consequence of this change.
Both tests run fine now.
from deepmimic.
i think getting rid of the redisplay call in reshape is probably ok. It just means that the rendering won't refresh as promptly when reshaping the windows, which should be a fairly minor inconvenience.
from deepmimic.
I found it puzzling that any call to glut within DeepMimicCore will cause freeglut to complain with glutInit error. Here is another case: right click while dragging the mouse (pan the camera) will crash with the same error. This time it is the glutGetModifiers() call in cCamera:: MouseMove(). Again the solution is to disable glut call. I have to pass modifier key via python interface and this involves modifying several files.
I don't know whether the problem is specific to my system environment (Win10, VS 2017, Winpython 3.6, freeglut 3.0.0) or not. If anyone encounters this, I could submit a PR.
Thanks for the help and discussion. Nice work and appreciated the code sharing.
BTW, any plan to release the SFV code?
from deepmimic.
we haven't decided on a code release for SFV yet.
from deepmimic.
Related Issues (20)
- Action value interpretation HOT 1
- Need help with python include path HOT 2
- Link path not working
- What are the time_lim arguments to mpi_run.py? HOT 2
- Camera Following HOT 1
- how to add a new terrain? HOT 1
- Issue with make python on Ubuntu 20.04 HOT 3
- when run a pre-trained policy , is it possible to set the input state/action change follow the input motion clips?
- Unable to display the screen correctly HOT 1
- Some questions about implementing ASI HOT 3
- Question | UE5 + this model, is it compatible?
- Format description of dog motion files
- Is there a way to get two pre trained models in and map their animations to a keyboard function because I want to try animating these two charecters movements by mapping them to actual charecters
- deeppmimiccore.i 9009
- unbuntu 20.04,errors about glutInit occur when I run the DeepMimic.py HOT 1
- about train
- Spherical Joint constraints and action mapping
- Difference between motion files and GetPose() function.
- About conversion from SMPLX to humanoid format
- Problem occurs when running arg_files run_amp_target_humanoid3d_locomotion_args.txt but run_humanoid3d_spinkick_args.txt worked
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 deepmimic.