Comments (13)
Taking a look
from maniskill.
Ok I can confirm I also get this error too, we'll try to fix this asap.
from maniskill.
For now could you try !pip install https://storage1.ucsd.edu/wheels/sapien-dev/sapien-2.0.0.dev20230405-cp39-cp39-manylinux2014_x86_64.whl
in the install commands in the colab?
from maniskill.
These were the imports and setup lines that seemingly fixed it for me:
!pip install jedi==0.16
!pip install setuptools==65.6.3
!apt-get install -y --no-install-recommends libvulkan-dev
!pip install mani_skill2 stable_baselines3
!pip install --upgrade --no-cache-dir gdown
!pip install pyvirtualdisplay
!apt-get install -y xvfb python-opengl
!pip install https://storage1.ucsd.edu/wheels/sapien-dev/sapien-2.0.0.dev20230405-cp39-cp39-manylinux2014_x86_64.whl
from pyvirtualdisplay import Display
display = Display(visible=0, size=(1024, 768))
display.start()
Hopefully, this can save you from an hour or two of agony!
from maniskill.
Now the issue should be fixed.
from maniskill.
Thanks @StoneT2000. I wonder if there are any recent package upgrades that might have broken this. I know Google Colab sometimes likes to upgrade Python version so I tried to downgrade it to 3.9 and 3.8, still crashed.
from maniskill.
Having the same issue. :(
from maniskill.
I can confirm that this is the fix. Thanks so much @xuanlinli17
from maniskill.
Update: It seems colab now is missing some files shown in https://haosulab.github.io/ManiSkill2/getting_started/installation.html#troubleshooting
A temporary solution we will consider now is having colab notebooks download the missing files and copy them over from github.
from maniskill.
Update: It seems colab now is missing some files shown in https://haosulab.github.io/ManiSkill2/getting_started/installation.html#troubleshooting
A temporary solution we will consider now is having colab notebooks download the missing files and copy them over from github.
Thanks @StoneT2000 ...this issue is happening again today. I tried to follow your suggestion by download and placing the files in colab
!sudo apt-get install libglvnd-dev
!sudo mkdir -p /usr/share/vulkan/icd.d
!sudo wget -q https://raw.githubusercontent.com/haosulab/ManiSkill2/main/docker/nvidia_icd.json
!sudo mv nvidia_icd.json /usr/share/vulkan/icd.d
!cat /usr/share/vulkan/icd.d/nvidia_icd.json
!sudo mkdir -p /etc/vulkan/implicit_layer.d
!sudo wget -q https://raw.githubusercontent.com/haosulab/ManiSkill2/main/docker/nvidia_layers.json
!sudo mv nvidia_layers.json /etc/vulkan/implicit_layer.d/
!cat /etc/vulkan/implicit_layer.d/nvidia_layers.json
!sudo mkdir -p /usr/share/glvnd/egl_vendor.d # Create dir if it doesn't exist
!echo '{ "file_format_version" : "1.0.0", "ICD" : { "library_path" : "libEGL_nvidia.so.0" } }' > /usr/share/glvnd/egl_vendor.d/10_nvidia.json
!cat /usr/share/glvnd/egl_vendor.d/10_nvidia.json
!sudo apt-get install vulkan-utils
!mkdir -p /tmp/runtime # Create directory
!export XDG_RUNTIME_DIR=/tmp/runtime # Set environment variable
!vulkaninfo
Now I'm getting
error: XDG_RUNTIME_DIR not set in the environment.
/build/vulkan-tools-KEbD_A/vulkan-tools-1.2.131.1+dfsg1/vulkaninfo/vulkaninfo.h:926: failed with ERROR_UNKNOWN
Any suggestions?
from maniskill.
Also, getting
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
[<ipython-input-67-30d5f10bdeda>](https://localhost:8080/#) in <cell line: 19>()
17
18 # create an environment with our configs and then reset to a clean state
---> 19 env = gym.make(env_id, obs_mode=obs_mode, reward_mode=reward_mode, control_mode=control_mode)
20 obs = env.reset()
21 print("Action Space:", env.action_space)
11 frames
[/usr/local/lib/python3.10/dist-packages/mani_skill2/sensors/camera.py](https://localhost:8080/#) in __init__(self, camera_cfg, scene, renderer_type, articulation)
141 # Add camera
142 if self.actor is None:
--> 143 self.camera = scene.add_camera(
144 camera_cfg.uid,
145 camera_cfg.width,
RuntimeError: copmileToSpirv: failed to compile shader
from maniskill.
I will be out today, I should be able to push a proper fix by tomorrow hopefully. One thing you could try first is just make sure you follow all steps in the trouble shooting document and make sure to reset the kernel.
from maniskill.
I will be out today, I should be able to push a proper fix by tomorrow hopefully. One thing you could try first is just make sure you follow all steps in the trouble shooting document and make sure to reset the kernel.
Thanks so much for the quick reply. I did follow the troubleshooting section to copy the missing files here
https://github.com/haosulab/ManiSkill2/issues/82#issuecomment-1526576361
from maniskill.
Related Issues (20)
- [Question/Bug] Size Mismatch for actor_mean Runtime Error HOT 2
- How to take pictures from different cameras? HOT 5
- Record trajectories ray-tracing HOT 7
- [Question] How to load in truly randomized YCB objects each time HOT 3
- Error with motion planning: ManiSkill must have unique names HOT 1
- How to get camera extrinsic and intrinsic parameter? HOT 2
- How to get all environment IDs of ReplicaCAD and AI2THOR? HOT 12
- [Question] Color randomization as in ManiSkillv2 HOT 8
- Cuda kernel init errors caused by massive number of objects being spawned at 0 during reconfiguration
- Regarding the visualization error issue and the parallelization problem in Maniskill3. HOT 2
- Articulation object - bug in get_net_contact_forces with multiple link names HOT 1
- set_qf doesn't appear to control the robot
- [Feature] Add a DAPG baseline HOT 4
- Segmentation fault (core dumped) HOT 4
- Can I scale a loaded actor without changing its shape? HOT 3
- [Bug] joint delta pos to joint pos control conversion has 0 success HOT 3
- Robot control in ArchitecTHOR_SceneManipulation-v1 HOT 4
- Old ManiSkill2 Vulkan Installation Page Broken HOT 1
- [Docs] Modify PPO, SAC, RLPD, and RFCL baselines to report the same metrics where possible for easy comparison
- [Feature] Add in vectorized TDMPC-2 Baseline
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 maniskill.