-
Notifications
You must be signed in to change notification settings - Fork 1
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
Resizing of the Pygame window crashes #22
Comments
The following is the latest indication when the resizing crashes the application: /workspaces/robot_sf_ll7# python examples/demo_offensive.py
2024-05-31 13:45:05.614 | INFO | robot_sf.render.sim_view:__post_init__:86 - Initializing the simulation view.
/opt/venv/lib/python3.10/site-packages/torch/cuda/__init__.py:141: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 804: forward compatibility was attempted on non supported HW (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() > 0
/opt/venv/lib/python3.10/site-packages/stable_baselines3/common/vec_env/patch_gym.py:95: UserWarning: You loaded a model that was trained using OpenAI Gym. We strongly recommend transitioning to Gymnasium by saving that model again.
warnings.warn(
/opt/venv/lib/python3.10/site-packages/stable_baselines3/common/base_class.py:748: UserWarning: You are probably loading a model saved with SB3 < 1.7.0, we deactivated exact_match so you can save the model again to avoid issues in the future (see https://github.com/DLR-RM/stable-baselines3/issues/1233 for more info). Original error: Error(s) in loading state_dict for MultiInputActorCriticPolicy:
Missing key(s) in state_dict: "pi_features_extractor.ray_extractor.0.weight", "pi_features_extractor.ray_extractor.0.bias", "pi_features_extractor.ray_extractor.3.weight", "pi_features_extractor.ray_extractor.3.bias", "pi_features_extractor.ray_extractor.6.weight", "pi_features_extractor.ray_extractor.6.bias", "pi_features_extractor.ray_extractor.9.weight", "pi_features_extractor.ray_extractor.9.bias", "vf_features_extractor.ray_extractor.0.weight", "vf_features_extractor.ray_extractor.0.bias", "vf_features_extractor.ray_extractor.3.weight", "vf_features_extractor.ray_extractor.3.bias", "vf_features_extractor.ray_extractor.6.weight", "vf_features_extractor.ray_extractor.6.bias", "vf_features_extractor.ray_extractor.9.weight", "vf_features_extractor.ray_extractor.9.bias".
Note: the model should still work fine, this only a warning.
warnings.warn(
2024-05-31 13:45:42.894 | DEBUG | robot_sf.render.sim_view:_resize_window:259 - Resizing the window.
2024-05-31 13:49:07.073 | DEBUG | robot_sf.render.sim_view:_resize_window:259 - Resizing the window.
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0xecc
Serial number of failed request: 208504
Current serial number in output stream: 208505 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: