-
Notifications
You must be signed in to change notification settings - Fork 44
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
An error: Segmentation fault #18
Comments
Hi @yangqinhui0423 thanks for using our code!
|
Thanks for your quick answer. |
By the way, I am using wsl2. I don't know if it may make any difference. |
@yangqinhui0423 Thanks for mentioning. That should be the culprit. EasyVolcap supports running natively on Windows so you can just install PyTorch (and OpenGL related packages) to run on Windows. (Install PyTorch and run Originally the GUI was developed for WSL2 (yes I was also using WSL2) but I found that Nvidia doesn't support CUDA-GL interop on WSL, which means we can't efficiently copy the PyTorch image tensors (on CUDA) onto the screen so I disabled supported for WSL2. I will add back the compatability mode (copying to to Numpy array (on main memory) and then upload to OpenGL) and put out a warning for users on WSL2. |
Thanks for your answer, I will try on Windows instead. |
I tried on Windows anaconda3. I just follow the instruction here https://github.com/zju3dv/EasyVolcap/blob/main/docs/design/install.md I followed the solution in the similar question #13 but it doesn't work. |
@yangqinhui0423 Hi, these kind of errors are usually caused by failed imports, could you check whether there are other exceptions thrown above? |
@yangqinhui0423 I pushed an update for better support on WSL2.
|
Yeah, thanks for your advice. I checked and installed the package I needed. |
Glad to have helped! :D |
I will try on WSL2 later and add answers. |
Are you refering to trained gaussian models? We currently only support pretrained models from EasyVolcap (.npz or .pt) since we use different activations than the original gaussian implementation. The gui options for adding such things are under the
All GUI controls are defined in this file: I've already implemented some basic mouse and botton controls (they're currently not documented since I update and expand them regularly) so it should be fairly simple to add your own control. In those methods, the camera can be accessed by |
Hi, @yangqinhui0423 I updated the model loader. Now directly loading pretrained gaussians is supported: In the GUI, click Here's a camera parameter that looks good enough on the Garden scene: just copy it and paste when you're focusing on the EasyVolcap window. {"H":768,"W":1366,"K":[[1266.0,0.0,683.0],[0.0,1266.0,384.0],[0.0,0.0,1.0]],"R":[[-0.9540951251983643,-0.16322608292102814,0.2511170506477356],[0.1015067845582962,0.6126022934913635,0.7838568091392517],[-0.28178074955940247,0.7733640074729919,-0.5679122805595398]],"T":[[0.3130389451980591],[-1.5713047981262207],[8.376514434814453]],"n":0.019999999552965164,"f":20.0,"t":0.0,"v":0.0,"bounds":[[-10.0,-10.0,-10.0],[10.0,10.0,10.0]],"mass":0.10000000149011612,"moment_of_inertia":0.10000000149011612,"movement_force":1.0,"movement_torque":1.0,"movement_speed":1.0,"origin":[0.0,0.0,0.0],"world_up":[0.0,-1.0,-0.6499999761581421]} |
I have tried WSL2 and it works well. Thanks for your update! |
Hey,I wonder if ".pth” file is useable. I just want to load my own pretrained model ".pth” file(which is got from my own method, not from the EasyVolcap instructions) but it seems to have failed. During handling of the above exception, another exception occurred: ╭─────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────╮ |
Hey, authors! Thanks for your excellent work.
I followed the instructions in https://github.com/zju3dv/EasyVolcap#running-3dgst
But when I run "evc -t gui -c configs/exps/gaussiant/gaussiant_${expname}.yaml,configs/specs/superm.yaml", I got error as follows:
(easyvolcap1) ciciyang@DESKTOP-RVT20TR:~/code/EasyVolcap-main$ evc -t gui -c configs/exps/gaussiant/gaussiant_${expname}.yaml,configs/specs/superm.yaml
2024-01-20 11:24:44.302034 easyvolcap.models -> : Failed to import submodule init.py:9
volumetric_video_model.py:Zone.Identifier of
/home/ciciyang/code/EasyVolcap-main/easyvolcap/models/init.py
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ /home/ciciyang/code/EasyVolcap-main/easyvolcap/models/init.py:6 in │
│ │
│ ❱ 6 │ │ exec(f'from . import {module}') │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ from . import volumetric_video_model.py:Zone.Identifier │
│ ▲ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
SyntaxError: invalid syntax
......
2024-01-20 11:24:45.834482 easyvolcap.scripts.main -> preflight: Starting experiment: main.py:80
gaussiant_actor1_4_subseq, command: gui
2024-01-20 11:24:49.377692 easyvolcap.runners.visualizers.volumetric_video_visualizer volumetric_video_visualizer.py:78
-> init: Visualization output:
data/result/gaussiant_actor1_4_subseq/{RENDER,DEPTH,ALPHA}
2024-01-20 11:24:49.380925 easyvolcap.runners.recorders -> init: Saved config file to recorders.py:105
data/record/gaussiant_actor1_4_subseq/gaussiant_actor1_4_subseq_1705721089.y
aml
2024-01-20 11:24:58.594554 easyvolcap.utils.net_utils -> load_network: Loaded network net_utils.py:428
data/trained_model/gaussiant_actor1_4_subseq/latest.npz at epoch -1
Segmentation fault
I am confused about the "Segmentation fault", can you give me any advice?
The text was updated successfully, but these errors were encountered: