lvjiahui / DRT

SIGGRAPH Asia 2020: Differentiable Refraction-Tracing for Mesh Reconstruction of Transparent Objects
71 stars 9 forks source link

An error about Optix #2

Open Jason-YJ opened 3 years ago

Jason-YJ commented 3 years ago

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 commented 3 years ago

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

Jason-YJ commented 3 years ago

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 commented 3 years ago

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

Jason-YJ commented 3 years ago

Sorry but I give up it since then.

ChauChorHim commented 2 years ago

@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