Git Product home page Git Product logo

gaussian_splatting_3d's People

Contributors

heheyas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gaussian_splatting_3d's Issues

obj

Can I get a obj format?

Torch 2 or Torch 1?

Hi!

I am trying to setup the repo but when I run build.sh, I get some errors related to the torch c++ header files and files inside the pytorch installation directory of the conda env:

/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/core/dispatch/Dispatcher.h:593:6: warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17’
  593 |   if constexpr (num_boxed_args != 0) {
      |      ^~~~~~~~~
In file included from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:4,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
                 from /home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/include/common.h:19,
                 from /home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/debug.h:1,
                 from /home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/bindings.cpp:1:
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/activation.h: In lambda function:
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:56:8: warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17’
   56 |     if constexpr (!at::should_include_kernel_dtype(   \
      |        ^~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:221:7: note: in definition of macro ‘AT_DISPATCH_SWITCH’
  221 |       __VA_ARGS__                                                           \
      |       ^~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:5: note: in expansion of macro ‘AT_PRIVATE_CHECK_SELECTIVE_BUILD’
   68 |     AT_PRIVATE_CHECK_SELECTIVE_BUILD(enum_type);                        \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:74:3: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’
   74 |   AT_PRIVATE_CASE_TYPE_USING_HINT(enum_type, scalar_t, __VA_ARGS__)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:233:3: note: in expansion of macro ‘AT_DISPATCH_CASE’
  233 |   AT_DISPATCH_CASE(at::ScalarType::Double, __VA_ARGS__) \
      |   ^~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:237:34: note: in expansion of macro ‘AT_DISPATCH_CASE_FLOATING_TYPES’
  237 |   AT_DISPATCH_SWITCH(TYPE, NAME, AT_DISPATCH_CASE_FLOATING_TYPES(__VA_ARGS__))
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/activation.h:895:27: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’
  895 |     attn_output_weights = AT_DISPATCH_FLOATING_TYPES(
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:56:8: warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17’
   56 |     if constexpr (!at::should_include_kernel_dtype(   \
      |        ^~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:221:7: note: in definition of macro ‘AT_DISPATCH_SWITCH’
  221 |       __VA_ARGS__                                                           \
      |       ^~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:5: note: in expansion of macro ‘AT_PRIVATE_CHECK_SELECTIVE_BUILD’
   68 |     AT_PRIVATE_CHECK_SELECTIVE_BUILD(enum_type);                        \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:74:3: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’
   74 |   AT_PRIVATE_CASE_TYPE_USING_HINT(enum_type, scalar_t, __VA_ARGS__)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:234:3: note: in expansion of macro ‘AT_DISPATCH_CASE’
  234 |   AT_DISPATCH_CASE(at::ScalarType::Float, __VA_ARGS__)
      |   ^~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:237:34: note: in expansion of macro ‘AT_DISPATCH_CASE_FLOATING_TYPES’
  237 |   AT_DISPATCH_SWITCH(TYPE, NAME, AT_DISPATCH_CASE_FLOATING_TYPES(__VA_ARGS__))
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/activation.h:895:27: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’
  895 |     attn_output_weights = AT_DISPATCH_FLOATING_TYPES(
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/bindings.cpp:1:
/home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/debug.h: In function ‘void check_tiledepth_host(size_t, int*, double*)’:
/home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/debug.h:6:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
    6 |   printf("N : %d\n", N);
      |               ~^     ~
      |                |     |
      |                int   size_t {aka long unsigned int}
      |               %ld
/home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/debug.h:10:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   10 |     for (size_t j = start; j < end - 1; j++) {
      |                            ~~^~~~~~~~~
/home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/debug.h:12:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
   12 |         printf("[DEBUG] [CUDA] tile %d==%d n = %d depth = %f\n", i,
      |                                     ~^                           ~
      |                                      |                           |
      |                                      int                         size_t {aka long unsigned int}
      |                                     %ld
/home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/debug.h:20:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
   20 |       printf("[DEBUG] [CUDA] tile %d==%d n = %d depth = %f\n", i,
      |                                   ~^                           ~
      |                                    |                           |
      |                                    int                         size_t {aka long unsigned int}
      |                                   %ld
In file included from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/c10/util/StringUtil.h:6,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/c10/util/Exception.h:5,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/c10/core/Device.h:5,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:11,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/autograd/variable.h:6,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
                 from /home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/include/common.h:19,
                 from /home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/debug.h:1,
                 from /home/n/gaussian_splatting/gaussian_splatting_3d/gs/src/bindings.cpp:1:
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/c10/util/string_view.h: In instantiation of ‘std::basic_ostream<CharT>& c10::operator<<(std::basic_ostream<CharT>&, c10::basic_string_view<CharT>) [with CharT = char]’:
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/c10/util/typeid.h:600:34:   required from here
/home/n/anaconda3/envs/gaussian_splatting_3d/lib/python3.10/site-packages/torch/include/c10/util/string_view.h:577:35: error: ‘std_string_type’ was not declared in this scope
  577 |   return stream << std_string_type(sv.data(), sv.size());
      |                    ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

I am thinking if this has to do with the C++ 14 dependency or the torch version themselves? Also please clarify which version of CUDA, Pytorch, CMAKE, NINJA and G++ you are using. Can you please help? Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.