Skip to content
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 about Optix #2

Open
Jason-YJ opened this issue Dec 20, 2020 · 5 comments
Open

An error about Optix #2

Jason-YJ opened this issue Dec 20, 2020 · 5 comments

Comments

@Jason-YJ
Copy link

I've download NVIDIA-OptiX 6.5.0, and edited config.py for the path to library. However, when running optim.py, an error occurred like:
image

And here is my file lists:
image

I wonder if I need to install Optix? (I've searched for it but can't get a uniform solution)

@lvjiahui
Copy link
Owner

Hi Jason-YJ,
Can you share your config.py ?

@Jason-YJ
Copy link
Author

Jason-YJ commented Dec 21, 2020

Hi Jason-YJ,
Can you share your config.py ?

`

ABSOLUTE path to your optix libary

optix_include = "/hdd/master3/project/shenzhen-transparent/NVIDIA-OptiX-SDK-6.5.0-linux64/include"
optix_ld = "/hdd/master3/project/shenzhen-transparent/NVIDIA-OptiX-SDK-6.5.0-linux64/lib64"

cmd to call meshlabserver

meshlabserver_cmd = "DISPLAY=:0 "

if you are using a headless server, you may need to prepend DISPLAY=:0

meshlabserver_cmd = "DISPLAY=:0 " + meshlabserver_cmd

choose a directory to exchange temporary mesh file with meshlabserver

tmp_path = "/dev/shm/DR/"

path to hdf5 file and visual hull mesh

data_path = "./data/"
result_path = "./result/"

HyperParams = {
# available model:
# hand, mouse, monkey, horse, dog, rabbit, tiger, pig
'name' : 'pig',
'IOR' : 1.4723,
'Pass' : 20, # num of optimization stages
'Iters' : 200, # in each stage

# loss weight
"ray_w" : 40,
"sm_w": 0.08,
# "sm_w": 0.02,
"vh_w": 2e-3,

# optimization parameters
"momentum": 0.95,
"start_lr": 0.1,
"lr_decay": 0.5,
"start_len": 10, # remesh target length
"end_len": 1, # remesh target length
# "end_len": 0.5, 
'num_view': 72, # used for refraction loss
            }`

I run it on the lab server so maybe issues about meshlabserver may also contribute to the problem?
PS: I am new to the github and I don't know why this answer shows in such strange format...

@LRussianStand
Copy link

LRussianStand commented Jun 4, 2021

do you solve this question? I have the same question as you
this is my config.py
image

@Jason-YJ
Copy link
Author

Jason-YJ commented Jun 4, 2021

Sorry but I give up it since then.

@ChauChorHim
Copy link

@Jason-YJ @LRussianStand It seems that the shared library is not at the /usr/lib/. Please try with this:
sudo ln -s /path/to/liboptix_prime.so.6.5.0 /usr/lib
sudo ldconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants