weigao95 / surfelwarp

SurfelWarp: Efficient Non-Volumetric Dynamic Reconstruction
https://sites.google.com/view/surfelwarp/home
BSD 3-Clause "New" or "Revised" License
276 stars 71 forks source link

The pretrained gpc model file is missing? #57

Closed xiayeqingfeng closed 3 years ago

xiayeqingfeng commented 3 years ago

First, thank you so much for your sharing. I try to compile and run the code on Windows.

Today I manage to build it successfully but when I start the program, it fails on creating the SurfelWarpSerial class instance. Then I notice that there's no file named sintel_small_speed in the targeted directory gpc_model_path.

How can I fix this problem? Than you in advance!

xiayeqingfeng commented 3 years ago

After reading the provided note I realize that the model is provided by opencv_contrib. I download the gpc model and still can't make it work, this is how exactly I did:

  1. download the gpc model "forest_sintel_small_SPEED.yml.gz" from this website
  2. unzip the file and get the yml file "forest_sintel_small_SPEED.yml"
  3. rename this yml file as "sintel_small_speed" so that the program can read from.

Did I do it the right way? Or should I download the model from somewhere else? Thanks!

xiayeqingfeng commented 3 years ago

Sorry for my careless... I notice that there a link to download the required gpc model file in the README. Now the gpc model is loaded as expected.

But why the previously downloaded gpc file can't be loaded still confuse me...