DRT icon indicating copy to clipboard operation
DRT copied to clipboard

An error about Optix

Open Jason-YJ opened this issue 4 years ago • 5 comments

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)

Jason-YJ avatar Dec 20 '20 02:12 Jason-YJ

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

lvjiahui avatar Dec 20 '20 10:12 lvjiahui

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...

Jason-YJ avatar Dec 21 '20 02:12 Jason-YJ

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

LRussianStand avatar Jun 04 '21 03:06 LRussianStand

Sorry but I give up it since then.

Jason-YJ avatar Jun 04 '21 10:06 Jason-YJ

@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

ChauChorHim avatar Nov 13 '21 17:11 ChauChorHim