rasmushaugaard / surfemb

SurfEmb (CVPR 2022)
https://surfemb.github.io/
MIT License
77 stars 17 forks source link

About the instantiation of renderer #14

Closed Whishing closed 2 years ago

Whishing commented 2 years ago

I'm trying to use your render code for depth image generation. Although I have set 'OPENLAS_NUM_THREADS' etc, segmentation fault encounter in work always occurs if num_worker>0, do you have any idea about this?

rasmushaugaard commented 2 years ago

It's not something I've encountered. Do you have a minimal reproducible example?

Whishing commented 2 years ago

It's not something I've encountered. Do you have a minimal reproducible example?

It's becasue I have instanced the renderer before the instantiation in the worker to calculate some parameters, but I don't know why. Make renderer None before initialize the dataloader also does not work.